Inconsistent servo moves using basic stamp
Alanog
Posts: 1
I built a two servo walking robot from scratch but one of the servos does not always turn the same distance right or left and tends to "creep" round with successive moves. Does this indicate a problem with the servo and if so how can this be verified?
Comments
Most standard servos are very consistent, provided they have not been abused and missing internal gear teeth. CR servos require centering and can drift occasionally.
Once you see how far and which direction the bot veers off course adjust your code to correct and then keep running the same straight course _without_ changing batteries. If you get the same results I got you will find that as the batteries get low the servos will behave differently from how they did with fresh batteries.
Since I don't need movable bots to test my coding I set the bugger up on a small box and marked the wheels with chalk to verify that my code made them move in the right direction. I could then plug in a P/S and manually manipulate the sensors to verify that my code caused the correct response from the wheels. With the money I saved on batteries I was able to continue having beer and cigarettes.