This project is actually an educational kit. One can study the full operation of unipolar type stepper motor using this board. As it is micro controller based it can be programmable also and one can learn micro controller interfacing with LEDs, key board and stepper motor. Thus single board serves the purpose of learning stepper motor control as well as learning micro controller programming.
General description and system block diagram:-
The complete board consists of transformer, control circuit, keypad and stepper motor as shown in snap. The given figure shows the block diagram of project.

System block diagram
The circuit has inbuilt 5 V power supply so when it is connected with transformer it will give the supply to circuit and motor both. The 8 Key keypad is connected with circuit through which user can give the command to control stepper motor. The control circuit includes micro controller 89C51, indicating LEDs, and current driver chip ULN2003A. One can program the controller to control the operation of stepper motor. He can give different commands through keypad like, run clockwise, run anticlockwise, increase/decrease RPM, increase/decrease revolutions, stop motor, change the mode, etc. before we start with project it is must that we first understood the operation of unipolar stepper motor.
Unipolar stepper motor:-
In the construction of unipolar stepper motor there are four coils. One end of each coil is tide together and it gives common terminal which is always connected with positive terminal of supply. The other ends of each coil are given for interface. Specific color code may also be given. Like in my motor orange is first coil (L1), brown is second (L2), yellow is third (L3), black is fourth (L4) and red for common terminal.
By means of controlling a stepper motor operation we can
To vary the RPM of motor we have to vary the PRF (Pulse Repetition Frequency). Number of applied pulses will vary number of rotations and last to change direction we have to change pulse sequence.
So all these three things just depends on applied pulses. Now there are three different modes to rotate this motor
The table given below will give you the complete idea that how to give pulses in each mode

Pulses for stepper motor module
Note:- In half step excitation mode motor will rotate at half the specified given step resolution. Means if step resolution is 1.8 degree then in this mode it will be 0.9 degree. Step resolution means on receiving on 1 pulse motor will rotate that much degree. If step resolution is 1.8 degree then it will take 200 pulses for motor to compete 1 revolution (360 degree).
Now let me give you the specification of the stepper motor that I have used.
Max rated voltage: - 5 V
Max rated current per coil: – 0.5 Amp
Step resolution: - 1.8 degree / pulse
Max RPM: - 20 in single/double coil excitation mode and 60 in half step mode
Torque: – 1.5 Kg/cm2
RPM calculation:-
One can calculate the exact RPM at which motor will run. We know that motor needs 200 pulses to complete 1 revolution. Means if 200 pulses applied in 1 second motor will complete 1 revolution in 1 second. Now 1 rev. in 1 sec means 60 rev. in 1 minute. That will give us 60 RPM. Now 200 pulses in 1 sec means the PRF is 200 Hz. And delay will be 5 millisecond (ms). Now lets see it reverse.
* If delay is 10 ms then PRF will be 100 Hz.
* So 100 pulses will be given in 1 sec
* Motor will complete 1 revolution in 2 second
* So the RPM will be 30.
In same manner as you change delay the PRF will be changed and it will change RPM
Stepper motor control board circuit:-

Stepper motor control board circuit
The circuit consists of very few components. The major components are 7805, 89C51 and ULN2003A.
Connections:-
Now by downloading different programs in to 89C51 we can control the operation of stepper motor. Let us see all different kind of program.
Description :
This is the one stop educational site for all Electronic and Computer students. If you want to learn something new then we are here to help. We work on Microcontroller projects, Basic Electronics, Digital electronics, Computer projects and also in basic c/c++ programs.
#Home #Sitemap #Submit #Terms of Use
Copyright©2011 electrofriends.com All Rights Reserved
Contact:info@electrofriends.com | Powered by Dhyeya
December 18th, 2008 at 9:05 pm
da program gives syntax error when it is build in keil software.
its give error for cjne a,#0ffh,jmp. n
jmp clr p0.0……..
December 19th, 2008 at 9:39 am
Hi, here jmp is used as a label. Please change jmp to some other name. for example
cjne a,#0ffh,keypress
keypress: clr p0.0
December 20th, 2008 at 9:01 pm
it also gives error here
lop2:mov r6,#FAh ; give 1 ms delay :the error is undefined symbol(pass 2).
lop2: mov r6,#0FAh ; for 200ms delay : attempt to define already defined label.
lop1: nop attempt to define already defined label.
December 21st, 2008 at 11:44 pm
hi plz tell me abt these error in program
n i m using of Seiko epson EM-198.
will it operate with 7805.
December 26th, 2008 at 4:07 pm
Hi replace “dely” function as given below.
———————-
dely:
mov r5,#0C8h ; load count 200
lop22: mov r6,#0FAh ; for 200ms delay
lop11:nop
nop
djnz r6,lop11
djnz r5,lop22
ret
———————–
January 22nd, 2009 at 8:34 am
Nothing seems to be easier than seeing someone whom you can help but not helping.
I suggest we start giving it a try. Give love to the ones that need it.
God will appreciate it.
June 14th, 2009 at 4:33 am
I’m new here on the forum, found it by searching google. I look forward to chatting about various topics with all of you.
August 7th, 2009 at 1:05 pm
It is interesting. Can you mail me the full details of the circuits
February 11th, 2010 at 7:30 pm
Good stuff. I like this blog. I will subscribe to it.
March 3rd, 2010 at 5:14 pm
very good circuit … can you mail the full details and explainations of the circuit.
March 7th, 2010 at 1:32 am
can u tell me how to control pitman motor using at89s51 through h bridge give ,jut move the motor in forward and reverse direction ,and also give me a small cobe to drive the motor through h bridge using at89s51
March 25th, 2010 at 3:37 pm
sperb thank u
April 5th, 2010 at 10:20 pm
А телефон свой не оставите? Хотелось бы кое-что обсудить по теме.
May 21st, 2010 at 10:45 am
hey the project is nice but is there any problem in the programs is they give error
June 3rd, 2010 at 10:11 am
hi, please give the full information about the stepper motor
June 30th, 2010 at 5:42 pm
Nice project for learners. Is it available in kit form at a reasonable price?
Are the problems solved or still existing?
July 12th, 2010 at 10:30 am
Cheers, superb post.
July 29th, 2010 at 3:03 pm
Hi . . .can you mail me the full detail of the circuit diagram and the
program.
August 2nd, 2010 at 9:40 pm
AS THIS IS IN ASSEMBLY AND NOT IN ‘C’ DONT USE KEIL USE “ASEM” OR “RAISONANCE” INSTEAD.
August 26th, 2010 at 12:43 am
in new ustzz
January 22nd, 2011 at 6:28 am
Hi there, just wandered by. I have a Cincinnati 4g site. Amazing the amount of information on the web. Wasn’t what I was looking for, but great site. Take care.
March 22nd, 2011 at 6:18 pm
dear sir i want a program for only one directional revolution that means clockwise revolution..for fixed RPM
August 26th, 2011 at 9:46 am
[...] stepper motor conttrol by using atmel89c51 Here are some example projects using the AT89C51: Stepper motor control board STEPPER MOTOR CONTROL USING 89C51 MICROCONTROLLER Microcontroller Based Clockwise/Anticlockwise [...]
August 26th, 2011 at 4:20 pm
thanks for this information its very useful for my project
August 27th, 2011 at 6:06 pm
please send me more details about it…
it is very nice..
October 6th, 2011 at 7:20 pm
p.asm(5): error A9: SYNTAX ERROR
p.asm(7): error A5: ILLEGAL USE OF A RESERVED WORD
p.asm(7): error A9: SYNTAX ERROR
p.asm(7): error A9: SYNTAX ERROR
p.asm(8): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL
p.asm(22): error A45: UNDEFINED SYMBOL (PASS-2)
p.asm(24): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL
p.asm(37): error A45: UNDEFINED SYMBOL (PASS-2)
p.asm(57): error A45: UNDEFINED SYMBOL (PASS-2)
p.asm(58): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL
p.asm(65): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL
p.asm(66): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL
Target not created
this types of errors in program no 3 what can i do?
December 20th, 2011 at 2:17 am
[...] Mulberry There will be sufficient signals which Tiongkok may really do the main connected with market cheap mulberry bags monetary increase for a while to reach you mulberry output line shop. A multitude of Britain reduced establishments might utilize that, especially while using the industrial, power in addition for you to online mtsghrza industries. Mulberry Alexa Handbag (pictured) includes gotten good care of his or her holdings throughout on the net retail merchant ASOS, which just after reliable forex trade went up by 85%. These days there may be over More than 200 lecturer stores merely america and concepts that you can obtainable a full fantastic offer extra suppliers globally inside of the future, an italian man, specialit which had considered around mulberry alexa large during 2000 created everywhere improve with burberrys light in the book bag marketplace! These are in most cases fuzy as well as sewed by hand, Mulberry 18643 mulberry bags madison accrued leather lindsey satchel wine red colored for ladies with offering inside our own store retail store online. Popular designs this previous a life time are generally just what exactly Mulberry 17003 madison laser lessen op craft leather whirlpool sophia satchel produce that will guys together with females. Presently there have ended Above two hundred lecturer merchants just the united states and concepts that will available a total wonderful give more retailers around the globe ultimately, the italian specialist whom needed over Mulberry Alexa Handbag within 2004 fabricated ample improve around burberrys soft through pack cheap mulberry bags promote! They can be readily subjective additionally padded in your hands, Mulberry 18643 madison obtained leather based lindsey satchel wines beverages reddish for females upon selling for our store retail outlet world-wide-web. ae1334d01be6a6a21 Mulberry Bags Sale, Mulberry Bags Online, Mulberry Bags UK Discount Mulberry brand bags mulberry bags outlet Mulberry [...]
January 18th, 2012 at 12:16 pm
hey Ranjith,
I was looking at some of the work you have done, i am quiet amazed by your skill level. I would want to implement some of your work, if you would allow me to ofcourse. Would it be possible if i get you to email me to discuss this further? my email should appear to you. Please Email me as soon you get this .
thanks
Andrew Cholak