Asem Ameen QaidElectrical Engineering · UII
Home00Work01Research02Leadership03About04CV05Contact06
Work/AAQ-P02

Dryer Control System Using the 8086 Microprocessor

A dryer controller written in 8086 assembly: it keeps temperature at a setpoint and sounds an alarm when pressure goes too high.

AAQ-P02Digital hardware & microprocessors
ContextComputer Systems & Microprocessors · final project
PeriodJanuary 2026
RoleIndividual project
Hardware8086 · 8255 PPI · ADC0804 · LM35 · MPX4115A
Tools8086 assembly · Proteus
Design Simulated

Complete circuit and program run in Proteus.

Tests Simulated

15 simulated cases at setpoints of 30 °C and 100 kPa; heater and alarm switched as specified in each case.

Not built Not yet shown

No physical hardware was built.

Interfacing

An LM35 temperature sensor and an MPX4115A pressure sensor produce analog voltages that an ADC0804 converts to 8-bit values. The 8255 PPI, configured in Mode 0, handles all I/O: Port A drives the seven-segment display, Port B reads the ADC, and Port C reads the push buttons and drives the heater relay and buzzer.

Block diagram: 8086, 8255 ports, ADC, sensors and outputs.
Block diagram: 8086, 8255 ports, ADC, sensors and outputs.
8255 control word 8AH, bit by bit.
8255 control word 8AH, bit by bit.
Proteus simulation circuit.
Proteus simulation circuit.

Control logic

The main loop reads the buttons, samples both sensors and compares them with the setpoints. The heater turns on while temperature is below the setpoint (CMP and JB) and the buzzer sounds while pressure is above its limit (CMP and JA). Inputs and outputs share Port C, so outputs are written through a masked copy (OUT_IMAGE) to avoid disturbing button reads.

Program flowchart.
Program flowchart.

Simulation results

No.Temperature (°C)Pressure (kPa)HeaterBuzzer
12285ONOFF
22595ONOFF
32898ONOFF
429102ONON
53090OFFOFF
630105OFFON
73288OFFOFF
833110OFFON
93597OFFOFF
1036115OFFON
112792ONOFF
1226108ONON
133199OFFOFF
1434101OFFON
1524120ONON

Shown

  • Heater on/off around the temperature setpoint
  • Alarm and automatic recovery for over-pressure

Limits and next steps

  • Simulation only; real sensor noise and relay timing not tested
  • On–off control only; no hysteresis or PID

Resources

  • PDF Project report · 10 pagesAAQ-P02_8086-Dryer-Control_Project-Report.pdf Open PDF
  • ASM Assembly source codedryer-control-8086.asm View code