I’m working on a robot that’s supposed to place dominoes in a track. As part of the design, there’s an arm that grabs and places the dominoes. The arm is parallel to the ground when the domino is released, while it’s vertical when it grabs the next domino. To achieve this, I have a parallax high speed continuous rotation servo that rotates 90 degrees back and forth. (I’m using the parallax basic stamp Board of Education and programming with MacBS2).
The problem is that I can’t get the servo to rotate precisely the same amount both ways; it always ends up either a tad before or a tad past the starting point. Even if that tad is 0.1 degrees, each time the arms go up and back down, they are misaligned by 0.1 degrees, and after 100 dominos are placed, the arms will be misaligned by 1 degree, by which point the robot wouldn't even function correctly.
If there was some way to make the servos “return to a default position” or control them by position rather than by velocity, then I think I could make this work. If anybody has any suggestions on how to do that, please let me know! I’d also appreciate any other possible ideas/solutions to my predicament. Thanks!