►Connecting Unipolar Stepper Motor

There are actually many ways you can interface a stepper motor to your controller, out of them the most used interfaces are:
  1. Interface using L293D - H-Bridge Motor Driver
  2. Interface using ULN2003/2004 - Darlington Arrays

We will dicuss both connection techniques one by one. The above mentioned methods need 4 controller pins for interface.

Connecting Unipolar stepper using L293D

Please click on the image to enlarge it

As you see in the circuit above the four pins "Controller pin 1",2,3 and 4 will control the motion and direction of the stepper motor according to the step sequece programmed in the controller.




Connecting Unipolar stepper using ULN2003/2004

Please click on the image to enlarge it

As already discussed in case of L293D, Here in this circuit too the four pins "Controller pin 1",2,3 and 4 will control the motion and direction of the stepper motor according to the step sequece sent by the controller.

►2-wire connection for Unipolar Stepper Motor

We have seen the generally used 4-wire connection method for interfacing unipolar stepper motor, but we can simplify the design to make controller use less pins with the help of 2-wire connection method. The circuit for 2-wire connection is shown below.

[lightbox=unipolar_stepper_big.gif|Unipolar Stepper Motor connection|stepper motor connections]
[/lightbox]
Please click on the image to enlarge it


►Connecting Bipolar Stepper Motor

As we have studied that, Bi-polar stepper motors has 2 different coils. The step sequence for Bipolar stepper motor is same as that of unipolar stepper motors. The driving circuit for this require an H-Bridge as it allows the polarity of the power applied to be controlled independently. This can be done as shown in the figure below:

[lightbox=bipolar_stepper_big.gif|Bipolar Stepper Motor connection|stepper motor connections]
[/lightbox]
Please click on the image to enlarge it

Now we have seen the methods for connecting stepper motors with your microcontroller. So keeping these circuits in mind,we will now look at the programming of microcontroller to control stepper motors. This is discussed in the next section of the tutorial.

◄ Previous Page  |  Next Page ►

DC Motor Tutorial Index
Introduction to Stepper Motors
Stepper Motor Connections
Step Sequence of Stepper Motors
Programming for Stepper Motor

Conversation

ajay_bhargav
Fri Dec 12 2014, 04:38 AM
@Abdul BAsit, Post in forum please. We will help you.
Wed Dec 10 2014, 06:41 PM
Abdul BAsit
I am working on smoke detector using AT89S52 and dont know how its wors..kindly send me circuit diagram and code for its hardware & software implementation
Tue Dec 09 2014, 11:30 AM
Irinel
Please send me the content of that cd-rom (embedded c - michael j pont. Thank you.
Tue Dec 09 2014, 02:45 AM
kmyo
please give me the operation of 12v trickle charger
Sun Dec 07 2014, 07:50 AM
hidawi
we need the circuit diagrom of the remote control of iduction motor by android appliction
PsySc0rpi0n
Tue Dec 02 2014, 10:30 AM
I have no idea... I'm new to micro controllers
Tue Dec 02 2014, 08:35 AM
samarnath dev
how can usb key bord interfasing to dot matrx led moving, by asm51 ?
Tue Dec 02 2014, 08:32 AM
samarnath dev
how can usb key bord interfasing to 8051 by asm code?
Fri Nov 28 2014, 06:31 AM
babar
aoa ,, i need a project for 8051 microcontroler can some one plz give me the pdf form of this project android control robot
Fri Nov 28 2014, 06:30 AM
babar
hi

Downloads

Comments

naimish324
Wed Dec 17 2014, 04:48 AM
sathish177
Tue Dec 16 2014, 06:43 PM
djnokey
Sat Dec 13 2014, 12:12 PM
sai9113
Tue Dec 09 2014, 07:23 AM
alexlomol
Fri Dec 05 2014, 12:06 AM
chandujonty
Thu Dec 04 2014, 10:11 AM
fantasy1214
Mon Dec 01 2014, 01:45 PM
vumbelino
Sat Nov 29 2014, 04:43 PM

Online

Guests: 50, Members: 0 ...

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

Members: 37560
Newest member: naimish324
Forum Activity
sankalp_s Avatar
Posted By sankalp_s
Mon Dec 22 2014, 04:52 PM
Thanks a lot sir, its working, great support, sank...
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Dec 22 2014, 04:59 AM
Take a look at Serial Communication Tutorial to ge...
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Dec 22 2014, 04:44 AM
Here is a ready test project by Martin Thomas usin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Dec 21 2014, 10:16 PM
Thanks a lot sir, its working, great support, sank...
hsnjamal Avatar
Posted By hsnjamal
Sun Dec 21 2014, 02:03 PM
First you will need to let us know what IDE you pl...
sankalp_s Avatar
Posted By sankalp_s
Sat Dec 20 2014, 05:31 PM
For what you want,it is easier to not use interrup...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Dec 19 2014, 09:58 PM
For what you want,it is easier to not use interrup...
sankalp_s Avatar
Posted By sankalp_s
Fri Dec 19 2014, 06:04 PM
This version works.Edit it to use either method. ...
muhibraza Avatar
Posted By muhibraza
Fri Dec 19 2014, 08:05 AM
software_developer Avatar
Posted By software_developer
Fri Dec 19 2014, 04:54 AM
Which files i have to use?Please give me .zip fold...