Home / Learn Embedded C / AVR, STM32 and ESP32 at a Glance
AVR, STM32 and ESP32 at a Glance
A one-page comparison of the three chip families this course refers to most.
The idea, explained simply
Definition
AVR (8-bit, e.g. Arduino Uno), STM32 (32-bit ARM Cortex-M) and ESP32 (32-bit, with built-in Wi-Fi/Bluetooth) are three widely used, well-documented microcontroller families.
Why you need this
These three cover most of what a beginner-to-intermediate embedded developer will meet: a simple 8-bit classic, a serious 32-bit industrial workhorse, and a wireless IoT chip.
How it works
Each has its own toolchain (avr-gcc, arm-none-eabi-gcc, and the ESP-IDF/Arduino core) and peripheral register layouts, but the C language and most embedded patterns (GPIO, timers, interrupts, UART) transfer directly between them.
Where you'll see this
- Hardware selection
- Job interview chip-family questions
Try it
This mirrors the quick mental shortcut many engineers use before a deeper requirements comparison.
| Family | Core | Typical RAM | Standout feature |
|---|---|---|---|
| AVR (ATmega328P etc.) | 8-bit AVR | ~2 KB | Simple, beginner-friendly, huge Arduino ecosystem |
| STM32 | 32-bit ARM Cortex-M | 20 KB–1 MB+ | Very wide peripheral set, strong industrial support |
| ESP32 | 32-bit Xtensa / RISC-V | ~320–520 KB | Built-in Wi-Fi and Bluetooth |
This course's "Chip Families" group goes into each of these in more depth, including real register-level examples and gotchas for each.
Try it: comparing typical RAM across the three families
Looping over parallel arrays like this is a quick way to compare a spec across several chip families side by side.
Test what you just read
1. Which family is specifically known for built-in Wi-Fi and Bluetooth?
ESP32 chips integrate Wi-Fi and Bluetooth radios directly on the chip.