Input and Output Devices
Sensors and Actuators
Syllabus Topic 3.2: Interacting with the Real World
1. The Analogue Problem
Physical properties in the real world (light, heat, pressure) are Analogue—they are continuous and constantly changing. However, the Microprocessor is a Digital device—it only understands discrete $1$s and $0$s.
Analogue-to-Digital Converter
Converts sensor signals for the CPU.
Digital-to-Analogue Converter
Converts CPU commands for Actuators.
2. Common Sensors (Input)
A sensor is an input device that measures a physical property and sends data to a microprocessor.
App: Street lights, Smartphone screen brightness.
App: Electronic scales, Security mats (burglary detection).
App: Automatic doors, Burglar alarms.
App: Car parking sensors.
App: Water meters, medical ventilators.
3. Actuators (Output)
An Actuator is an output device that carries out a physical action based on commands from the microprocessor.
App: Automated irrigation, Central heating systems.
App: Washing machines, Robot arms, Fans.
App: Microwave "finish" chime, Alarms.
App: Smart thermostats, Automated greenhouses.
4. The Role of the Microprocessor
The microprocessor acts as the "decision maker." It follows this logic loop:
- Receives Digital data from the ADC.
- Compares this data against a Pre-set Value (e.g., Is the temp > 25°C?).
- If the condition is met, it sends a Digital signal to the DAC to trigger the Actuator.