ESP32 DevKit
Components Index
What is ESP32?
The ESP32 is a powerful System on a Chip (SoC) that integrates a 32-bit dual-core processor with native 2.4 GHz Wi-Fi and dual-mode Bluetooth. It's the go-to choice for IoT projects requiring wireless connectivity and high computational power.
Its Dual-core Architecture allows one core to handle time-critical wireless communications (like maintaining a Wi-Fi link) while the other core executes your main application logic, preventing lag and connection drops common in single-core systems. With built-in WiFi and Bluetooth, the ESP32 eliminates the need for external wireless modules. Perfect for advanced projects.
Key Features
Built-in WiFi & Bluetooth
802.11 b/g/n WiFi (up to 150 Mbps) and Bluetooth v4.2 BR/EDR and BLE for seamless wireless connectivity.
Dual-Core 240MHz
Xtensaยฎ 32-bit LX6 dual-core processor running up to 240 MHz for parallel task execution.
520KB SRAM + 4MB Flash
Ample memory for complex applications, data logging, and web server hosting.
34 GPIO Pins
Extensive I/O capabilities with support for SPI, I2C, UART, PWM, ADC, and DAC.
10 Capacitive Touch Sensors
Built-in touch sensing without external components for intuitive user interfaces.
Low Power Modes
Multiple sleep modes (deep sleep, light sleep) for battery-powered IoT applications.
Pin Configuration
GPIO Pins (34 total)
Configurable as digital input/output. Most pins support internal pull-up/pull-down resistors.
- Input-only pins: GPIO 34-39 (no pull-up/down)
- Strapping pins: GPIO 0, 2, 5, 12, 15 (boot config)
- PWM: All output-capable pins support PWM
- Touch: GPIO 0, 2, 4, 12-15, 27, 32, 33
ADC & DAC
12-bit ADC with 18 channels and 8-bit DAC with 2 channels for analog signal processing.
- ADC1: GPIO 32-39 (8 channels)
- ADC2: GPIO 0, 2, 4, 12-15, 25-27 (10 channels)
- DAC: GPIO 25, 26 (audio output capable)
- Note: ADC2 unavailable when WiFi is active
Power Pins
- 3.3V: Regulated output (max 600mA)
- 5V (Vin): USB power or external 5-12V input
- GND: Multiple ground pins available
- EN: Enable pin (pull low to reset)
- Note: ESP32 is 3.3V logic level only
Communication Protocols
WiFi
2.4 GHz 802.11 b/g/n
Built-in WiFi with AP, STA, and AP+STA modes. Supports WPA/WPA2 security.
Bluetooth
v4.2 BR/EDR & BLE
Classic Bluetooth and Low Energy for wireless sensor networks and audio streaming.
SPI
4 SPI interfaces
High-speed serial communication for displays, SD cards, and sensors.
I2C
2 I2C interfaces
Connect multiple devices on the same bus. Configurable on any GPIO.
UART
3 UART interfaces
Serial communication with GPS modules, GSM, and other serial devices.
I2S
Audio interface
Digital audio input/output for microphones and speakers.
Advanced Topics & Expert Knowledge
FreeRTOS Multitasking
ESP32 runs FreeRTOS, allowing true multitasking. Create tasks that run on different cores simultaneously for optimal performance.
Use case: WiFi on Core 0, sensor processing on Core 1
Deep Sleep & Wake Sources
Reduce power consumption to 10ฮผA in deep sleep. Wake from timer, touch, or external GPIO interrupt.
Battery life: Months on a single charge with proper sleep cycles
WiFi Modes & Web Server
Run as Access Point (AP), Station (STA), or both simultaneously. Host web servers, REST APIs, or WebSocket connections.
Pro tip: Use AsyncWebServer for non-blocking HTTP requests
OTA (Over-The-Air) Updates
Update firmware wirelessly without physical access. Essential for deployed IoT devices and remote installations.
Security: Always use password protection for OTA
File System (SPIFFS/LittleFS)
Store HTML, CSS, JSON config files, or sensor logs in flash memory. Serve web pages directly from ESP32.
Recommendation: Use LittleFS over SPIFFS for better reliability
BLE (Bluetooth Low Energy)
Create BLE servers/clients for smartphone apps, wearables, or mesh networks. Ultra-low power for always-on connectivity.
Use case: Fitness trackers, smart home sensors, beacons
๐ Official Citations & Technical References
To ensure the absolute accuracy and reliability of this guide, all specifications, pinouts, and register settings have been cross-verified with official manufacturer documentation: