Resources | Subject Notes | Computer Science
An embedded system is a specialized computer system designed to perform a dedicated function, often as part of a larger mechanical or electrical system. Unlike general-purpose computers (like laptops or desktops), embedded systems are typically constrained by resource limitations such as processing power, memory, and power consumption. They are often real-time systems, meaning they must respond to inputs within strict time constraints.
Embedded systems can be categorized based on their complexity and application areas.
Component | Description |
---|---|
Microcontroller (MCU) | The central processing unit (CPU) of the system. Executes instructions and controls peripherals. |
Memory (RAM & ROM) | RAM (Random Access Memory) is used for temporary data storage. ROM (Read-Only Memory) stores the program code. Flash memory is a common type of ROM that can be reprogrammed. |
Input/Output (I/O) Interfaces | Allow the system to interact with the external world. Examples include digital I/O pins, analog-to-digital converters (ADCs), and serial communication interfaces (UART, SPI, I2C). |
Timers/Counters | Used for timing events, generating delays, and counting pulses. Essential for real-time operation. |
Communication Interfaces | Enable communication with other devices or systems. Examples include USB, Ethernet, Wi-Fi, and Bluetooth. |
Power Supply | Provides the necessary electrical power to the system. Can be batteries, AC adapters, or other power sources. |
Sensors | Devices that detect physical phenomena (e.g., temperature, pressure, light) and convert them into electrical signals. |
Many embedded systems use RTOS to manage tasks and resources. An RTOS ensures that critical tasks are executed within their deadlines. Common RTOS features include task scheduling, inter-process communication, and memory management.
Embedded systems are ubiquitous in modern life. Some examples include: