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.
|Published (Last):||12 October 2007|
|PDF File Size:||10.98 Mb|
|ePub File Size:||14.42 Mb|
|Price:||Free* [*Free Regsitration Required]|
The fact that my frequency and duty had to be changeable made it a bit more confusing for me. I mean how to find the values for. It should be at least enough to get you started.
An 18F with two pots, a switch, and the FETs with drivers. I don’t have the 18F or Microchip motor control board, but this works on the 18F I am a bit confused. I mapped out the formulas in Excel, but I am still having trouble getting my head around the details. I use the “Hello World” out the serial port test.
Subtract 1 for 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.
I tried according to application note but to no avail. It sure is a cool device.
The switch controls if the output is pulsed Datsheet or cycles both ways. I can control the Freq just fine, but it makes a mess of the duty. That said, there still seems to be a bit of mystery surrounding it’s use, at least to me. I mean it’s really worth to understand this special function micro which i will face the App soon or later.
Hi, This works for me on 18F, should be the same. I was wondering if someone has done same thing in pic basic i.
PIC18F – Microcontrollers and Processors – Microcontrollers and Processors
I never managed to get QEI module going in velocity mode. I’m using the 18F too. How to find this using equation i use this equ since it’s free running mode here. It has a CD that conatins source code in assembly. I can see that there is a dependency with the PWM resolution, but I’m not sure how to manage it.
Using Darrel’s interupt routines I managed to get motor controller for my robot working, with PID filter and all. To work with the 18F I wish I could help but I am using 18r4431 18F in a completely different manner. Ramps up, then down. Now, if I can just find more time to play with it.
This ‘is prevented by reading the high byte two times and compare the two readings. The rest seems yeeha as it’s taught in ” MTR” from Microchip. I datashet 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.
Basically the module is counter and two comparators. I haven’t played much with this particular feature. Isn’t that an awesome controller? But 18f44431 clear enough for me to understand. I will definately incorporate. It’s a dayasheet uC! Now you need to know the PWM resolution to know the range of duty cycle bits. Resolution is the number of bits you have to control the duty cycle. Thanks a lot Bruce. On the pin version, forget using RE3 as an input.