Datasheet 18F – Ebook download as PDF File .pdf), Text File .txt) or read book online. PDA. View Full Version: 18F Quaduature Encoder This change will be notified in a datasheet’s () future update. PIC18FI/P Microchip Technology 8-bit Microcontrollers – MCU 16KB RAM 34 I/O datasheet, inventory, & pricing.

Author: Dataur Kill
Country: Cayman Islands
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 27 January 2013
Pages: 80
PDF File Size: 2.19 Mb
ePub File Size: 9.25 Mb
ISBN: 887-1-53311-695-8
Downloads: 56121
Price: Free* [*Free Regsitration Required]
Uploader: Zuramar

Isn’t that an awesome controller? I can control the Freq just fine, but it makes a mess of the duty. Basically the module is counter and two comparators. Equation ‘as shown in the data sheet’ doesn’t produce the same figures for PWM resolution shown in Table I made dqtasheet few attempts to begin with but could never quite figure it out so I went for my own velocity calcs newPos-oldPos.

But anyhow,it’s clear enough for me to understand. I mapped out the formulas in Excel, but I am still having trouble getting my head around the details. An 18F datashet two pots, a switch, and 184f431 FETs with drivers. I mean it’s really worth to understand this special function micro which i will face the App soon or later. I’m trying to make a generic H-bridge for low frequencies and keep running into the wall.


Hi, This works for me on 18F, should be the same.

PIC18F – Microcontrollers and Processors – Microcontrollers and Processors

This ‘is prevented by reading the high byte two times and compare the two readings. Now, if I can just find more time to play with it.

MOVFF is move file dataheet file. Hi Bruce, Sorry if i pester you a lot. That not only tells me that the program is running, but also that the frequency is correct – something that a blinking LED doesn’t do very well.

I mean how to find the values for. The Quadrature-Encoder isn’t very strange The rest seems yeeha as it’s taught in ” MTR” from Microchip. Great tip on counter overflow. That said, there still seems to be a bit of mystery surrounding dattasheet use, at least to me. I know this seems so simple, but it really does ensure you have a few needed things correct before making things more complicated.

Any help with the set up code would be appreciated. How to find this using equation i use this equ since it’s free running mode here. I wish I could help but I am using the 18F in a dattasheet different manner. I tried, and submitted a support ticket to Microchip. I don’t have the 18F or Microchip motor control board, but this works on the 18F Here is my code. This change will be notified in a datasheet’s DSB. Thanks for the explanation Henrik. Copyright c Controlled Surroundings Inc.


PWM Glitch on the 18F2331, 18F2431, 18F4331, and 18F4431 for very low duty cycles

Well,it drive me crazy to know about it. To work with the 18F That was a few weeks of hair pulling!. I don’t fully understand how to plan for it, but I did figure out a relationship in my application and kind of applied a brute force solution. This is part of datasheet and not complete yet.

Thanks for your code although its in assembly. I am a bit confused. I never managed to get QEI module going in velocity mode. Bruce, That’s a super start to a dafasheet like me. Ramps up, then down.

The fact that my frequency and duty had to be changeable made it a bit more confusing for me. But,i gotta some problem with the PWM Period value.