Go Down

Topic: Stepper Motor (Read 8986 times) previous topic - next topic


hi all
i am newbie to arduino boards... so plz excuse my ignorance....
i have got a driver IC L293D and i want to control a stepper motor using that... but as i said i am totally new and i need know how to connect the stepper motor... can someone provide with the circuit diagram with stepper motor for this IC???  i know how to run a DC motor with this IC.. :) (I knw thats not too gr8... :-[ ) so can someone please help me out with the connection of all wires of stepper motor? if possible a circuit diagram??


Steppers are more complicate than DC motors.

First thing to figure out is if it is a unipolar or bipolar stepper motor you have.

How many wires does it have ?

Try to read this, this is how i found out about steppers:


Nov 10, 2008, 04:12 am Last Edit: Nov 10, 2008, 04:16 am by dev_000 Reason: 1
its unipolar.... and has got 4 wires....


most 4 wire steppers are bipolar !

Do you have a link to a datasheet for the motor ?


This link should help a bit:




I would also recommend this tutorial: http://www.societyofrobots.com/member_tutorials/node/169

The whole series does a good job at explaining what you need to do to control a stepper as well as some problems you may run into.



Nov 11, 2008, 05:02 pm Last Edit: Nov 11, 2008, 05:10 pm by dev_000 Reason: 1
hi mate
couldnt get thedata sheet... so here is picture...
its EPSON EM 234 motor

its unipolar i think...
thanx 4 the tutorials can someone get tell how to connect it to arduino board???  :-/


I still belive that it is a bipolar stepper motor. Because most 4 wire steppers are bipolar, and also based on the fact that the schematic in the pdf file you linked to uses L293 H-bridge IC's to drive the steppers, this is only needed for bipolar steppers.

This might be helpfull : http://www.arduino.cc/en/Reference/StepperBipolarCircuit



The fewest wires I have seen on a unipolar is 5.  Because each of the coils (4) go to a common 5 ground or they split the coils into 2 coils that share a common ground (2+1)*2=6 wires.


According to the pdf you linked:
Fig. 23 The EPSON EM-234 motor (Stepper motor for EPSON 4-Wire Two 9-Ohm Coils on ribbon cable - 1.65inch/42mm Diameter - 24 mm )

Two coils makes it bipolar without common tap makes it bipolar. I have seen 3 phase, 4 pin, brushless motors (like spindle motor that spins hard drive platters), but they're not actually steppers, and you have to control each phase individually.

Check out http://arduino.cc/en/Reference/StepperBipolarCircuit

You can also look at the Arduino Motorshield http://arduino.cc/en/Main/ArduinoMotorShield Ladyada's Motorshield http://www.ladyada.net/make/mshield/

Either will have your motor running in a jiffy.

Go Up