Introduction: Your Journey into Embedded Systems
Welcome to the foundational world of embedded systems. At its core, a system is an arrangement where all units work together according to a set of rules. Think of a simple watch: its components follow a fixed plan to display the time. An embedded system builds on this concept; it is a computer hardware system with software embedded within it, designed to perform a specific, dedicated task. For example, a fire alarm is an embedded system designed for one purpose only: to sense smoke and sound an alarm.
Every embedded system is built upon three fundamental components:
- Hardware: The physical microcontroller, peripherals, and circuitry.
- Application Software: The code you will write to perform the system’s specific function.
- Real-Time Operating System (RTOS): A supervisory layer that manages the application software and controls latencies. Remember, many small-scale systems you’ll encounter will not have an RTOS, so you’ll be managing program flow directly.
This manual is designed to provide you, the new engineer, with the foundational knowledge and practical skills required to develop robust applications using the venerable and highly instructive 8051 microcontroller. This journey will take you from the high-level concepts of embedded systems to the low-level details of writing assembly code for a specific, powerful piece of hardware.