What Is a Microcontroller (MCU)?
A microcontroller (MCU) is a small computer that combines a processor core, memory and peripherals on a single chip. It's the brain of embedded systems and the most common kind of microchip.
What's Inside It?
An MCU usually contains: a processor core (CPU), program memory (Flash), working memory (RAM) and peripherals (GPIO pins, ADC, timers, UART/SPI/I2C). It offers a complete system on one chip.
How Does It Work?
The program written to Flash is run step by step by the CPU at startup. The MCU interacts with the outside world (sensors, motors, LEDs) by reading and writing its pins. Units like PWM and ADC make this interaction easier.
| Unit | Job |
|---|---|
| CPU | Runs instructions |
| Flash | Stores the program |
| RAM | Temporary data |
| Peripheral | Outside-world connection |
Difference From a Microprocessor
A microprocessor (MPU) only computes and needs external memory and peripherals; an MCU holds them all inside. So an MCU is ideal for small, cheap and low-power applications. For a detailed comparison of the two concepts, see the microcontroller vs microprocessor difference article.
Where Is It Used?
Home appliances, toys, automotive modules, IoT devices, development boards (Arduino) and almost every embedded product.
Common Mistakes
- Insufficient memory: choosing too little Flash/RAM for the program or data causes trouble later.
- Missing peripherals: the required number of ADC/UART should be planned in advance (selection criteria).
- Power budget: if it will run on a battery, the sleep-mode consumption matters.
Frequently Asked Questions
Is an Arduino an MCU?+
Can an MCU have an operating system?+
Search parts related to "What Is a Microcontroller (MCU)?"
Find the right part by comparing price, stock and distributors.