You have no items in your shopping cart.

Subtotal: 0.00

8086 Trainer board

PS-TRAINER-8086A microprocessor trainer kit is proposed to smooth the progress of learning and developing designs of microprocessor from Intel. It has the facility to connect PC’s 101/104 Keyboard, to enter user programs in Assembly languages. User verifies the programs through LCD or PC. User friendly Firmware confirms facilitating the beginners learns operations of a microprocessor quickly.

STEPPER MOTOR

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.

INTERFACING STEPPER MOTOR

Fig. 1 shows how to interface the Stepper Motor to microprocessor. As you can see the stepper motor is connected with Microprocessor output port pins through a ULN2803A array. So when the microprocessor is giving pulses with particular frequency to ls293A, the motor is rotated in clockwise or anticlockwise.



Interfacing Stepper Motor to Microprocessor

Fig. 1 Interfacing Stepper Motor to Microprocessor

 

INTERFACING STEPPER MOTOR WITH 8086

We now want to control a stepper motor in 8086 trainer kit. It works by turning ON & OFF a four I/O port lines generating at a particular frequency.

The 8086 trainer board has three numbers of I/O port connectors, connected with I/O Port lines (PA.0 – PA.7),(pB.0 – pB.7) to rotate the stepper motor. Ls293d is used as a driver for port I/O lines, drivers output connected to stepper motor, connector provided for external power supply if needed.

PIN ASSIGNMENT WITH 8086

 

Stepper Motor(5V)

8255Lines

Stepper Motor PWR Select

STEPPER MOTOR

COIL-A

PA.0

 

 

Stepper Motor PWR Select  

 

    

 

COIL-B

PA.1

COIL-C

PA.2

COIL-D

PA.3

 



CIRCUIT DIAGRAM TO INTERFACE STEPPER MOTOR WITH 8086



Interfacing Stepper Motor to Microprocessor

ASSEMBLY PROGRAM TO RUN THE STEPPER MOTOR USING 8086



MEMORY ADDRESS

OPCODE

MNEMONICS

1100

BA 26 FF

MOV DX, FF26

1103

B0 80    

MOV AL, 80

1105      

EE

OUT DX, AL

1106

BA 20 FF

MOV DX, FF20

1109

B0 33

MOV AL, 33

110B

EE

LOOP:   OUT DX, AL

110C

D0 C8

ROR AL,1

110E

E8 02 00

CALL DELAY

1111

EB F8

JMP LOOP

1113

B9 FF FF

DELAY:  MOV CX, FFFF

1116

49

M:DEC CX

1117      

75 FD

JNE     M

1119

C3

RET