servo problem
Thirteeneven
Posts: 11
Hi
I have a parallax standard servo that seems try to correct itself when it gets to it needed position which makes it look like its vibrating. Is this normal, and how do I fix it? This is my code
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
FOR counter = 1 TO 150
PULSOUT 13, 780
PAUSE 5
NEXT
start:
FOR counter = 1 TO 150
PULSOUT 13, 1000
PAUSE 5
NEXT
FOR counter = 1 TO 150
PULSOUT 13, 550
PAUSE 5
NEXT
STOP
josh
Post Edited (Thirteeneven) : 8/25/2009 2:34:51 PM GMT
I have a parallax standard servo that seems try to correct itself when it gets to it needed position which makes it look like its vibrating. Is this normal, and how do I fix it? This is my code
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
FOR counter = 1 TO 150
PULSOUT 13, 780
PAUSE 5
NEXT
start:
FOR counter = 1 TO 150
PULSOUT 13, 1000
PAUSE 5
NEXT
FOR counter = 1 TO 150
PULSOUT 13, 550
PAUSE 5
NEXT
STOP
josh
Post Edited (Thirteeneven) : 8/25/2009 2:34:51 PM GMT
Comments
Servos are designed for the control pulses to occur about 50 times a second (roughly 20ms apart).