Digital Servos
David Calkins
Posts: 4
Is there special BASIC to control digital servos over analag servos on the BOE? (using HiTec HS-5645MG's...)
Comments
·· To my knowledge most Digital Servos are completely compatible with standard Analog Servos.· Given that then you should be able to use the same commands.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Perhaps it's just that I'm used to continuous rotation servos, and this is for a normal servo - changing from a neutral position to +/- 90 deg in varying positions.
PULSOUT 12, 550 (for example) just makes the thing all twitchy...
Should I be using another command?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I was just being a big dummy. I fixed it.
·· Perhaps you should share you fix so others know why you had the problem and can avoid it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
1) when programming servos with one of your students, pay careful attention to what actually happens, rather than what the student presumes is happening (especially if you're writing a disertation at the same time (multi-tasking=bad))
2) Read said students code before presuming it's a HW error and posting to the parallax forum
3) Wiggling servos dont' mean the servo is bad. It might just be that the student rotates the hub by hand after each run through of the code, so the servo is in fact doing what it's supposed to do - and the code is in fact working - the problem lies in students playing with hubs absent-mindedly while you're not looking, so the hub appears to move irrationally when you're certain it was centered after the last time you centered it.
Yes Mike, if you're reading this... This means you.