PadhaikoAll subjects

Past exam question: Assignment 3, Q5(c)

Instrumentation · 3 marks

Open in the Padhaiko app

Topic: Microprocessor and microcontroller and their selection criteria, and…

Question

A/D converter requires signal to start the conversion and indicates the completion of operation with the end of conversion signal.8255A PPI is interfaced with 8085 microprocessor at 80H. Microprocessor reads 8-bit output data of the ADC at port A and displays the same data to eight LEDs connected at port B of 8255A.state any assumptions made. c) Draw the schematic interfacing circuit.

Solution

Hardware Interfacing Details:

Schematic Interfacing Circuit Diagram:

8085 - 8255A (80H) - 8-bit ADC & 8 LEDs SchematicText
   8085 CPU                    8255A PPI                       8-bit ADC
 +-----------+               +-----------+                   +-----------+
 | D0 - D7   |<=============>| D0 - D7   |                   |           |
 | A1, A0    |-------------->| A1, A0    |   8-bit Output    |           |
 | A7        |--+            |       PA0 |<------------------| D0        |
 | A6..A2    |--|--(inv)--+->| CS'   ... |<------------------| ...       |
 | IO/M'     |--+-[NAND]--+  |       PA7 |<------------------| D7        |
 | RD'       |-------------->| RD'       |                   |           |
 | WR'       |-------------->| WR'   PC0 |------------------>| SOC       |
 | RESET OUT |-------------->| RESET PC7 |<------------------| EOC       |
 +-----------+               |           |                   |       Vin |<-- Analog In
                             | PB0 - PB7 |                   |       CLK |<-- Clock
                             +-----------+                   +-----------+
                                   |
                         [330 ohm resistors x 8]
                                   |
                          (LED0 .. LED7) -> GND
Answer:

The schematic connects the 8085 bus (D0–D7, A1–A0, , ) and a NAND address decoder () to the 8255A (80H–83H), interfaces the ADC outputs D0–D7 to Port A, SOC to PC0, EOC to PC7, and drives eight common-ground LEDs through resistors from Port B.

All past exam questions for Instrumentation