Continuous Servo
I am having trouble using the continuous servos with Basic Stamp 2. I really cannot control them to go to the position I want them to go to. First of all they do not center. Whereever they are, they count it as the center. Secondly, I cannot send them to a specific position. They start turning and turning. So, I have no idea what to do with them. Maybe I should have a closed loop control for it. Any suggestions?
Comments
'{PBASIC 2.5}
'{STAMP BS2}
PULSOUT 12, 650
PULSOUT 13, 850
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
You will need to repeat the above, and note that the above will drive the servos to turn, not stop:
In reality the servos should be centered before doing anything with them:
at which point you adjust the POT until the servos are stopped.
Ryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ryan Clarke
Parallax Tech Support
RClarke@Parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many hobbies, So little time.......and money [noparse]:)[/noparse]
Ryan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ryan Clarke
Parallax Tech Support
RClarke@Parallax.com