Menu

Embedded Systems

Embedded Systems & General Purpose Computers

An embedded system is a computer system built into a larger device to carry out a dedicated function: one particular job, or a small set of related jobs. Its purpose is to control or perform that function as part of the device, not to run many different programs. The controller inside an electronic keyboard, for example, turns key presses into sounds and runs no other software.

A general-purpose computer is different: it can carry out many tasks, and you change what it does by running or installing different software.

How they compare

FeatureEmbedded systemGeneral-purpose computer
Main jobOne function, or a few related tasksMany different tasks
SoftwareFixed program; you cannot normally install new softwareYou install and run different programs
Size, power and costTypically smaller, lower power, cheaperTypically larger, uses more power, costs more
Processing and memoryLimited to what the task needsMuch more processing power and memory
Complexity and reliabilitySimple, so reliable in its dedicated roleComplex, so less suitable for one control task

Why use an embedded system?

A device may use an embedded system rather than a general-purpose computer to keep the product smaller, cheaper, lower power and more reliable. Smaller means it fits inside the product; cheaper means the whole product costs less; lower power means it can run from a battery; simpler hardware and a fixed program mean fewer things can go wrong.

The keyboard's controller shows this. It is built into the keyboard, has a processor and limited memory, and uses dedicated hardware such as its keys as input. Its fixed program is hard for you to change and is usually held in ROM. A general-purpose computer could also generate sound, but it would bring a full operating system the instrument does not need, and its extra cost, size and complexity would make it a poorer fit for one control task; the keyboard's small fixed controller gives a fast, consistent response to every key press.

Practise this