Shop OBEX P1 Docs P2 Docs Learn Events
servo motor wont work — Parallax Forums

servo motor wont work

boudiboudi Posts: 7
edited 2008-01-13 18:50 in Robotics
hello there i followed the book and i was adjusting the servo - motors with the first i had no problem for setting it with pulsout 750 so it wont move, but i cant adjust my other servo motor i tried everything and my program is correct the servo wont stop turning
do i need to replace the servo - motor ???
thx

btw the program i use to adjust the servo:
do
pulsout 12, 750
loop

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-01-12 11:46
    boudi -

    We have to ask a few question before we can offer any significant help.

    Are these ordinary R/C servos, or are they R/C servos modified for continuous rotation. If the latter, were they purchased that way, or did you modify them yourself?

    Which model Stamp are you using, and how are the servos being powered? Are they being powered by the Stamp's regulator, or by a separate power source? If the latter, do you have all the grounds connected together?

    Lastly, some servos don't have their midband or "center" right at 1.5 ms or a value of 750. Sometimes you have to vary it slightly one way or the other. You mght try 740 or 760 and see if either of those values improve things. My guess is that one of those values should make it significantly worse. If so, try varying the number around the OTHER value.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-12 16:02
    With some servos, the adjustment can be somewhat critical. Just a very slight movement to one side or the other will cause the servo to continue to move. Make sure the screwdriver actually goes into the slot in the adjustment potentiometer in the servo.
  • FranklinFranklin Posts: 4,747
    edited 2008-01-12 17:57
    It might help if you put a PAUSE 20 in your loop.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-01-13 18:50
    Franklin is right…You’re over-driving the servo…That will cause erratic behavior and jitter. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.