|
Re: servo range of motion
Tux,
Your confusion is based on what a PWM is. For nearly everyone except the radio control crowd, a 50% PWM wave is a square wave. Likewise, a 0% PWM signal is a steady DC signal at the lower rail (usually 0 volts) and 100% is a steady DC signal at the upper rail (usually 5 or 12 volts). I would call this definition "classical".
In the RC world, a 1 ms pulse every 10 milliseconds is neutral, whereas a 0.5 ms pulse is full reverse and 1.5 ms is full forward.
The default for our PWM signals is the RC type. The code example you cited will allow you to create a "classical" PWM signal.
This classical PWM output will not help you get more rotation out of a servo.
Now, let's address your problem:
My suggestion is to tandem two servos together. Just align the axis of rotation and attach the dial of the first servo to the back of the second servo (plastic epoxy would work just fine) and connect both servos to the same RC PWM output via a Y cable. This would give you approximately +/- 180 degrees of rotation versus the +/- 90 you get from one servo and would have been legal by this years rules.
Hope this helps...
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|