using different servos?
blink13
Posts: 65
ive jus used some of the code from the What's a Microcontoller book·to make a servo rotate in using a variable resistor, and i was wondering if i were to change to a more powerfull servo would i have to alter my code?
·
·
Comments
·· You should if the servo is the same type, i.e. a standard unmodified hobby servo.· Most have the same general range of PULSOUT values for control.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Most servo's use the "1 mSec pulse full left, 2 mSec pulse full right, 1.5 mSec pulse center" and "Repeat pulse every 20 to 50 mSec" control algorithm. This means you don't need to change your code when you change a servo.
"rotate a 5 pound object" believe it or not is a vague statement. What you need to do is determine the amount of torque you require to rotate the object. Servo's are rated in the amount of torque they can put out.
Torque is force times displacement. If your 5-pound object were balanced in the middle of a plate, on mostly frictionless bearings, and your servo was connected to the middle of the plate, it would take very little torque to rotate it. This would be because the displacement of the mass from the center of rotation would be effectively zero.
Torque: 233 oz-in @ 4.8V - 292 oz-in @ 6V
Now, Torque is Force X Displacement.
292 oz-in == 18.25 Lb-inch. So, if you had a 1-inch pully, this servo could in fact lift 18 pounds (slowly) with LOTS of current (somehow, they don't list full load current, go figure) at 6 volts.