Saturday, April 21, 2012

Arduino controlling a stepper motor.









I salvaged a stepper motor from an old scanner.I used an Arduino Motor Shield on top of an Arduino,  which the motor shield is useless in this configuration.

The stepper motor has six wires.

To determine the pinout of the stepper motor I connected my multimeter to each pair of wires(from the motor) possible. The two pair of wires that have the highest resistance are connected to pins 8,9,10,11 on the Motor Shield.
The other two wires I have connected to 5V and GND.












I used the stepper_oneRevolution Arduino example program.



2 comments:

  1. motors are nice and amazing, I like your post mate, thanks for useful information

    ReplyDelete
  2. wow...
    Amazing Bro,,

    i like your blog
    Please visit back to
    http://albertotkj.blogspot.com/

    ReplyDelete