Hi There is a web page by Chuck McManis that describes hooking a Futaba radio to a variable speed reversible motor. It uses a 16C54 but the code should be easy to migrate to a 16F84. Check at http://www.mcmanis.com/chuck/robotics/projects/servo.html It gives the code and a schematic for the H driver. The code appears to be well commented. Dave Mumert ----- Original Message ----- From: "Herbert Graf" To: Sent: Wednesday, August 08, 2001 9:22 AM Subject: [PIC]: Building a Servo > My brother has decided to build a gas powered remote controlled car for his > "let's not get bored" summer project and of course I have been drafted for > the electronics portion. The car (which BTW isn't your typical radio > controlled car, it will be about 4 feet long!) will use a Futaba transmitter > and receiver designed for model aircraft. As some of you may know this sort > of radio system usually uses servos and therefore the output of the receiver > is a form of PWM, in this case the receiver outputs a pulse, whose width > varies from 1ms to 2ms depending on the position of the corresponding stick, > and this process repeats every 20ms. I have decided to use a PIC as my > interface beween the motor drives and this receiver. I was wondering if > anybody has code for this sort of thing, it sounds pretty simple but if > someone has already done something like this there isn't much point in me > starting from scratch. I have searched the web and the PIC LIST archive for > pointers but all I could find is code for DRIVING a servo, obviously this > isn't what I need! :) Thanks in advance for any pointers. TTYL > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu