Expt 12-Stepper Motor Control Using 8051
Expt 12-Stepper Motor Control Using 8051
(UGC-Autonomous)
Department of Electronics and Communication Engineering
Aim:
To develop an 8051 assembly language program
to control the stepper motor in
clockwise/anticlockwise direction and verify it
in the laboratory using Microcontroller Kit.
Assume that the content of internal RAM 20h
control the direction of stepper motor. For
example, for 01h then the motor rotates in
clockwise direction, and for 02h the motor runs
in anticlockwise direction.
Apparatus required:
8051 Microcontroller Kit (ESA 51)
Regulated power supply –SMPS
PS2 Keyboard
Stepper Motor
Stepper motor Interface study card
26 pin ribbon cable connector
8051 Microcontroller Kit
Procedure
1. Use A (Assemble) command to enter the program:
<RESET>A 8000 <ENTER> , and type the program line-by-line using
<ENTER>