TASK – 05
BECE204P – MICROPROCESSORS AND MICROCONTROLLERS LAB
STEPPER MOTOR
COURSE OUTCOME:
1. Showcase The Skill, Knowledge and Ability Of Programming
Microcontroller and Microprocessor Using its Instruction Set.
2. Expertise With Microcontroller and Interfaces Including General Purpose
Input/ Output, Timers, Serial Communication, Lcd, Keypad and ADC.
BLOOMS TAXONOMY LEVEL:
BL6 – Create
REGISTRATI ROLE IN
S.N NAME ON THE
O NUM PROJECT
CODE AND
1. JAHNAVI SURA 21BCE2716 OUTPUT
INTRODUCTIO
2. THRIDIVA 21BCE3127 N
REDDY ABOUT
APPLICATION
APPLICATION
3. MADHURI 21BCB0201 AND
CONCLUSION
CONTENT PAGE:
1. AIM
2. INTRODUCTION
3. BLOCK DIAGRAM
4. ALP CODE & OUTPUT
5. APPLICATION
6. CONCLUSION
7. REFERENCES
AIM:
To Interface Stepper Motor with 8051 Microcontroller
using ALP
SOFTWARE USED:
Keil software
INTRODUCTION TO THE TOPIC:
A stepper motor is a brushless, synchronous electric motor
that converts digital pulses into mechanical shaft rotation.
Every revolution of the stepper motor is divided into a
discrete number of steps, and the motor must be sent a
separate pulse for each step. Stepper motors are very easy
to control. Most drivers are looking for 5 volt pulses which
just so happen to be the voltage level of most integrated
circuits. You merely need to design a circuit to output pulses
or use one of ORIENTAL MOTOR's pulse generators
FLOW CHART/BLOCK DIAGRAM OF
ALGORITHM
ALP CODE
ORG 0000H
UP:MOV P2, #09H
ACALL DELAY
MOV P2, #0CH
ACALL DELAY
MOV P2, #06H
ACALL DELAY
MOV P2, #03H
ACALL DELAY
SJMP UP
DELAY:MOV R4, #18
H1:MOV R3, #255
H2:DJNZ R3, H2
DJNZ R4, H1
RET
END
OUTPUT SCREENSHOT
APPLICATION
Stepper motors are diverse in their uses, but some of the most
common include:
3D printing equipment
Textile machines
Printing presses
Gaming machines
Medical imaging machinery
Small robotics
CNC milling machines
Welding equipment
CONCLUSION
In summary, stepper motors are excellent for positioning
applications. Stepper motors can be precisely controlled in terms of
both distance and speed simply by varying the number of pulses
and their frequency. Their high pole count gives them accuracy
while at the same time they run open loop. Stepper motor can be
operated at different speeds with the help of microcontroller with
the precise angle because of the small step angle present in the
motor. Also, it can be rotated in different directions: clockwise or
anticlockwise. And this can be used for various applications used
above
REFERENCE LINKS AND DOCUMENTS
1. https://sthcphy.files.wordpress.com/2015/09/stepper-motor-i
nterfacing.pdf
2. https://www.pantechsolutions.net/how-to-interface-stepper-
motor-with-8051-lab-trainer-kit-how-to-interface-stepper-mo
tor-with-8051-lab-trainer-kit
3. https://www.orientalmotor.com/stepper-motors/technology/
stepper-motor-basics.html