Thread: servo question
View Single Post
  #3   Spotlight this post!  
Unread 23-02-2009, 09:01
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: servo question

Quote:
Originally Posted by miniman View Post
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.
Reply With Quote