PartAndStock
Microcontrollers & Processors

What Is a Microcontroller (MCU)?

1 min read
Quick answer

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.

UnitJob
CPURuns instructions
FlashStores the program
RAMTemporary data
PeripheralOutside-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?+
An Arduino is a development board; the main chip on it (e.g. ATmega328) is a microcontroller.
Can an MCU have an operating system?+
Most simple MCUs run without an OS; more complex ones can use an RTOS.

Search parts related to "What Is a Microcontroller (MCU)?"

Find the right part by comparing price, stock and distributors.

Search These Parts