I am trying to control a servo with an 16F877. Scope shows 1.5ms
@5v, 18.5ms @0v. Servo just jitters its way clockwise (and accelerates)
til it hits the stop and keeps on jittering. I have a separate 6v ps
for the servo. Signal wire has a 4.7k pullup. I have tried various
values from .5ms-2ms for the pulse and 17-20ms for the pause. Same
results. Thought perhaps the batteries should have a common ground. If
I do that, tho, the scope shows 1.5ms @5v, 18.5ms @2v and the servo
doesn't do anything.
-----BEGIN PGP SIGNED MESSAGE-----
>values from .5ms-2ms for the pulse and 17-20ms for the pause. Same
>results. Thought perhaps the batteries should have a common ground. If
>I do that, tho, the scope shows 1.5ms @5v, 18.5ms @2v and the servo
>doesn't do anything.
> Any thoughts?
The servo power supply absolutely MUST have a common ground with the
Your observations tell me that the pullup is not needed.
Try a 1k series resistor between the micro and the servo.
Are you an ISP? Tired of spam?
http://www.spamwhack.com A pre-emptive strike against spam!
Where's Dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
-----END PGP SIGNATURE-----
anyone got program for controling 8 servo at one time
On Wed, 17 May 2000, Soon Lee wrote:
> anyone got program for controling 8 servo at one time
Yes... check the PICLIST file upload section on the archive site. I
uploaded servotst.zip, which is set up for four but very easily modified
for eight servos. The timing is also easy to modify for higher
resolution, especially if you use a higher frequency xtal. Source is in C
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
-- Isaac Asimov
More... (looser matching)
- Last day of these posts
- In 2000
, 2001 only
- New search...