An embedded system combines computing hardware and software within a larger product to perform defined functions. Examples include appliance controllers, sensor nodes and industrial instruments. Its requirements usually include more than correct calculations: timing, power, memory, interfaces and recovery behavior are part of the design.
Reviewed 12 November 2026 · Worked examples with stated assumptions
On this page
What are the main components?
- Input / sensor
- Acquisition
- Processing + memory
- Output / communication
- Supervision + recovery
A sensor path may require analog conditioning and an ADC; a digital sensor may supply data over a bus instead. The processor runs firmware using memory and peripherals, then reports results or controls outputs. Power, clock and reset circuits support the entire path.
Not every system contains every block. Choose components from the requirements rather than copying a generic block diagram.
Follow a temperature-monitor example
Consider a low-voltage teaching monitor that samples a sensor every 10 ms, checks whether the reading is in range and updates an indicator. The design needs a sampling trigger, a measurement interface, validation logic and an output policy. It also needs a response to a disconnected sensor.
Define what “in range” means, how stale data is detected and what happens after reset. Averaging a few samples may reduce noise but adds delay; record that trade-off in the requirement.
Embedded does not always mean hard real-time
A user-interface update that is occasionally late differs from a control action with a strict deadline. “Real-time” describes timing requirements, not simply a fast processor. Some embedded products run a small main loop; others use an RTOS or a richer operating system.
Specify which events have deadlines and how a missed deadline is detected. Merely installing an RTOS does not prove they will be met.
Budget the resources explicitly
For a 10 ms sample period, an illustrative 0.2 ms acquisition, 0.3 ms processing and 0.1 ms output path uses 0.6 ms before other work and interruptions. The arithmetic leaves 9.4 ms, but this is not a worst-case proof unless blocking, interrupt load and variability are bounded.
Also count RAM buffers, stack usage, communication bandwidth and energy per sample. A program can fit in flash and still fail because its stack or input queue is too small.
What should the first project demonstrate?
- Known inputs produce the expected outputs.
- Bad, missing and out-of-range inputs have defined responses.
- Timing is measured under representative load.
- Reset and interrupted operations recover as specified.
- Build settings and hardware versions are recorded.
Start with a safe, low-voltage experiment. A functional desktop model is useful evidence about logic, but it does not validate a physical sensor or board.
Common questions
Is every microcontroller project an embedded system?
A microcontroller is a component. It becomes part of an embedded system when hardware and software implement defined product functions.
Does an embedded system need internet access?
No. Many operate entirely offline. Connectivity adds requirements rather than defining the category.
References and practice checks
The practice package includes original arithmetic models, a small RTL simulation and a host C exercise. Each states its test boundary; none is a silicon or board validation claim.