Microcontroller
A microcontroller executes firmware that reads inputs, processes information and controls outputs. Its built-in peripherals determine which measurements and interfaces it can handle directly. Motors, radios and other loads may need separate drivers or interface circuits.
A microcontroller combines a processor, memory and I/O functions. The processor executes a stored program, while peripherals handle jobs such as timing and communication. The available memory technology and peripherals vary by device, so not every MCU has flash, an ADC or the same communications interfaces.
In plain terms
A factory built into a postage stamp: a CPU foreman, RAM whiteboard, flash filing cabinet, and a swarm of pin-shaped robot arms reaching out to sensors and motors.
Also called: MCU, microcontroller unit.
Why designers use it
- Running firmware that coordinates a product's functions.
- Using timers and supported communications peripherals.
- Combining processing, memory and I/O in a compact device.
- Reducing power between tasks when the selected device and system support suitable sleep modes.
Best for
- Embedded brain of any product
- Sensor hubs
- Battery-powered IoT devices
- Motor and lighting control
Key specifications
- Processor: Architecture and instruction set of the exact device
- Memory: Program and data storage, including any required external memory
- Peripherals: Required interfaces, timers and analog functions
- Electrical limits: Supply, I/O thresholds and permitted pin currents
- Power and timing: Measured workload, sleep modes and response requirements
When not to use it
- Where you need full-OS workloads or heavy graphics — reach for an applications processor instead.
- Where bit-exact deterministic timing is needed at very high speed — an FPGA or dedicated logic wins.
Common mistakes
- Forgetting decoupling caps on every supply pin.
- Floating an enable pin and seeing intermittent boot failures.
- Driving more current from a GPIO than the datasheet allows.
Where you will find it
- The TMS1000 family was used in burglar alarms, garage-door openers, games and toys.
- Later 8-bit microcontroller families served more demanding automotive and computer-peripheral applications.
A short history
Texas Instruments' TMS1000 general-purpose microcontroller family was announced in 1974, building on Gary Boone and Michael Cochran's 1971 single-chip calculator design. Intel and Mostek introduced 8-bit families in 1976. Combining processing, memory and control functions in one device helped bring programmable electronics to appliances, toys and industrial products.
Good to know
- Early microcontrollers were not just miniature desktop computers. The TMS1000 family grew out of a single-chip calculator design.
- Intel's MCS-48 family offered both mask-ROM and EPROM versions. Reprogrammable EPROM made prototyping and small production runs more practical.