piclist 2001\02\11\143848a >
Thread: PIC16F84/16F877 ISR SERVO CONTROL
www.piclist.com/techref/microchip/ios.htm?key=servo
flavicon
face BY : David VanHorn email (remove spam text)



>
>I didn't realise that you could drive 2 servos with a 16F84, so do you need
>to add say 2
>hardware timers etc.?
>
>Could you kindly provide some sample code snippets and schematics for a
>newbie?

One timer.

You update each servo in turn. You're out of servos when you're out of pins :)
(And you can get clever about that)

The servos normally get a pulse about every 20mS.
So, you can output as many as 10 servos without them noticing, simply by
taking turns.
You can do it in paralell too, but that's a little harder.


--
Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


<4.3.2.7.2.20010211143444.00d45990@mail.cedar.net>

In reply to: <009d01c0945f$2338c1a0$2169ff3e@necdirect>
See also: www.piclist.com/techref/microchip/ios.htm?key=servo
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) PIC16F84/16F877 ISR SERVO CONTROL

month overview.

new search...