Shop OBEX P1 Docs P2 Docs Learn Events
Servo accuracy — Parallax Forums

Servo accuracy

ArcJetArcJet Posts: 1
edited 2007-11-30 05:46 in BASIC Stamp
I'm working on Chapter 4 of "What's a Microcontroller" and the servo doesn't seem to be working properly. The code is supposed to make the horn move to 10:00, 02:00, and 12:00, but when I run it, it isn't very accurate. If I was to use a loop to make it repeat the code it would bottom out in just a few cycles. Is this normal?

Thanks!

Comments

  • DJSandbergDJSandberg Posts: 56
    edited 2007-11-30 05:46
    Arcjet,

    That doesn't sound right.· I just wrote a short program to run a servo back and forth and it·appeared to be very accurate and repeatable.· I did have to increase the number of pulses to the servo.· With just 8 pulses in the loop, it would overshoot the position.· At 12, it would overshoot just a bit and come back a to the spot.

    Daryl
Sign In or Register to comment.