MCU Basics for Embedded and IoT Engineers
Microcontroller basics cover what is inside an MCU and how firmware uses it. A microcontroller combines a CPU core such as ARM Cortex-M, flash, RAM and peripherals like GPIO, timers, ADC and PWM on one chip. Firmware configures these peripherals through registers or a vendor hardware abstraction layer.
Stage: Microcontrollers · Part of the Embedded and IoT Engineer roadmap · Last reviewed 19 November 2026
What to learn in MCU Basics
- Compare common boards and cores such as AVR, ESP32 and ARM Cortex-M STM32
- Configure a GPIO pin as input or output and read a button with debouncing
- Generate a PWM signal to dim an LED or control a servo
- Read an analog sensor through the ADC and convert counts to a voltage
- Use a hardware timer and interrupt instead of blocking delay loops
MCU Basics interview questions
What is the difference between a microcontroller and a microprocessor?
A microcontroller integrates CPU, memory and peripherals on one chip and runs a single dedicated program, usually without an operating system. A microprocessor is only the CPU and needs external memory and peripherals, and typically runs a general-purpose OS such as Linux.
How does PWM control the brightness of an LED?
PWM switches the pin on and off rapidly at a fixed frequency and varies the duty cycle, the fraction of each period it is on. The eye averages the flicker, so a higher duty cycle looks brighter. The same idea sets motor speed.
Where MCU Basics fits in the Embedded and IoT Engineer roadmap
MCU Basics belongs to the Microcontrollers stage (intermediate level), which takes about 47 hours. Talk to hardware.
Other units in this stage
Back to the full Embedded and IoT Engineer roadmap