PadhaikoAll subjects

Past exam question: Assignment 3, Q3(a)

Instrumentation · 5 marks

Open in the Padhaiko app

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

Question

The monitoring system takes input from four analog temperature sensors & records values in memory. If any of temperature exceeds , alarming circuit should be triggered and if temperature is further increased to , the cooling system should be started each of four sensor has their own alarming circuit and cooling circuit. Then a) Design system using 8255 PPI interface at F0H using I/O mapped I/O of 8085 microprocessors. Assume necessary components to fulfill your design.

Solution

I/O-Mapped Address Decoding at Base Address F0H: In 8085 I/O-mapped I/O, port addresses are 8 bits () and the signal is HIGH ().

Component Selection and 8255 Port Assignment:

System Block & Interfacing Schematic:

8085 - 8255 (F0H-F3H) - ADC0808 - 4-Sensor Alarm & Cooling SystemText
   8085 CPU                    8255A PPI                       ADC0808
 +-----------+               +-----------+                   +---------+
 | D0 - D7   |<=============>| D0 - D7   |                   |         |
 | A1, A0    |-------------->| A1, A0    |    8-bit Data     |         |
 | A7..A2,   |--[7-in NAND]->| CS'   PA  |<==================| D0 - D7 |
 |  IO/M'    |               |           |                   |         |
 | RD'       |-------------->| RD'   PC0 |------------------>| ADD A   |
 | WR'       |-------------->| WR'   PC1 |------------------>| ADD B   |
 +-----------+               |       PC2 |------------------>| ALE/SOC |
                             |       PC7 |<------------------| EOC     |
   4 Alarm Drivers   <-------| PB0 - PB3 |    Temp Sensor 1->| IN0     |
   (Sensors 1-4)             |           |    Temp Sensor 2->| IN1     |
   4 Cooling Drivers <-------| PB4 - PB7 |    Temp Sensor 3->| IN2     |
   (Sensors 1-4)             +-----------+    Temp Sensor 4->| IN3     |
                                             GND ----------->| ADD C   |
                                             Ext. Clock ---->| CLK     |
                                                             +---------+
Answer:

The 8255 PPI is decoded at I/O-mapped addresses F0H (Port A), F1H (Port B), F2H (Port C), and F3H (CWR) using and . An ADC0808 multiplexes the four temperature sensors on –: Port A reads digitized temperatures, Port C Lower (PC0–PC2) drives channel select and ALE/SOC, Port C Upper (PC7) polls EOC, and Port B drives the four alarm circuits (PB0–PB3) and four cooling circuits (PB4–PB7) via isolation drivers.

All past exam questions for Instrumentation