A microcontroller, often abbreviated MCU, is a complete small computer built onto a single integrated circuit. Where a microprocessor is essentially just a CPU that needs external memory and support chips to do anything, a microcontroller packages the processor together with program memory, data memory, and a collection of input and output peripherals on one piece of silicon. The result is a self-contained controller that can be dropped into a product and made to run a fixed task with very few additional components.
Vendor datasheets show this integration concretely. Microchip’s ATmega328P datasheet describes an 8-bit CPU paired with Flash program memory, SRAM, EEPROM, timers, an analog-to-digital converter, and serial interfaces, all in one package. Microchip’s PIC16F87XA datasheet describes a similar arrangement around a different CPU core: on-chip program and data memory, an instruction set executed directly from internal Flash, plus timers, comparators, an ADC, and configurable I/O pins. In both cases the chip is the whole computer, not just the processor.
This design reflects a different goal from general-purpose computing. A desktop processor is optimized for raw speed and for running arbitrary software loaded at runtime. A microcontroller is optimized for cost, low power, predictable timing, and direct control of hardware. Its program is usually stored permanently in on-chip nonvolatile memory and runs the moment power is applied, with no operating system required. The peripherals, such as the general-purpose I/O pins, timers, and serial ports, exist precisely so the chip can sense and drive the physical world.
Because they are cheap, small, and need almost no surrounding circuitry, microcontrollers are produced and deployed in enormous numbers. They sit inside appliances, cars, medical devices, toys, industrial controllers, and countless other products, most of which their users never think of as computers. Microcontrollers vastly outnumber the visible computers in the world, and they are the foundation of embedded systems and, more recently, of the connected devices grouped under the term Internet of Things.
The same idea scales across architectures. The 8-bit families such as the 8051, PIC, and AVR established the pattern, while 32-bit cores like the ARM Cortex-M brought far more processing power into the same self-contained, low-power form. As integration increased further, the microcontroller blurred into the broader system-on-chip, which adds radios, graphics, and more onto the single die.