Visual
Concept overview
A microcontroller (MCU) integrates a CPU core, flash memory, RAM, and a set of peripherals including timers, ADC, UART, SPI, I2C, and GPIO into a single chip. In IoT applications, the MCU reads physical-world data through sensors, performs local processing or filtering, and transmits results over a wireless or wired network. The choice of MCU depends on the trade-off between processing capability, power consumption, available peripherals, and wireless connectivity options.
Real-world applications
How it works in practice
A typical IoT sensor node operates as an event loop driven by interrupts and timers. At startup, the MCU initialises peripherals, establishes a network connection, and enters a low-power sleep mode. A real-time clock or watchdog timer wakes the MCU at the programmed interval. The ADC samples the sensor output, firmware applies a calibration polynomial, and the result is formatted as a JSON or CBOR payload. The payload is passed to the wireless driver, which manages the MAC layer handshake and radio state machine. After acknowledgement, the MCU cuts power to the sensor and radio and re-enters sleep. Power budgeting is critical: on a coin cell with 220 mAh capacity, transmitting every 60 seconds at 15 mA for 10 ms and sleeping at 2 microamps otherwise gives a lifetime of approximately three years. Security at the MCU level involves storing TLS session keys or pre-shared keys in a dedicated secure element such as the ATECC608B, which communicates with the MCU over I2C and performs elliptic-curve operations without exposing key material on the bus.
Examples
Future scope
Microcontrollers with integrated neural processing units (NPUs) such as the Arm Ethos-U55 are entering the IoT market through devices like the Alif Ensemble E7 and the Arduino Nicla Vision. These NPUs execute quantised convolutional neural network inference at under 1 mW for keyword spotting and anomaly detection workloads, eliminating the need to transmit raw sensor data to the cloud. Matter, the new IoT interoperability standard from the Connectivity Standards Alliance, is driving adoption of Thread-enabled MCUs such as the nRF54L15 in smart home devices. Secure boot chains and remote attestation using on-chip trust anchor hardware are becoming mandatory in products shipped into the EU under the Cyber Resilience Act, which takes effect in 2027.