Learning Objectives
- Define an embedded system and identify its main characteristics.
- Distinguish an embedded system from a general-purpose computer.
- Describe how embedded processors are used in appliances, vehicles, security systems, lighting systems and vending machines.
- Explain the input-process-output cycle in an embedded application.
- Evaluate advantages and limitations of using embedded systems.
Key Terms
- Embedded system
- A computer system built into a larger device to perform a specific control or monitoring function.
- Dedicated function
- A limited, clearly defined task for which a system is designed.
- Firmware
- Software stored in non-volatile memory that controls a device.
- Sensor
- An input device that measures a physical property and sends data to a computer system.
- Actuator
- An output device that causes a physical action, such as movement or switching.
- Real-time processing
- Processing in which the system must respond within a required time interval.
- Controller
- A processor-based unit that receives input, makes decisions and controls outputs.
- Monitoring
- Collecting and checking data about a system or environment.
- Control system
- A system that uses input data and programmed rules to adjust an output.
- General-purpose computer
- A computer designed to run many different kinds of application software.

Characteristics Of Embedded Systems
An embedded system is a computer system contained within a larger product. It is designed to perform one dedicated function or a small group of related functions. The user normally interacts with the product rather than with a visible desktop-style computer.
Embedded systems usually contain a microprocessor or microcontroller, memory, input connections and output connections. Their program is often stored as firmware in non-volatile memory so that it is available whenever the device is switched on. The hardware can be selected specifically for the task, reducing cost, size and power consumption.
Many embedded systems operate continuously and must respond quickly to changing input. Reliability is important because a failure may affect the whole product. In safety-related applications, such as vehicle control or security systems, correct timing and dependable operation are especially significant.
Embedded And General-Purpose Systems
A general-purpose computer is designed to run many applications selected by the user. It usually has a flexible operating system, substantial storage and a wide range of input and output devices. An embedded system normally runs fixed control software and may have no conventional keyboard, mouse or monitor.
The distinction depends on purpose rather than physical size. A small laptop is general purpose because users install and run many applications. A large industrial controller may be embedded because it performs a dedicated monitoring and control role.
Some modern devices combine both characteristics. A smart television has embedded control functions but may also run downloadable applications. For syllabus questions, identify the main dedicated purpose and explain how the system is integrated into a larger device.
Examples Required By The Syllabus
Household appliances use embedded systems to control timed and sensor-based operations. A washing machine controller may read water level and temperature, operate valves and a motor, and follow a stored wash program. A microwave may use keypad input, a timer and output control for the magnetron and turntable.
Cars contain embedded systems for engine management, braking assistance, airbags, parking support and climate control. Security systems may read motion, door or infrared sensors and then activate alarms, lights or messages. Lighting systems may use timers, light sensors or motion sensors to decide when lamps should be switched on.
A vending machine accepts selections and payment information, checks availability and credit, releases a product using an actuator and updates stored totals. Each example follows the same pattern: receive input, process it according to a stored program and control an output.
Advantages, Limitations And Security
A dedicated embedded system can be inexpensive, compact, energy efficient and fast for its particular task. Automatic control can improve consistency and allow a device to operate without continuous human attention. It can also collect data and respond more quickly than a person.
A limitation is that the system is less flexible than a general-purpose computer. Updating or repairing firmware may require specialist tools. If sensors provide incorrect data or software contains an error, the device may make incorrect decisions. Designers therefore use testing, validation and fail-safe behaviour.
Connected embedded systems create security concerns. An attacker who gains network access might change settings, obtain data or interfere with physical operation. Secure updates, authentication and restricted access help reduce risk, although detailed cybersecurity methods belong mainly to another syllabus topic.
Embedded And General-Purpose Computers
| Feature | Embedded System | General-Purpose Computer |
|---|---|---|
| Purpose | One specific function or a small related set. | Many different user-selected tasks. |
| Software | Usually fixed firmware or dedicated control program. | Operating system and many applications. |
| Hardware | Chosen and limited for the product’s task. | Flexible hardware supporting varied use. |
| User interface | May use buttons, indicators or no direct interface. | Usually keyboard, pointing device, display and other peripherals. |
| Resources | Often limited memory, storage and power use. | Usually greater resources and expansion capability. |
Embedded-System Examples
| Application | Possible Inputs | Processing Decision | Possible Outputs |
|---|---|---|---|
| Washing machine | Water level, temperature, door and program selection. | Choose wash stage and check safety conditions. | Valves, heater, pump and motor. |
| Car system | Speed, wheel rotation, pressure or proximity. | Determine whether corrective action is required. | Warning, brake control or dashboard display. |
| Security system | Door, movement or infrared sensor. | Check whether system is armed and intrusion detected. | Alarm, light or notification. |
| Automatic lighting | Light level, motion and time. | Decide whether lighting is needed. | Switch or dim lamps. |
| Vending machine | Selection, payment and stock status. | Validate payment and availability. | Display, refund mechanism and product release actuator. |
Worked Examples
Analysing A Greenhouse Controller
Question: A greenhouse uses temperature and moisture sensors, a heater, a fan and a water valve. Explain how the embedded system controls conditions.
- Sensors repeatedly supply current temperature and moisture values.
- The controller compares each value with programmed limits.
- If temperature is too low it activates the heater; if too high it activates the fan.
- If soil moisture is too low it opens the water valve.
- The cycle repeats so that output changes as conditions change.
Answer: The embedded system monitors sensor data, compares it with stored thresholds and controls actuators to maintain the required environment.
Identifying An Embedded System
Question: Explain why the controller inside an automatic door is an embedded system.
- It is part of the larger door mechanism.
- It performs a dedicated task rather than running many user applications.
- It reads sensors such as proximity detectors.
- It controls the door motor through an actuator interface.
Answer: It is integrated into the door and is dedicated to detecting users and controlling opening and closing.
Examination Guidance
- Include both ‘built into a larger device’ and ‘specific function’ in a definition.
- For an application question, organise the answer as input, processing decision and output.
- Use actual sensor and actuator examples rather than saying only that the system ‘works automatically’.
- Do not assume that every small computer is embedded; purpose is the deciding factor.
- When evaluating, balance benefits such as automation with limitations such as inflexibility or dependence on correct sensor data.
Common Mistakes
- Calling any electronic device an embedded system without identifying a processor and dedicated task.
- Saying an embedded system cannot contain software.
- Confusing a sensor, which supplies input, with an actuator, which produces physical output.
- Describing only the appliance and not the computer control process.
- Claiming embedded systems are always disconnected from networks.
Knowledge Check
1. What is an embedded system?
2. Why is firmware suitable for an embedded system?
3. How does a sensor differ from an actuator?
4. Give two syllabus application areas for embedded systems.
5. Why can embedded hardware be smaller and cheaper than a general-purpose computer?