9:47 AM
Interfacing and control of stepper motor using 8085 microprocessor with program code

Aim: Interfacing and control of stepper motor using 8085 microprocessor.

Requirements: 8085 Microprocessor kit, Stepper Motor, Motor driver circuit (ULN2003) & wires.

Learning Objectives: Interfacing of stepper motor using 8255.

Outline of the Procedure:

1. Connect the interfacing circuit of stepper motor to 8085 kit.

2. Turn on the kit.

3. Write the given code.

4. Execute the code and verify the results.

 

Program:

 

i) To rotate in Clock Wise direction

MVI A, 80H

OUT CR

MVI A, 44H

KK: OUT PA

CALL DELAY

RRLC

JMP KK

RST 5

 

ii) To rotate in Anti-Clock Wise direction

MVI A, 80H

OUT CR

MVI A, 44H

KK: OUT PA

CALL DELAY

RLC

JMP KK

RST 5

Delay: LXI D, Count

Back: DCX D

MOV A, D

ORA E

JNZ Back

RET

 

Result: Stepper motor rotates in Clock wise & Anti-clock wise direction.

Learning outcomes: to be written by the students in 50-70 words.

 

Views: 84 | Added by: vijoriya | Tags: stepper motor, control, interfacing, 8085 Microprocessor, Program code | Rating: 0.0/0
Total comments: 0
avatar