Arduino stepper motor control: Sketch and circuit

This project received 28 bids from talented freelancers with an average bid price of $164 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
Project Description

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!

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online