An embedded system is a computer system; a combination of a processor, memory, and input/output peripherals that has a dedicated function within a larger mechanical or electrical system.
It is fundamentally a specialized computer, in contrast to a general purpose computer like a PC.
The world of computing can be seen as a spectrum from highly flexible, general purpose machines to highly specialized, single purpose devices.
| FEATURE | GENERAL PURPOSE PC | COMPLEX EMBEDDED SYSTEM (E.G., SMARTPHONE) | SIMPLE EMBEDDED SYSTEM (COURSE FOCUS) |
|---|---|---|---|
| Primary Goal | Run any application the user wants. | Perform a primary function (e.g., phone calls) while also running a variety of specialized apps. | Perform one specific task reliably and repeatedly. |
| Examples | Desktop PC, Laptop | iPhone, Android Phone, Smartwatch | Arduino, Refrigerator Controller, Car Engine Control Unit (ECU), Electric Toothbrush |
| Software Stack | Hardware Firmware (BIOS/UEFI) OS (Windows/macOS/Linux) Applications | Hardware Firmware OS (iOS/Android) Apps | Hardware Firmware (That's it!) |
| User Interaction | Full keyboard, mouse, large display. Highly interactive. | Touchscreen, voice commands, limited buttons. | Often no direct user interaction. May have a single button or sensor input. |
| Resources | Abundant (e.g., 16+ GB RAM, 1+ TB Storage) | Moderate (e.g., 8 GB RAM, 256 GB Storage) | Highly Constrained (e.g., 2 KB RAM, 32 KB Storage) |
Definition: Firmware is a specific class of computer software that provides low-level control for a device's specific hardware. It is the program that is "firmly" embedded into the hardware, often stored in non-volatile memory.
Analogy: If hardware is the body and application software (like Word or Chrome) is the clothing you can change, then firmware is the brainstem—it controls the fundamental, unchanging functions of the body.
A microprocessor is the brain of a computer, a single chip containing the full central processing unit (CPU). It's a programmable device that processes binary data based on stored instructions.
A microprocessor consists of several key components working together.
This is the fundamental process of a microprocessor:
Buses are the communication pathways in a computer system.
From humble beginnings to modern powerhouses.
The Intel 8085 is a foundational 8-bit microprocessor.
A closer look at the internal structure of the 8085.
How the CPU communicates with the outside world.
A mechanism for hardware or software to request the CPU's attention.
Microprocessors are the foundation of modern computing. Understanding their architecture and operation is key to understanding how computers work.
An iconic microprocessor that powered a generation of computers and game consoles.
The 6502 was at the heart of many revolutionary products.
A look at the registers and internal structure of the 6502.
The 8051 is a classic 8-bit microcontroller that is still popular for learning and in many embedded systems.
A microcontroller is a computer on a chip.
A microcontroller integrates many components into a single package.
A single company controls the entire stack: CPU design, peripheral integration, chip manufacturing, and sales. This creates a self-contained ecosystem with proprietary tools and architectures.
ARM designs processor cores and licenses them to other companies. These companies then build unique microcontrollers around the licensed core.
Most embedded systems are programmed in high-level languages like C and C++, which offer portability and readability. However, low-level programming is still essential.
Microcontrollers are at the heart of the vast world of embedded systems, from everyday appliances to complex industrial machinery.