Microcontroller
Also known as: MCU, Microcontroller unit
Small computer on a single integrated circuit, with a processor, memory and programmable input and output, designed to control electronic devices.
A microcontroller (MCU) is a self-contained computer on one chip, built to control a specific device rather than to run general-purpose software. It combines a processor core with program storage in flash memory, a small amount of RAM and peripherals for interacting with the physical world: general-purpose input and output pins, timers, analog-to-digital converters and communication interfaces such as UART, SPI and I2C. Microcontrollers are typically inexpensive, consume very little power and can run for years on a battery, which is why they are found in billions of devices.
Texas Instruments' TMS1000, available from 1974, is commonly cited as the first commercial microcontroller, and Intel's 8048 and 8051 families became industry staples. Widely used families include Microchip's PIC and AVR lines, many chips based on ARM Cortex-M cores, Espressif's ESP32 with built-in Wi-Fi and Bluetooth and the RP2040, designed by Raspberry Pi. Microcontrollers are usually programmed in C or C++, often running directly on the hardware without an operating system or with a small real-time operating system. Higher-level options such as MicroPython have made them more accessible to beginners.
Microcontrollers are the hidden brains of washing machines, keyboards, toys, thermostats, cars, medical devices and industrial equipment, and they form the heart of most embedded systems and Internet of Things devices. Boards such as the Arduino made them accessible to artists, students and hobbyists, fueling the maker movement. Unlike a single-board computer, which runs a full operating system, a microcontroller usually runs a single dedicated program with predictable timing, which suits tasks that must respond reliably to sensors and signals.
Key points
- A microcontroller combines processor, memory and input and output peripherals on one chip.
- Microcontrollers are cheap and low-power, and they are embedded in billions of devices.
- They usually run one dedicated program, often without a full operating system.
- Arduino boards made microcontroller programming accessible to hobbyists and artists.
Related entries
Embedded System
Computer system with a dedicated function built into a larger device, often with limited resources and strict timing or reliability requirements.
Arduino
Open-source electronics platform of microcontroller boards and simple programming tools, created in Italy in 2005 for artists and students.
Internet of Things
Network of everyday physical objects fitted with sensors, software and connectivity so they can collect and exchange data and be controlled remotely.
Single-Board Computer
Complete computer built on a single circuit board, usually small and inexpensive and able to run a full operating system.
Firmware
Software stored in a hardware device's non-volatile memory that provides low-level control of the device and often starts it up.
C
General-purpose programming language created by Dennis Ritchie at Bell Labs in the early 1970s, foundational for operating systems and embedded software.
Sensor
Device that detects a physical property or change, such as temperature, light, motion or pressure, and converts it into a signal a system can use.
Maker Movement
Do-it-yourself culture of people who design, build and share physical projects, combining electronics, digital fabrication, crafts and open knowledge.
Featured in guides
Referenced by
Other entries that discuss or point to Microcontroller.