Skip to content
Board reference

Espressif ESP32

WiFi + Bluetooth powerhouse

ESP32-DevKitC V4 (ESP32-WROOM-32E)

Espressif's own ESP32 board: a dual-core 240 MHz chip with Wi-Fi and Bluetooth, 3.3 V logic, two 19-pin headers and a USB-to-UART bridge for flashing over Micro-USB.

Tested in the SolderHub Simulator. Opens a ready-wired circuit that runs in your browser.

CPU
2 × 240 MHz
Usable GPIO
26
SRAM
520 KB
Radio
Wi-Fi + BT 4

Every header pin at a glance

  • 9 safe I/O
  • 14 use with care
  • 3 avoid
  • 6 not available
  • 6 power, ground & other

01Pinout

Every pin, live

J2 on the left, J3 on the right, as Espressif numbers them. Hover or tap a pin for its functions and catches.

38 of 38 pins match

3V3ENVP 36VN 39GPIO34GPIO35GPIO32GPIO33GPIO25GPIO26GPIO27GPIO14GPIO12GNDGPIO13D2 9D3 10CMD 115VGNDGPIO23GPIO22TX 1RX 3GPIO21GNDGPIO19GPIO18GPIO5GPIO17GPIO16GPIO4GPIO0GPIO2GPIO15D1 8D0 7CLK 6

Hover or tap any pin on the board

J2 header · pin 7

32

GPIO32

Safe to use

Nothing else on the board depends on this pin. A good first choice for sensors, LEDs and buttons.

Can be used as

  • PWM out
  • Analog in
  • Touch

Signals on this pad

  • GPIO32
  • ADC1_CH4
  • TOUCH_CH9
  • XTAL_32K_P
Full header tables (J2, J3)

J2 · left side

No.PinSignalsStatus
13V33.3 V power supply
2ENChip enable / reset. Pulled low by the EN button.
3VP 36ADC1_CH0, S_VPCaution
4VN 39ADC1_CH3, S_VNCaution
5GPIO34ADC1_CH6, VDET_1Caution
6GPIO35ADC1_CH7, VDET_2Caution
7GPIO32ADC1_CH4, TOUCH_CH9, XTAL_32K_POK
8GPIO33ADC1_CH5, TOUCH_CH8, XTAL_32K_NOK
9GPIO25ADC2_CH8, DAC_1Caution
10GPIO26ADC2_CH9, DAC_2Caution
11GPIO27ADC2_CH7, TOUCH_CH7Caution
12GPIO14ADC2_CH6, TOUCH_CH6, MTMSCaution
13GPIO12ADC2_CH5, TOUCH_CH5, MTDIAvoid
14GNDGround
15GPIO13ADC2_CH4, TOUCH_CH4, MTCKCaution
16D2 9SD2Not available
17D3 10SD3Not available
18CMD 11CMDNot available
195V5 V power supply

J3 · right side

No.PinSignalsStatus
1GNDGround
2GPIO23—OK
3GPIO22—OK
4TX 1U0TXDCaution
5RX 3U0RXDCaution
6GPIO21—OK
7GNDGround
8GPIO19—OK
9GPIO18—OK
10GPIO5—Caution
11GPIO17—OK
12GPIO16—OK
13GPIO4ADC2_CH0, TOUCH_CH0Caution
14GPIO0ADC2_CH1, TOUCH_CH1Avoid
15GPIO2ADC2_CH2, TOUCH_CH2Avoid
16GPIO15ADC2_CH3, TOUCH_CH3, MTDOCaution
17D1 8SD1Not available
18D0 7SD0Not available
19CLK 6CLKNot available

02Safety

Pins to avoid, and why

Six pins belong to the flash, three decide how the board boots, and several more come with a catch.

Not available

6 pins

Wired to the module's SPI flash. Leave them unconnected.

  • CLK 6SPI flash. Used inside the module to talk to the SPI flash. Espressif says to avoid these pins: using them can disrupt access to the flash and crash the board.
  • D0 7SPI flash. Used inside the module to talk to the SPI flash. Espressif says to avoid these pins: using them can disrupt access to the flash and crash the board.
  • D1 8SPI flash. Used inside the module to talk to the SPI flash. Espressif says to avoid these pins: using them can disrupt access to the flash and crash the board.
  • D2 9SPI flash. Used inside the module to talk to the SPI flash. Espressif says to avoid these pins: using them can disrupt access to the flash and crash the board.
  • D3 10SPI flash. Used inside the module to talk to the SPI flash. Espressif says to avoid these pins: using them can disrupt access to the flash and crash the board.
  • CMD 11SPI flash. Used inside the module to talk to the SPI flash. Espressif says to avoid these pins: using them can disrupt access to the flash and crash the board.

Avoid

3 pins

Read at reset to choose how the chip boots. The wrong level can stop it starting or uploading.

  • GPIO0Boot mode. Low at reset puts the chip into firmware-download mode instead of running your sketch. It defaults high through an internal pull-up, so don't let a circuit hold it low at power-up.
  • GPIO2Boot mode. Sampled with GPIO0 at reset to pick the boot mode. Defaults low through an internal pull-down; a circuit that pulls it high at reset can block flashing.
  • GPIO12Strapping pin (MTDI). Read at reset to set the flash supply voltage (VDD_SDIO). It defaults low through an internal pull-down; pulling it high at boot can stop the board starting.

Use with care

14 pins

Usable with a catch: input only, shared with Wi-Fi's ADC, or part of the serial console.

  • TX 1Serial console. UART0, wired to the USB-to-UART bridge. Using it for something else clashes with the serial monitor and with flashing over USB.
  • RX 3Serial console. UART0, wired to the USB-to-UART bridge. Using it for something else clashes with the serial monitor and with flashing over USB.
  • GPIO4ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • GPIO5Strapping pin. Read at reset, with GPIO15, for SDIO slave timing. Defaults high through an internal pull-up; keep it from being pulled low at boot.
  • GPIO13ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • GPIO14ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • GPIO15Strapping pin (MTDO). Read at reset to turn the boot messages on UART0 on or off, and for SDIO timing. Defaults high through an internal pull-up.
  • GPIO25ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • GPIO26ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • GPIO27ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • GPIO34Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.
  • GPIO35Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.
  • VP 36Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.
  • VN 39Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.

03Layout

How the board fits together

The ESP32 module does everything; the board adds USB, buttons and power.

Micro-USB → USB-to-UART

Flashing and the serial monitor, up to 3 Mbps

BOOT + EN buttons

Download mode and reset

ESP32-WROOM-32E

Dual-core 240 MHz · Wi-Fi · Bluetooth · SPI flash inside

Header J2

ADC1 inputs, DAC, touch

Header J3

UART0, I2C, VSPI, boot pins

04Specs

Full specifications

Processor

Chip
ESP32 (Xtensa LX6)Dual core, up to 240 MHz.
SRAM / ROM
520 KB / 448 KB
Module
ESP32-WROOM-32EFlash is inside the module, wired to GPIO6–11.

Wireless

Wi-Fi
802.11 b/g/n, 2.4 GHz
Bluetooth
v4.2 BR/EDR and LE

Power

Logic level
3.3 VNot 5 V tolerant: level-shift 5 V signals.
Inputs
Micro-USB, 5V pin or 3V3 pinUse exactly one of them at a time.

Analog

ADC1
GPIO32–39Works alongside Wi-Fi.
ADC2
GPIO0, 2, 4, 12–15, 25–27Shared with the Wi-Fi driver.
DAC
GPIO25, GPIO26

Board

USB
Micro-USBThrough a USB-to-UART bridge, up to 3 Mbps.
Buttons
BOOT (GPIO0) and EN (reset)
LED
5 V power-on LED

05Buses

Where each bus lives

Serial (UART0)

TX on GPIO1, RX on GPIO3, wired to the USB-to-UART bridge for flashing and the serial monitor.

I2C (Wire)

SDA on GPIO21, SCL on GPIO22 by default in the Arduino core. The ESP32 can route I2C to most GPIOs.

SPI (VSPI)

COPI GPIO23, CIPO GPIO19, SCK GPIO18, SS GPIO5 by default in the Arduino core.

PWM (LEDC)

Any output-capable GPIO. GPIO34–39 are input only.

DAC

Two 8-bit outputs on GPIO25 and GPIO26.

06Power & start

Power it up and get connected

Power options

  • Micro-USB (default)5 V from your computer; also the flashing and serial connection.
  • 5V and GND pinsAn external 5 V supply.
  • 3V3 and GND pinsA regulated 3.3 V supply.
  • Only one at a timeEspressif warns that using more than one of these at once can damage the board or the supply.
  1. 1

    Plug in with a Micro-USB cable

    The 5 V power LED lights and a serial port appears.

  2. 2

    Install ESP32 support

    Boards Manager → esp32 by Espressif Systems

    Then pick ESP32 Dev Module and the new port.

  3. 3

    Upload a Wi-Fi scan

    File → Examples → WiFi → WiFiScan

    Open the serial monitor at 115200 baud to see nearby networks. If the upload waits at "Connecting…", hold BOOT until it starts.

  4. 4

    No board on your desk?

    Open the tested ESP32 circuit in the SolderHub Simulator below.

07Gotchas

Things that trip people up

01

GPIO6–11 are off limits

The six pins marked CLK, D0–D3 and CMD near the USB end talk to the flash chip. Wiring anything there crashes the board.

02

analogRead fails once Wi-Fi is on

ADC2 pins share hardware with the Wi-Fi driver. In Wi-Fi projects, read sensors on GPIO32–39 (ADC1).

03

GPIO34–39 can't light an LED

They are inputs only, with no internal pull-ups. Use another pin for outputs and add an external resistor for buttons.

04

Upload stuck at "Connecting…"

Hold BOOT, press and release EN, then release BOOT to enter download mode. Also check that nothing holds GPIO0 low or GPIO2/GPIO12 high.

05

It's a 3.3 V board

Feeding 5 V logic straight into a GPIO can damage it. Use a level shifter or a divider for 5 V sensors.

06

Boots into download mode on its own

Early DevKitC V4 boards have a capacitor (C15) on GPIO0 that can do this. Espressif's fix is to remove C15.

Board Basics

Introduction, pinout, and protocols — all in one guide.

Sensor Modules & Library

Wiring sensors and modules, plus the library you need to talk to them.

Sensor Integration

Coming soon

Library & Setup

Coming soon

SolderHub Simulator

Espressif ESP32 circuits you can run in the browser

Ready-wired circuits with working code. Open one, press run, then change the wiring or the sketch.

Tested on Espressif ESP32