The goal for the device will be to use two servo motors in sync to move the arms of the device from vertical to a position about 30 degrees from vertical and then return it to the original position. This process will be repeated for a predetermined count. The initial prototype will only have one setting but my hope is that the final product will let the user choose a number of repetitions ranging from 5 to 35 by increments of five.
Possible Sources of Code
I was able to find basic instructions for programming the Arduino to control a servo motor while checking out the servo motors available from their store. The instructions can be found here. On the page they also mention that ” Note servos draw considerable power, so if you need to drive more than one or two, you’ll probably need to power them from a separate supply (i.e. not the +5V pin on your Arduino).”
In the post discussing my electronics purchases I expressed concern that I would need an additional power supply for the servo motors. Their explanation makes me feel a bit more hopeful, as I am only planning on using two servo motors.