ESP32 Tutorial
The ESP32 is a small, inexpensive microcontroller chip made by Espressif Systems with Wi-Fi and Bluetooth built directly into the chip - which is exactly why it became the default choice for DIY IoT projects: no separate wireless module needed, and it costs only a few dollars. This 10-lesson track covers it end to end: full specifications, the complete GPIO pin restrictions (ESP32 has far more "special-purpose" pins than a Raspberry Pi, and getting this wrong is the single most common way people damage a board), connecting to Wi-Fi, Bluetooth and BLE, reading analog sensors, your first LED project, and real project ideas.
ESP32 at a Glance
| Spec | Value |
|---|---|
| CPU | Dual-core Xtensa LX6, up to 240MHz |
| RAM | 520KB internal SRAM |
| Flash | External SPI flash, commonly 4MB on WROOM-32 modules (varies by module) |
| Wi-Fi | 802.11 b/g/n, 2.4GHz, up to 150Mbps |
| Bluetooth | Bluetooth v4.2 BR/EDR (Classic) + Bluetooth LE, dual-mode |
| Logic voltage | 3.3V (GPIO pins are NOT 5V tolerant) |
| Analog | 18 ADC channels, 2 DAC channels, 10 capacitive touch pins |
Full breakdown and every other spec in the Specifications lesson.
Why It's Different From the Raspberry Pi
The Raspberry Pi Zero W (covered elsewhere in this Electronics section) runs a full Linux operating system and is, for most purposes, a tiny computer. The ESP32 is a microcontroller, not a computer - there's no operating system by default, just your own program running in a loop (or, with the more advanced ESP-IDF toolchain, a set of FreeRTOS tasks). That means the ESP32 boots almost instantly, draws far less power, and is genuinely built for "always-on" sensor and wireless-control projects - but it also means far less RAM, no filesystem in the way you'd expect from Linux, and no SSH session to log into.
What You'll Learn In This Track
| Area | Covered in |
|---|---|
| Foundations | What the ESP32 is, full specifications, and development environment choices |
| Hardware reference | The complete GPIO restrictions - input-only pins, flash-reserved pins, strapping pins, ADC/DAC/touch pins |
| Your first project | Wiring and coding your first GPIO project - blinking an LED |
| Wireless | Connecting to Wi-Fi, and using Bluetooth Classic + BLE |
| Sensors & going further | Reading analog sensors with the ADC, common real-world projects, and a best-practices wrap-up |