Embedded Systems#
Cambridge (CIE) IGCSE Computer Science — Revision Notes#
1. What is an Embedded System?#
An embedded system is a computer system built into a larger device, designed to perform a specific, dedicated function.It is not a general-purpose computer (like a laptop or desktop).
It runs continuously, usually without user interaction.
It typically has limited resources (memory, processing power).
It is usually controlled by a microprocessor or microcontroller.
Simple Definition:#
A computer system with a dedicated function within a larger mechanical or electrical system.
2. Embedded Systems vs General-Purpose Computers#
| Feature | Embedded System | General-Purpose Computer |
|---|
| Purpose | Single, specific task | Many different tasks |
| User Interaction | Minimal or none | High (keyboard, mouse, screen) |
| Operating System | Simple / none | Full OS (Windows, macOS, Linux) |
| Resources | Limited (low RAM, storage) | Large RAM, storage, GPU |
| Cost | Usually cheap | More expensive |
| Examples | Washing machine, pacemaker | Laptop, desktop, tablet |
3. Examples of Embedded Systems#
Embedded systems are found in almost every modern device:🏠 Household#
🚗 Automotive#
Anti-lock braking systems (ABS)
Engine management systems
🏥 Medical#
📱 Consumer Electronics#
🏭 Industrial#
Traffic light controllers
4. Components of an Embedded System#
An embedded system typically contains:| Component | Role |
|---|
| Microprocessor / Microcontroller | The "brain" — executes instructions |
| ROM | Stores the fixed program (firmware) permanently |
| RAM | Temporary storage for data during operation |
| Input sensors | Collect data from the environment (e.g., temperature sensor) |
| Output actuators | Act on the environment (e.g., motor, display, alarm) |
| Clock | Synchronises operations and timing |
5. How an Embedded System Works#
Embedded systems typically follow a continuous sense → process → act loop:┌──────────────────────────────────────────┐
│ │
│ INPUT PROCESS OUTPUT │
│ (Sensors) → (Microprocessor) → (Actuators) │
│ ↑ ↓ │
│ ROM RAM │
│ │
└──────────────────────────────────────────┘Example — Washing Machine:#
1.
Input: User selects programme; sensors detect water level and temperature.
2.
Process: Microcontroller reads the fixed program from ROM and makes decisions.
3.
Output: Controls the motor, water valve, heater, and display.
6. Role of ROM in Embedded Systems#
The program in an embedded system is stored in ROM (Read-Only Memory).
This program is called firmware.
ROM is non-volatile — the program is retained even when power is off.
The program cannot (easily) be changed by the user — it is fixed at manufacture.
Firmware = software permanently programmed into a device's ROM.
7. Characteristics of Embedded Systems#
| Characteristic | Explanation |
|---|
| Dedicated function | Designed to do one job only |
| Real-time operation | Must respond to inputs within strict time limits |
| Reliability | Must work correctly every time, often in critical situations |
| Low power usage | Often battery-powered; must be energy efficient |
| Small size | Must fit inside the host device |
| Low cost | Mass-produced, so must be cheap to manufacture |
8. Real-Time Processing#
Many embedded systems must operate in real time — meaning they must process inputs and produce outputs within a guaranteed time period.Examples:#
An airbag system must detect a crash and inflate within milliseconds.
A pacemaker must deliver an electrical pulse at exactly the right moment.
A traffic light controller must change lights on a precise schedule.
Real-time system: A system that guarantees a response within a specified time constraint.
9. Advantages and Disadvantages of Embedded Systems#
✅ Advantages#
Optimised for their specific task — highly efficient.
Low cost due to minimal hardware requirements.
Small and lightweight — easy to fit inside devices.
Reliable and stable — runs the same program repeatedly.
❌ Disadvantages#
Cannot be easily reprogrammed or upgraded.
Limited processing power compared to general-purpose computers.
Difficult to diagnose faults — often no display or interface.
Fixed functionality — cannot adapt to new tasks.
10. Worked Scenario — Embedded System in a Burglar Alarm#
| Stage | Detail |
|---|
| Input | Motion sensor detects movement; door sensor detects opening |
| Process | Microcontroller checks sensor data against the stored program |
| Output | Triggers siren, sends alert to owner's phone, flashes lights |
| Storage | Program stored in ROM; current alarm state stored in RAM |
11. Key Vocabulary#
| Term | Definition |
|---|
| Embedded System | A dedicated computer system built into a larger device |
| Microcontroller | A small processor with built-in memory/I/O, used in embedded systems |
| Firmware | Software permanently stored in ROM that controls a device |
| Real-Time System | A system that must respond to inputs within a guaranteed time |
| Sensor | An input device that detects physical changes (heat, motion, etc.) |
| Actuator | An output device that causes a physical action (motor, valve) |
| Dedicated Function | Designed to perform one specific task only |
12. Exam Tips ✅#
Always give specific examples of embedded systems — examiners want detail
(e.g., "a pacemaker" not just "a medical device").
Remember the program is stored in ROM, not RAM.
Be able to describe the input → process → output cycle for a given embedded system.
Know why embedded systems use ROM (non-volatile, program must be retained without power).
Questions often ask you to identify whether a system is embedded — check if it has a single, fixed, dedicated purpose.
Real-time processing is a key feature — link it to time-critical applications.
Modified at 2026-04-03 09:48:13