Microcontroller
A microcontroller (or MCU for "microcontroller unit) is a small integrated circuit that controls an electronic device. It is similar to a microprocessor but includes memory and other integrated components.
A typical microcontroller includes the following elements:
- CPU - ranging from a simple 4-bit processor to a full-blown 64-bit processor
- RAM - high-speed volatile memory used to store data temporarily
- Flash memory - a type of non-volatile memory used to store data with or without electrical power
- I/O interface - serial ports or other connectors for peripheral devices
- Wireless communications - transmitters or receivers for sending and receiving wireless signals
Some MCUs are several inches long and wide. Others are extremely small, with a length and width of less than one millimeter. Because microcontrollers are integrated circuits, most are relatively flat. Below are examples of different types of microcontrollers:
- an image processor on a digital camera
- a digital-to-analog converter (DAC) in a powered speaker
- a temperature sensor in a washing machine or dryer
- a Wi-Fi transmitter in a smart appliance
- a motion tracker in a smartwatch
Nearly all electronic devices include microcontrollers. Many include multiple MCUs that operate in tandem. An automobile, for example, may contain dozens of microcontrollers for sensors, communication, and user interface functions.