Quote:
Originally Posted by miniman
The 2009 WPI libary comes with a set of commands just for servos in labview and I believe there is a class for controlling servos in C/C++. We used the code for labview to control the servos on the robot with great success, for out "hooks of doom"
If you are looking for a way to control them with out the FRC code; the KOP servos take a signal voltage between 0 and 5 volts, the voltage represents the position of the servo, 0 being full in the first direction, 5 being full in the second direction. (Remember the jumper pin if using the digital sidecar. )
|
They do not work with an analog input(0-5 volts). They expect a digital pulse. PWM = Pulse Width Modulation. I believe 1.5 ms is neutral
The jumper pin on the sidecar provides a constant operating voltage to power the servo.