0% found this document useful (0 votes)
2 views

Tutorial 5

The document outlines a design for an 8086-based I/O interface to control a stepper motor using a potentiometer for step angle adjustment. It specifies the motor's operational parameters, including control signals, ADC interfacing, and user input mechanisms for direction and start. The sequence of operations involves setting the potentiometer, selecting direction via a switch, and initiating motor rotation with a push button.

Uploaded by

f20220895
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Tutorial 5

The document outlines a design for an 8086-based I/O interface to control a stepper motor using a potentiometer for step angle adjustment. It specifies the motor's operational parameters, including control signals, ADC interfacing, and user input mechanisms for direction and start. The sequence of operations involves setting the potentiometer, selecting direction via a switch, and initiating motor rotation with a push button.

Uploaded by

f20220895
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Birla Institute of Technology and Science, Pilani – KK Birla Goa Campus

EEE/ECE/INSTR F241
Tutorial 5

Design an 8086-based I/O interface to control a stepper motor, where the step angle is
determined by a potentiometer. You can set the potentiometer to rotate up to 5 revolutions using
this method. The motor should be rotating are rate of 10rmp and has a step angle of
2degrees/step.
Given Specifications:
1. The stepper motor operates in full-step mode, requiring four control signals to energize its
windings. It is mapped to IO address 200.
Step Coil A Coil B Coil C Coil D
1 1 0 1 0
2 0 1 1 0
3 0 1 0 1
4 1 0 0 1

2. The potentiometer is interfaced using an ADC (Analog to Digital Converter) at port number 300.
The ADC outputs a digital value (16-bit) corresponding to the potentiometer’s position. ADC
reference voltage is 5V.
3. The motor should move clockwise or counterclockwise based on user input through a slide
switch mapped to port address 80.
4. Motor starts one the user presses a push button interfaced to port address 90
Sequence of Operations:
User sets the potentiometer position
Sets the slide switch for setting direction
Presses the push button
8086 reads data from the ADC and direction
Rotates the motor

Design the hardware. Write the ALP

You might also like