You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers embedded systems — dedicated computer systems built into larger devices to perform specific functions. For the OCR H446 exam, you must understand the characteristics of embedded systems, provide examples, compare them with general-purpose computers, and discuss the Internet of Things (IoT).
An embedded system is a computer system that is integrated into a larger device and designed to perform a specific, dedicated function. Unlike a general-purpose computer (which can run any software), an embedded system typically runs a fixed program stored in ROM or flash memory.
| Characteristic | Explanation |
|---|---|
| Dedicated function | Designed to do one specific task or a small set of related tasks |
| Embedded within a larger system | Not a standalone computer — it is built into a product |
| Real-time operation | Often must respond to inputs within strict time limits (milliseconds or microseconds) |
| Limited resources | Typically has a small processor, limited RAM and limited storage compared to a PC |
| Low power consumption | Often battery-powered or must run continuously with minimal energy use |
| Runs firmware | Program is stored in ROM or flash memory; rarely updated by the user |
| Minimal or no user interface | May have no screen or keyboard; interaction might be through buttons, LEDs, or sensors |
| Low cost per unit | Designed for mass production; cost must be minimised |
| High reliability | Must work consistently without crashes — often in safety-critical applications |
| Device | Embedded Function | Typical Processor |
|---|---|---|
| Washing machine | Controls water temperature, spin speed, cycle timing | Microcontroller (e.g. PIC, ARM Cortex-M) |
| Microwave oven | Controls magnetron power, timer, turntable motor | Simple microcontroller |
| Car engine management | Monitors sensors (temperature, oxygen, speed), controls fuel injection, ignition timing | Automotive microcontroller |
| Digital watch | Keeps time, displays date, alarm function | Ultra-low-power microcontroller |
| Traffic light controller | Manages light sequences, responds to sensors and pedestrian buttons | PLC or microcontroller |
| Smart thermostat | Monitors temperature, controls heating/cooling, learns user preferences | ARM-based SoC with Wi-Fi |
| Anti-lock braking system (ABS) | Detects wheel lock-up and rapidly adjusts brake pressure | Real-time microcontroller |
| Fitness tracker | Monitors heart rate, steps, sleep; displays data | ARM Cortex-M with Bluetooth |
| Router | Manages network traffic, assigns IP addresses, provides firewall | MIPS or ARM SoC running embedded Linux |
| TV remote control | Sends infrared signals corresponding to button presses | Simple 8-bit microcontroller |
| Feature | Embedded System | General-Purpose Computer |
|---|---|---|
| Purpose | Single dedicated function | Can run any software for many different tasks |
| Operating system | Often none, or a lightweight RTOS (Real-Time Operating System) | Full OS (Windows, macOS, Linux) |
| User interface | Minimal or none (buttons, LEDs, small display) | Full GUI with keyboard, mouse, monitor |
| Processing power | Low — only enough for its specific task | High — multi-core, high clock speed |
| RAM | Very limited (kilobytes to megabytes) | Large (gigabytes) |
| Storage | Small (ROM/flash, kilobytes to megabytes) | Large (HDD/SSD, gigabytes to terabytes) |
| Software | Fixed firmware; rarely changed | User-installable software; frequently updated |
| Power consumption | Very low — often battery-powered | Higher — requires mains power |
| Cost | Low (mass-produced, minimal components) | Higher |
| Size | Very small — can fit on a single chip | Larger (desktop/laptop form factor) |
| Examples | Washing machine controller, ABS, smartwatch | Desktop PC, laptop, server |
Exam Tip: When comparing embedded and general-purpose systems, always provide at least four specific differences. For full marks, include examples for each type.
Some embedded systems use a Real-Time Operating System — a lightweight OS designed to process inputs and produce outputs within guaranteed time constraints.
| Type | Requirement | Example |
|---|---|---|
| Hard real-time | The deadline MUST be met — missing it could cause catastrophic failure | Aircraft flight control, ABS braking, pacemaker |
| Soft real-time | The deadline should be met, but occasional misses are tolerable | Video streaming, music playback |
| Firm real-time | Missing the deadline makes the result useless, but does not cause catastrophic failure | Manufacturing quality control on a production line |
| Feature | RTOS | General-Purpose OS |
|---|---|---|
| Response time | Guaranteed, deterministic | Best effort, non-deterministic |
| Task scheduling | Priority-based, preemptive | Time-sharing, fairness-focused |
| Size | Very small (kilobytes) | Large (gigabytes) |
| Examples | FreeRTOS, VxWorks, Zephyr | Windows, macOS, Linux |
The Internet of Things refers to the growing network of everyday physical devices that are connected to the internet and can collect, send and receive data.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.