>-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >Sent: 14 January 2006 15:28 >To: Microcontroller discussion list - Public. >Subject: Re: [PIC] Detect PWM from an RC Servo > > >Padu wrote: >> Thanks for the example Bob, I don't know why but I had in my >mind that >> the CCP module didn't have enough resolution for this type of signal. > >The CCP module can capture edges to instruction clock >resolution. With a 18F the instruction period is 100nS, >meaning it can resolve the 1-2mS pulse width to 1 part in >5000. Other sources of error probably overshadow that by a >large margin. Cheap RC servos can not repeatably resolve even 1 part in 256 (i.e. 8 bit) IME due to gear backlash and slop in bearings etc. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist