ESP32-DevKitC (Xtensa board)
ESP32-DevKitC V4 board with an ESP32-WROOM-32E: the same ESP32 simulation on two 19-pin rows with a 3.3 V regulator. Supply via USB (5V) or externally on 3V3; UART0 on GPIO1/3 (the board's USB serial bridge). Runs real firmware (an Arduino sketch with the Arduino-ESP32 core, or a Zephyr project) on two emulated Xtensa LX6 cores at 240 MHz: GPIO matrix and IO_MUX, UART0-2 (console on UART0, TX GPIO1), LEDC PWM, I2C0/1, SPI2/3, SAR ADC1, RMT, timer groups, the SPI flash, interrupt matrix, the Ethernet MAC (RMII to a LAN8720A PHY and an RJ45 jack: ETH.begin, then DHCP, a web server, HTTP and MQTT on the simulated network), the hardware random number generator; mask ROM functions emulated. No Wi-Fi/Bluetooth radio. GPIO34-39 are inputs only.
Key data
- Category
- Arduino
- Simulation model
- Microcontroller with real firmware
- Manufacturer part number
- ESP32-DevKitC-32E
- Reference prefix
- A
- Pins
- 30
- Land pattern
- ESP32-DevKitC_2x19_P2.54mm_W25.4mm
Used in these examples 9
- Self-balancing robot (ESP32, MPU-6050, two gearmotors)An inverted pendulum on two wheels keeps itself upright. Push it in the World.
- Obstacle-avoiding robot (ESP32, HC-SR04, two gearmotors)A two-wheel robot drives through a walled room and turns away from what its ultrasonic sensor sees.
- Line follower (ESP32, two TCRT5000, two gearmotors)A two-wheel robot follows an oval of black tape on a white mat with two infrared line sensors.
- Synthesizer you can play (ESP32, FabGL sound, PAM8403)Play it with your computer keyboard: six voices, four waveforms, envelope and a resonant filter, through a real amplifier to the speaker.
- Retro game console (ESP32, VGA, sound): three gamesA menu and three games on a VGA monitor, played with the arrow keys, Space and Enter, with sound through a real amplifier.
- Exact square with wheel encoders (ESP32, two 37D gearmotors with encoders)A two-wheel robot counts its wheels' turns and drives an exact 50 cm square.
- ESP32: weather station (BME280 + OLED)Arduino sketch on both Xtensa cores: BME280 → OLED.
- ESP32: VGA terminal (FabGL)FabGL draws a 640×400 terminal on a VGA monitor.
- ESP32: x86 PC with FreeDOS (FabGL)An 8086 PC on the ESP32: FreeDOS, VGA, PS/2 keyboard.
Simulation model
An emulated CPU core runs the firmware binary instruction by instruction. The GPIO pins are pins of the analog circuit: outputs drive through a driver resistance, inputs read the voltage with thresholds.
- Device
- esp32
- Supply pins
- 3V3 / GND
- Mapped GPIO pins
- 27
Pins 30
| Pin | Name | Use |
|---|---|---|
| 3V3 | 3V3Supply pin | Supply input: decouple with 100 nF close to the pin |
| EN | ENInput pin · pulled up on the board | Logic input: never leave open (tie unused inputs to VCC or GND) |
| GPIO36 | GPIO36/VPInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| GPIO39 | GPIO39/VNInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| GPIO34 | GPIO34Input pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| GPIO35 | GPIO35Input pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| GPIO32 | GPIO32I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO33 | GPIO33I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO25 | GPIO25I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO26 | GPIO26I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO27 | GPIO27I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO14 | GPIO14I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO12 | GPIO12I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GND | GNDGround pin | Ground |
| GPIO13 | GPIO13I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| 5V | 5VSupply pin | Supply input: decouple with 100 nF close to the pin |
| GPIO23 | GPIO23I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO22 | GPIO22I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO1 | GPIO1/TX0I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO3 | GPIO3/RX0I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO21 | GPIO21I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO19 | GPIO19I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO18 | GPIO18I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO5 | GPIO5I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO17 | GPIO17I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO16 | GPIO16I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO4 | GPIO4I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO0 | GPIO0/BOOTI/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO2 | GPIO2I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| GPIO15 | GPIO15I/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
Parameters 3
supplyusb: the board's regulator holds 3V3 (as on a USB cable); extern: connect 3.3 V to 3V3 yourself
moduleWROOM-32E: the ESP32 with 4 MB flash (DevKitC-32E); WROVER-E: with 8 MB PSRAM as well (DevKitC-VE), which GPIO16 and GPIO17 then belong to
firmwarearduino: an Arduino sketch (Arduino-ESP32 core); zephyr: a Zephyr project. Both run on the same simulated chip.
PCB
ESP32-DevKitC_2x19_P2.54mm_W25.4mmESP32-DevKitC on two 19-pin headers (left 3V3, EN, GPIO36 … GPIO13, 5V; right GND, GPIO23 … GPIO15) – compare with the silkscreen of your board; keep the antenna end free of copper