0% found this document useful (0 votes)
51 views3 pages

Tutorials MUP 3rd Unit

The document contains tutorials for interfacing various devices to 8085 microprocessor including: 1. Interfacing 8255 with 8085 to read DIP switches and display output on ports. 2. Interfacing temperature sensor and fan/heater using ADC, optocoupler, and triacs to control devices based on temperature reading. 3. Writing a subroutine to initialize and read from a timer and display seconds, and generating a 1 kHz square wave from a timer. 4. Displaying text on 8279 and implementing a traffic light controller using 8255 output ports.

Uploaded by

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

Tutorials MUP 3rd Unit

The document contains tutorials for interfacing various devices to 8085 microprocessor including: 1. Interfacing 8255 with 8085 to read DIP switches and display output on ports. 2. Interfacing temperature sensor and fan/heater using ADC, optocoupler, and triacs to control devices based on temperature reading. 3. Writing a subroutine to initialize and read from a timer and display seconds, and generating a 1 kHz square wave from a timer. 4. Displaying text on 8279 and implementing a traffic light controller using 8255 output ports.

Uploaded by

krishnapriya u
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SETHU INSTITUTE OF TECHNOLOGY

DEPARTMENT OF ECE

Year/Sem: III/V Subject: 01UEC505 - Microprocessors,Microcontrollers and Applications

Tutorial – 7
1. Interface 8255 with 8085 .Write a program to read the DIP switches and display the reading
from Port B at port A and from port CL at port CU.

2. Interface a temperature sensor using ADC and port A of 8255.Interface a fan and heater
using optocoupler and triacs to drive the I/O devices.Write a program to read the
temperature.If temperature is less than 100 C,turn on the heater and if temperature is
higher than 350C,turn on the fan.

Prepared by Approved by
SETHU INSTITUTE OF TECHNOLOGY

DEPARTMENT OF ECE

Year/Sem: III/V Subject: 01UEC505 - Microprocessors,Microcontrollers and Applications

Tutorial – 8
1. Write a subroutine to initialize counter 0 in 8254 in mode 0 with a count of 50,00010.The
subroutine should also include reading counts on the fly.When the count reaches zero,it
should return to the main program.Write a main program to display seconds by calling the
subroutine as many times as necessary.
2. Write instructions to generate 1 KHz square wave from counter 1.Assume the gate of
counter 1 is tied to +5V through a 10k resistor.Explain the significance of connecting the gate
to +5V.

Prepared by Approved by
SETHU INSTITUTE OF TECHNOLOGY

DEPARTMENT OF ECE

Year/Sem: III/V Subject: 01UEC505 - Microprocessors,Microcontrollers and Applications

Tutorial – 9
1.Display the word “HELLO HELLO” using 8279.

2.Write instructions to implement a traffic light controller using 8255.

The signal lights and signs should be turned on/off by the data bits of an output port as

LIGHTS Data bits ON Time

1. Green D0 15 sec
2. Yellow D2 5 sec
3. Red D4 20 sec
4. WALK D6 15 sec
5. DONT’T WALK D7 25 sec

Prepared by Approved by

You might also like