Skip to content
UPEEC

Microcontrollers

Tiny computers on a single chip — CPU, memory and peripherals — that control almost every electronic device.

Easy
Comments 0

A microcontroller (MCU) combines a processor core, flash memory, RAM and peripherals (GPIO, timers, ADC, UART, SPI, I2C, PWM) on one chip. Unlike a PC, it boots instantly, uses milliwatts or less, and runs one program forever.

Popular families: AVR (ATmega328P in the Arduino Uno), ARM Cortex-M (STM32, RP2040), ESP32 (Wi-Fi + Bluetooth), PIC and 8051.

Sub-topics (8)

GPIO

General-purpose input/output pins: configure them as inputs or outputs, with pull-ups and drive limits.

Beginner♥ 0🔖 0💬 0

Timers and PWM

Hardware timers count clock cycles to measure time, create delays, and generate PWM signals.

Easy♥ 0🔖 0💬 0

Microcontroller ADC

Reading analog sensors with the built-in ADC — reference voltage, resolution and sampling.

Easy♥ 0🔖 0💬 0

Watchdog Timer

A safety timer that resets the microcontroller if the software stops responding.

Easy♥ 0🔖 0💬 0

Low-Power Modes

Sleep modes let battery devices run for years by switching off clocks and peripherals between tasks.

Intermediate♥ 0🔖 0💬 0

Popular Development Boards

Arduino, ESP32, Raspberry Pi Pico, STM32 and Raspberry Pi — what each is good for.

Beginner♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.