There is no jitter between pulses as the timer match condition finishes one pulse and starts the next. The processor has up to the minimum pulse width to service the interrupt and set up the next match. The only jitter would be the start of the pulse train and that would be whatever jitter you have in your system time. If, for example, you had a 1khz clock you could call "StartRCout()" from the interrupt handler every 24 ticks and have very low jitter. But, besides that, Servos are pretty insensitive to the pulse repetition rate. Anything between 20-60hz would be fine. ----------- Larry Barello www.barello.net _____ From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Martin Jay McKee Sent: Saturday, November 12, 2005 11:32 AM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Servo Control Without PWM, Was: Phase and Frequency Correct PWM on a Mega 8 >>Also if you want to see how to use that technique to get 8 r/c pulse outputs from two pins, look at: >>http://www.barello.net/Papers/AVR%20RC%20output.pdf I saw this a while ago and I was meaning to ask (never got around to it) how smoothly it works. It seems that the time between pulses would vary slightly and so allow for the possibility of jitter. Has that shown up at all in use? Martin Jay McKee SPONSORED LINKS Avr <http://groups.yahoo.com/gads?t=ms&k=Avr+microcontroller&w1=Avr+microcontrol ler&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s =98&.sig=g86_HKNqER2uDVjW9k5qxA> microcontroller Microcontrollers <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Avr+microcontroller &w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=98 &.sig=oFcL4RTYUPZgTb9KnRA0qg> Pic <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Avr+microcontro ller&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4& s=98&.sig=uoydrrm9rLXWB_bzKsqX6g> microcontrollers 8051 <http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Avr+microcontrol ler&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s =98&.sig=F6bcXXU2SOtJ5tDcWnBGRQ> microprocessor _____ YAHOO! GROUPS LINKS * Visit your group "AVR-Chat <http://groups.yahoo.com/group/AVR-Chat> " on the web. * To unsubscribe from this group, send an email to: AVR-Chat-unsubscribe@yahoogroups.com <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of <http://docs.yahoo.com/info/terms/> Service. _____
Message
RE: [AVR-Chat] Servo Control Without PWM, Was: Phase and Frequency Correct PWM on a Mega 8
2005-11-12 by Larry Barello
Attachments
- No local attachments were found for this message.