At 12:32 31/03/1997 -0500, you wrote: > > I am working on my first (complex) PIC program. Using a PIC16c57 >at 4MHZ I am sampling the servo outputs from a R/C Reciver to convert them >to PWM signals for 2 motors and using steps from the other 2 channels for >non PWM stuff. > Check the following URL: ftp://ftp.luth.se/pub/misc/rc/plans/electro You will find a project named RX.ZIP or RXLIGHT Note this program was completely simulated with UMPS before an SMD OTP implementation on a PIC16C57: http://idls.izarbel.tm.fr/entp/techer/P01.HTM I do exactly the same thing 2 years ago but for a FM receiver and using also a 16C57. Main problem you will have, will be: - sampling problem (I was using a 10 microsecond loop) - servo jitter due to sampling rate, even if you use a 1 microsecond loop there will be always jitter on servo output. This is mainly due to the time quantification and can be avoid a little using a numerical filter. I implement a kind of filter in my receiver software. The project contains an english WORD document which explain that. Best regards, Philippe. +--------------------------------------------------------+ | Virtual Micro Design | | Try the new generation microcontroller simulator | | E-Mail: p.techer@idls.izarbel.tm.fr | | URL: http://idls.izarbel.tm.fr/entp/techer/P01.HTM | +--------------------------------------------------------+