Servo Spins Continously
Hello, I am trying to get a servo working on my Parallax REV G Propeller board and all it does is spin. I am using the serial REV B servo driver and the demo spin files from: http://obex.parallax.com/objects/51/ The servo spins continuously no matter if the input port is connected or not. Any suggestions or directions?
Comments
Welcome to the Forums!!
Does the power supply to the Servo share the same ground as the power supply to your Propeller?
Also, I know you made reference to the code that you are using, but if you can provide the exact code that you are trying to run that would be of better help.
there is a small hole for a small screwdriver just above where the cable goes into the servo.
turn it SLOWLY and see if that helps...
-Tommy
A typical continuous-spin servo hack is simply to:
1. Remove the end-stops inside the servo that prevent the servo output shaft from rotating continuously.
2. Remove the position feedback potentiometer and replace it with a resistor network for an equivalent center value.
The servo will then only react to pulses:
* 1ms to <1.5ms: continuous rotation in one direction
* 1.5ms: stopped
* >1.5ms to 2ms: continuous rotation in the other direction
This hack has the disadvantage of removing position feedback, so the servo can't hold a position except by geartrain resistance.