An embedded system generally comprises:
- A microprocessor or microcontroller
- Memory (RAM, ROM)
- Communication interfaces (serial ports, USB, etc.)
- Sensors and actuators
- A real-time operating system (RTOS) or specific firmware