Statement: Write A Assembly Program To Transmit A Message From
Statement: Write A Assembly Program To Transmit A Message From
Solution Description:
Source program:
Delay Subroutine:
INTERFACING DIAGRAM
The electric bulbs are controlled by relays. The 8255 pins are used to control relay
on-off action with the help of relay driver circuits. The driver circuit includes 12
transistors to drive 12 relays. Fig. also shows the interfacing of 8255 to the system.
SOFTWARE FOR TRAFFIC LIGHT CONTROL
Project9
Statement: Interface a Stepper Motor to the 8085 microprocessor system and
write an 8085 assembly language program to control the Stepper Motor.
HARDWARE FOR STEPPER MOTOR CONTROL
A stepper motor is a digital motor. It can be driven by digital signal. Fig. shows the
typical 2 phase motor rated 12V /0.67 A/ph interfaced with the 8085 microprocessor
system using 8255. Motor shown in the circuit has two phases, with center-tap
winding. The center taps of these windings are connected to the 12V supply. Due to
this, motor can be excited by grounding four terminals of the two windings. Motor
can be rotated in steps by giving proper excitation sequence to these windings. The
lower nibble of port A of the 8255 is used to generate excitation signals in the proper
sequence. These excitation signals are buffered using driver transistors. The
transistors are selected such that they can source rated current for the windings.
Motor is rotated by 1.80 per excitation.
INTERFACING SCHEME
SOFTWARE FOR STEPPER MOTOR CONTROL
As port A is used as an output port, control word for 8255 is 80H.
Project 10
Source program:
DISPLAY MESSAGE:
Delay subroutine:
For 8255, Port A and B are used as output ports. The control word format of 8255
according to hardware connections is: