Stepper Motor

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.. :slight_smile: (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??
:slight_smile:

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:

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:

http://mechatronics.mech.northwestern.edu/design_ref/actuators/stepper_drive1.html

!c

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.

salernos

hi mate
couldnt get thedata sheet... so here is picture...
http://www.mediafire.com/imageview.php?quickkey=wotz10umjjc&thumb=5
its EPSON EM 234 motor
http://me.mecatronica.pub.ro/revista/arhiva/2006_2/16Tatar.pdf

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

http://www.tigoe.net/pcomp/code/category/code/arduinowiring/51

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 Motor Shield - Arduino motor/stepper/servo control

Either will have your motor running in a jiffy.