You have chosen to sponsor your bid up to a maximum amount of .
I need a sketch and circuit to rotate a stepper motor to (and then hold at) any one of six positions (60 degrees, 120, 180, 240, 300 and its resting position, which we'll call 0 degrees). On the closure of one of six toggle switches, the stepper will rotate to and hold the corresponding position. On release of that switch, stepper motor will return to 0 degrees and power down.
While any of the switches is closed, the Arduino also should close a 5-volt relay and keep it closed for an additional 5 seconds after the switch is opened.
Project will use the components I have: Arduino Duemilanove w/ATMega 328 and the LadyAda motor shield, plus a 4-wire 12V stepper with 7.5 degree steps. (I'm using a stepper for torque; it's turning an 18-inch disc of thin wood).
Circuit should be able to be powered down and retain its function, and I'd like the stepper to not have to be powered on except when it's rotating.
Deliverables from you would be the Arduino sketch with any libraries required, and a simple schematic and pinout drawing so I can build it.
If you feel the project needs other components than what I'm using (different Arduino, etc.), please let me know. Bonus if you can deliver in 48 hours!