Discussion in "Hardware" started by    Sahar    Jun 13, 2007.
Wed Jun 13 2007, 07:19 PM
1.I dont know how to find which wire in my stepper motor belongs to which coil? I dont have any data sheet unfortunately:(
2.How can I run a 1A motor with L293D?Or pleas let me know if you have any other way ?
Thu Jun 14 2007, 08:54 AM
ok sorry for late reply, was kind of busy

1) usually you have 5 wires in the stepper motor, one is for common and all other for coil, or if you have 6 wire motor then you have 2 wires common and rest four are coil wires.
In 5 wire, usually red color wire is common and rest other are coil. and in 6 wire, you will be having 2 wires of same color those are common wires.
Now procedure for finding the coil 1, coil 2, coil 3 and coil 4 is same for 6 wire and 5 wire stepper motor.
here is the procedure..
As your motor is 12V so, connect 12V supply to the common wire(s) and leave all the other 4 wires open. Now take a ground wire and connect it to any of the coil wire, you will see your motor moving one step, if you did not see anything, then move your motor with hand and again connect the wire.
after you see one step move in the motor (say yellow wire), connect the wire to any of the other 3 wire, if you see your motor moving backwards (say brown wire) then that is not the correct coil because your motor must move forward in a sequence. So connect the motor to the previous wire (yellow) again to move it forward again. now connect to some other wire (say green) now you see your motor moving forward again..
so you got two coils in sequence. as i am explaining by example.. which is first yellow, second green.
now you do the same thing with rest of the wires, you get four wires in sequence so that your motor moves in one direction. this is how you find out wire for coil 1,2,3 and 4.
once you find the sequence (say Yellow, Green, Brown, White) you can program them by sending zero on each of the coil. because common is connected to +12V. so sending zero will rotate the motor.

2) Regarding how to run stepper motor with L293D, as you can see the datasheet, you have kind of 4 3-state drivers in L293D with 2 Enable, one enable is common for driver 1 and 2 second is for 3 and 4.

So now comes the connection part..
see this schematic diagram.
 Sahar like this.
Tags stepper motor with controllerhow to connect stepper motorstepper motor connection with L293DL293D
Tue Jan 27 2009, 04:30 AM
You can try investigate your stepper motor following this guide
browse this link

Get Social


Powered by e107 Forum System


Thu Jun 11 2020, 06:27 AM
sir could please send the code for I2C and wifi interfacing with 8051
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 01:39 PM
Sir kindly send the code file i2c for 8051
Fri Mar 13 2020, 10:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 12:55 PM
how can get hadwere of this project
Sat Mar 07 2020, 05:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 04:58 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 10:12 AM
Pearl Olin
Wed Jan 22 2020, 06:16 PM
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 72, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123