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: Daizragore Moogushicage
Country: Nepal
Language: English (Spanish)
Genre: Medical
Published (Last): 7 January 2011
Pages: 321
PDF File Size: 4.10 Mb
ePub File Size: 20.25 Mb
ISBN: 551-2-88718-845-1
Downloads: 12396
Price: Free* [*Free Regsitration Required]
Uploader: Tojagal

The Quadrature-Encoder isn’t very strange Not yet at least. An 18F with two pots, a switch, and the FETs with drivers. Resolution is the datsaheet of bits you have to control the duty cycle.

I was wondering if someone has done same thing in pic basic i. That said, there still seems to be a bit of mystery surrounding it’s use, at least to me. I tried according to application note but to no avail. I’m not understanding the interaction of the frequency to the Duty.

The more we pound on this and post the results, the better we can get a handle on it.


I will definately incorporate. I mean how to find the values for. Now, if I can just find more time to play with it. When the counter starts at 0 the output is set, when it “hits” the value of the first comparator the outputs is cleared and dataheet the counter “hits” the value of the second compartor the PWM cycle starts over.


MOVFF is move file to file. Now you need to know the PWM 18d4431 to know the range of duty cycle bits. I made a few attempts to begin with but could never quite figure it out so I went for my own velocity calcs newPos-oldPos.

Bruce, That’s a super start to a beginner like me.

Equation ‘as shown in the data sheet’ doesn’t produce the same figures for PWM resolution shown in Table This should be more than enough for me to get started. Here is my code.

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

Isn’t that an awesome controller? It sure is a cool device. I’m using the 18F too. I mean it’s really worth to understand this special function micro which i will face the App soon or later. While Dataasheet statement might sound like just so much talk to some I vouch for his opinion especially if you are moving to 18F chips for the first few times, I had an amazingly difficult time just getting this chip to blink the LED, owing to programmer issues, config issues.

Subtract 1 for Great tip on counter overflow.

PIC18F – Microcontrollers and Processors – Microcontrollers and Processors

I never managed to get QEI module going in velocity mode. I’m trying to make a generic H-bridge for low frequencies and keep running into the wall. Hi Bruce, Sorry if i pester you a lot. That concept started to peek through the fog eventually. But,i gotta some problem 1f84431 the PWM Period value.


Well,it drive me crazy to know about it. I am a bit confused.

LowByte hserout [“D”,dec duty,”F”,dec Freq] goto Main ‘ Loop end Like I said, I’m going to have to study my own work just to understand it better, but at least it works like it is suppose to. Hi, This works for me on 18F, should be the same. It has a CD that conatins source 18f44311 in assembly. How to find this datasgeet equation i use this equ since it’s free running mode here.

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. Copyright c Controlled Surroundings Inc. Could you guide me how to do this. The switch controls if the output is pulsed DC or cycles 18f44431 ways. That was a few weeks of hair ddatasheet.

Thanks a lot Bruce. On the pin version, forget using RE3 as an input.

Not the PWM frequency. This change will be notified in a datasheet’s DSB.