servo question
Hi Everyone,
This is probabrly a dumb and easy question but how do it pulsout to a pin that controls a servo motor in both directions? I need the motor to turn one time in both clock wise and counter clocksiwe directions.
Right now it does turn clockwise using : PULSOUT 6,1000
Couterclockwise????
Thanks in advance
This is probabrly a dumb and easy question but how do it pulsout to a pin that controls a servo motor in both directions? I need the motor to turn one time in both clock wise and counter clocksiwe directions.
Right now it does turn clockwise using : PULSOUT 6,1000
Couterclockwise????
Thanks in advance
Comments
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
·· Is this a continuous rotation servo?· If so then you can also find many examples in the "Robotics With The BOE-Bot" manual.· You can find a PDF version of the manual free at the bottom of the page.
http://www.parallax.com/detail.asp?product_id=28125
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Note that 'PULSOUT' on the BS2 uses units of 2 uSec, so "PULSOUT MyPin, 750" would generate a 1.5 mSec pulse, 1000 generates a 2 mSec pulse, and 500 generates a 1 mSec pulse.
Note also you have to repeat the pulse every 20 mSec to 50 mSec.
·· That is assuming the servo is perfectly calibrated (centered).· I have often seen where the servo isn't calibrated and the user is wondering why the 1.5 ms pulse isn't centering the servo, or it will only go in one direction.· The ones we sell have an adjustment screw to center them.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
He has never answered the question as to whether this is a continuous rotation servo or not. If not, it will NEVER reverse rotation!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
I don't know that I understand your statement...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
Perhaps a better way to phrase the question is this:
Are these servo motors being used as drive motors for a mobile robotic platform? If the answer is YES, are you using continuous rotation servos?
Ordinary R/C servos which have not been specially modified will not operate properly as drive motors. They are designed for less than 360 degrees of rotation.
Clearer?
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Perhaps it was just the way my "language processor" was working today [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...