ESP32-DevKitC V4

Espressif's basic ESP32 development board: an ESP32-WROOM-32E/UE or ESP32-WROVER-E/IE module, a CP2102N USB-to-UART bridge on one Micro-USB port, and two 19-pin headers. There is no user LED.

Module / chip1ESP32-WROOM-32E
Flash14 or 8 MB
PSRAM18 MB (WROVER versions)
USB1One Micro-USB port: power and the USB-to-UART bridge
USB-UART21CP2102N

Pinout

ESP32-DevKitC V4 pinouttop view · not to scale · arduino-esp32 3.3.12 defaults · espsss.fyi/reference/boards/esp32-devkitc-v4/ESP32USB3V3ENVPGPIO36ADC1_CH0IN ONLYVNGPIO39ADC1_CH3IN ONLYGPIO34ADC1_CH6IN ONLYGPIO35ADC1_CH7IN ONLYGPIO32ADC1_CH4TOUCH9XTAL_32KGPIO33ADC1_CH5TOUCH8XTAL_32KGPIO25ADC2_CH8DACGPIO26ADC2_CH9DACGPIO27ADC2_CH7TOUCH7GPIO14ADC2_CH6TOUCH6JTAGGPIO12ADC2_CH5TOUCH5STRAPJTAGGNDGPIO13ADC2_CH4TOUCH4JTAGD2GPIO9module flashFLASHD3GPIO10module flashFLASHCMDGPIO11module flashFLASH5VGNDGPIO23MOSIGPIO22SCLTXGPIO1to USB-UARTRXGPIO3to USB-UARTGPIO21SDAGNDGPIO19MISOGPIO18SCKGPIO5SSSTRAPGPIO17WROVER PSRAMPSRAMGPIO16WROVER PSRAMPSRAMGPIO4ADC2_CH0TOUCH0GPIO0ADC2_CH1TOUCH1BOOT buttonSTRAPGPIO2ADC2_CH2TOUCH2STRAPGPIO15ADC2_CH3TOUCH3STRAPJTAGD1GPIO8module flashFLASHD0GPIO7module flashFLASHCLKGPIO6module flashFLASHGPIOBoard labelArduino defaultADCTouchDACPowerGroundControlStrapping pinFlash / PSRAMInput onlyJTAGOn-board part
Top view, not to scale. Pin order: maker's documentation121213. ADC and touch channels from ESP-IDF v5.5.5, defaults from arduino-esp32 3.3.12. Download SVG.

Which pins to use

Free to use (11)

  • GPIO4 — ADC2: no analogRead while Wi-Fi is on
  • GPIO18
  • GPIO19
  • GPIO21
  • GPIO22
  • GPIO23
  • GPIO25 — ADC2: no analogRead while Wi-Fi is on
  • GPIO26 — ADC2: no analogRead while Wi-Fi is on
  • GPIO27 — ADC2: no analogRead while Wi-Fi is on
  • GPIO32
  • GPIO33

Usable, with care (15)

  • GPIO0 — on-board: Boot button (to GND); also driven by the CP2102N auto-program circuit (DTR/RTS → EN/IO0); strapping pin: Boot mode; ADC2: no analogRead while Wi-Fi is on
  • GPIO1 — on-board: UART0 TX/RX to the CP2102N USB-to-UART bridge; UART0 console
  • GPIO2 — strapping pin: Boot mode; ADC2: no analogRead while Wi-Fi is on
  • GPIO3 — on-board: UART0 TX/RX to the CP2102N USB-to-UART bridge; UART0 console
  • GPIO5 — strapping pin: SDIO slave timing (output edge)
  • GPIO12 — strapping pin: VDD_SDIO voltage (flash/PSRAM supply); JTAG pin; ADC2: no analogRead while Wi-Fi is on
  • GPIO13 — JTAG pin; ADC2: no analogRead while Wi-Fi is on
  • GPIO14 — JTAG pin; ADC2: no analogRead while Wi-Fi is on
  • GPIO15 — strapping pin: ROM messages on U0TXD; SDIO slave timing (sampling edge); JTAG pin; ADC2: no analogRead while Wi-Fi is on
  • GPIO16 — used by PSRAM on some chip/module variants; on-board: Reserved inside ESP32-WROVER-E/IE modules (free on WROOM versions)
  • GPIO17 — used by PSRAM on some chip/module variants; on-board: Reserved inside ESP32-WROVER-E/IE modules (free on WROOM versions)
  • GPIO34 — input only
  • GPIO35 — input only
  • GPIO36 — input only
  • GPIO39 — input only

Avoid (6)

  • GPIO6 — connected to the SPI flash; on-board: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)
  • GPIO7 — connected to the SPI flash; on-board: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)
  • GPIO8 — connected to the SPI flash; on-board: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)
  • GPIO9 — connected to the SPI flash; on-board: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)
  • GPIO10 — connected to the SPI flash; on-board: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)
  • GPIO11 — connected to the SPI flash; on-board: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)

Derived from the chip and board data on this site (pin roles, strapping pins, on-board parts). “Free” still means: check the pin table for ADC/touch channels. Try your own combination in the pin planner.

Arduino IDE

Tools → BoardESP32 Dev Module5
FQBNesp32:esp32:esp32
Variantesp32

Default pins from the variant's pins_arduino.h in arduino-esp32 3.3.12; this is what Wire.begin(), SPI.begin() and Serial0 use without arguments.

TXGPIO14
RXGPIO34
SDAGPIO214
SCLGPIO224
SSGPIO54
MOSIGPIO234
MISOGPIO194
SCKGPIO184

On-board connections

GPIO0Boot button (to GND); also driven by the CP2102N auto-program circuit (DTR/RTS → EN/IO0)12
GPIO1, GPIO3UART0 TX/RX to the CP2102N USB-to-UART bridge12
GPIO6, GPIO7, GPIO8, GPIO9, GPIO10, GPIO11SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD)1
GPIO16, GPIO17Reserved inside ESP32-WROVER-E/IE modules (free on WROOM versions)1

Things to know

Six header pins belong to the flash

D0–D3, CMD and CLK (GPIO6–11) sit at the USB end of both rows but connect to the module's SPI flash (and PSRAM). Using them as GPIO breaks flash access.1

GPIO16/17 depend on the module

IO16 and IO17 are usable only on the WROOM/SOLO versions; on WROVER versions the module uses them internally.1

IO12 is a strapping pin

IO12 (MTDI) on J2 selects the internal VDD_SDIO LDO voltage at reset; IO0, IO2, IO5 and IO15 on J3 are strapping pins too. Keep external circuits on them from forcing a level at power-up.61

C15 on early V4 boards

On earlier V4 boards capacitor C15 (on IO0) can make the board boot into download mode or distort a clock output on GPIO0; the guide says to remove it. The published V4 schematic marks C15 as not fitted (NC).12

No LED_BUILTIN in Arduino

The esp32 variant used by “ESP32 Dev Module” defines TX/RX, I2C, SPI and analog pins but no LED_BUILTIN (checked in the 3.3.12 file), which matches the board: it has no user LED.4

Pin table

Header#LabelGPIOFunctions
J21213V33V3
J22ENEN
J23VPGPIO36ADC1_CH0 IN ONLY
J24VNGPIO39ADC1_CH3 IN ONLY
J25IO34GPIO34ADC1_CH6 IN ONLY
J26IO35GPIO35ADC1_CH7 IN ONLY
J27IO32GPIO32ADC1_CH4 TOUCH9 XTAL_32K
J28IO33GPIO33ADC1_CH5 TOUCH8 XTAL_32K
J29IO25GPIO25ADC2_CH8 DAC
J210IO26GPIO26ADC2_CH9 DAC
J211IO27GPIO27ADC2_CH7 TOUCH7
J212IO14GPIO14ADC2_CH6 TOUCH6 JTAG
J213IO12GPIO12ADC2_CH5 TOUCH5 STRAP JTAG
J214GNDGND
J215IO13GPIO13ADC2_CH4 TOUCH4 JTAG
J216D2GPIO9module flash FLASH
J217D3GPIO10module flash FLASH
J218CMDGPIO11module flash FLASH
J2195V5V
J3121GNDGND
J32IO23GPIO23MOSI
J33IO22GPIO22SCL
J34TXGPIO1to USB-UART
J35RXGPIO3to USB-UART
J36IO21GPIO21SDA
J37GNDGND
J38IO19GPIO19MISO
J39IO18GPIO18SCK
J310IO5GPIO5SS STRAP
J311IO17GPIO17WROVER PSRAM PSRAM
J312IO16GPIO16WROVER PSRAM PSRAM
J313IO4GPIO4ADC2_CH0 TOUCH0
J314IO0GPIO0ADC2_CH1 TOUCH1 BOOT button STRAP
J315IO2GPIO2ADC2_CH2 TOUCH2 STRAP
J316IO15GPIO15ADC2_CH3 TOUCH3 STRAP JTAG
J317D1GPIO8module flash FLASH
J318D0GPIO7module flash FLASH
J319CLKGPIO6module flash FLASH

Specifications

Board
Module / chipESP32-WROOM-32E (photo in the guide); the ordering table also lists ESP32-WROOM-32UE, ESP32-WROVER-E and ESP32-WROVER-IE versions1
Flash4 MB (WROOM-32E/UE versions) or 8 MB (WROVER-E/IE versions)1
PSRAMnone on the WROOM-32E/UE versions; 8 MB on the WROVER-E/IE versions1
USBOne Micro-USB port: power and the USB-to-UART bridge (ESP32 has no native USB)1
USB-to-UART bridgeSilicon Labs CP2102N (CP2102N-A02-GQFN28 in the schematic), up to 3 Mbps21
LEDsOnly a 5 V power-on LED; no LED on a GPIO1
ButtonsBoot (GPIO0) and EN (reset)1
SizePCB 48.26 × 27.94 mm per the dimensions drawing (the module antenna overhangs the PCB edge)3
PowerMicro-USB (default), 5V+GND pins, or 3V3+GND pins; only one at a time1

Product page: https://www.espressif.com/en/products/devkits/esp32-devkitc

Sources

Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.

  1. ESP32-DevKitC V4 User Guide (esp-dev-kits, latest) primary
    What it confirms (22)
    • ESP32-DevKitC V4: header J2 pins “1 | 3V3 | P | 3.3 V power supply … 2 | EN | I | CHIP_PU, Reset … 3 | VP | I | GPIO36, ADC1_CH0, S_VP … 4 | VN | I | GPIO39, ADC1_CH3, S_VN … 5 | IO34 | I | GPIO34, ADC1_CH6, VDET_1 … 6 | IO35 | I | GPIO35, ADC1_CH7, VDET_2 … 7 | IO32 | I/O | GPIO32, ADC1_CH4, TOUCH_CH9, XTAL_32K_P … 8 | IO33 | I/O | GPIO33, ADC1_CH5, TOUCH_CH8, XTAL_32K_N … 9 | IO25 | I/O | GPIO25, ADC2_CH8, DAC_1 … 10 | IO26 | I/O | GPIO26, ADC2_CH9, DAC_2 … 11 | IO27 | I/O | GPIO27, ADC2_CH7, TOUCH_CH7 … 12 | IO14 | I/O | GPIO14, ADC2_CH6, TOUCH_CH6, MTMS … 13 | IO12 | I/O | GPIO12, ADC2_CH5, TOUCH_CH5, MTDI … 14 | GND | G | Ground … 15 | IO13 | I/O | GPIO13, ADC2_CH4, TOUCH_CH4, MTCK … 16 | D2 | I/O | GPIO9, D2 … 17 | D3 | I/O | GPIO10, D3 … 18 | CMD | I/O | GPIO11, CMD … 19 | 5V | P | 5 V power supply”
    • ESP32-DevKitC V4: header J3 pins “1 | GND | G | Ground … 2 | IO23 | I/O | GPIO23 … 3 | IO22 | I/O | GPIO22 … 4 | TX | I/O | GPIO1, U0TXD … 5 | RX | I/O | GPIO3, U0RXD … 6 | IO21 | I/O | GPIO21 … 7 | GND | G | Ground … 8 | IO19 | I/O | GPIO19 … 9 | IO18 | I/O | GPIO18 … 10 | IO5 | I/O | GPIO5 … 11 | IO17 | I/O | GPIO17 … 12 | IO16 | I/O | GPIO16 … 13 | IO4 | I/O | GPIO4, ADC2_CH0, TOUCH_CH0 … 14 | IO0 | I/O | GPIO0, ADC2_CH1, TOUCH_CH1, Boot … 15 | IO2 | I/O | GPIO2, ADC2_CH2, TOUCH_CH2 … 16 | IO15 | I/O | GPIO15, ADC2_CH3, TOUCH_CH3, MTDO … 17 | D1 | I/O | GPIO8, D1 … 18 | D0 | I/O | GPIO7, D0 … 19 | CLK | I/O | GPIO6, CLK”
    • ESP32-DevKitC V4: orientation “They are grouped on both sides near the USB connector. … 16 | D2 | I/O | GPIO9, D2 … 17 | D1 | I/O | GPIO8, D1”
    • ESP32-DevKitC V4: Module / chip “ESP32-DevKitC-32E | ESP32-WROOM-32E … ESP32-DevKitC-32UE | ESP32-WROOM-32UE … ESP32-DevKitC-VE | ESP32-WROVER-E … ESP32-DevKitC-VIE | ESP32-WROVER-IE”
    • ESP32-DevKitC V4: Flash “ESP32-DevKitC-32E | ESP32-WROOM-32E | 4 MB … ESP32-WROVER-E | 8 MB | 8 MB | PCB on-board antenna”
    • ESP32-DevKitC V4: PSRAM “ESP32-DevKitC-32UE | ESP32-WROOM-32UE | 4 MB … ESP32-WROVER-IE | 8 MB | 8 MB | External antenna connector”
    • ESP32-DevKitC V4: USB “A Micro-USB port used for power supply to the board, as well as for communication between a computer and the ESP32-WROOM-32E module.”
    • ESP32-DevKitC V4: USB-UART “Single USB-to-UART bridge chip, providing transfer rates up to 3 Mbps.”
    • ESP32-DevKitC V4: Boot button (to GND); also driven by the CP2102N auto-program circuit (DTR/RTS → EN/IO0) “14 | IO0 | I/O | GPIO0, ADC2_CH1, TOUCH_CH1, Boot”
    • ESP32-DevKitC V4: UART0 TX/RX to the CP2102N USB-to-UART bridge “4 | TX | I/O | GPIO1, U0TXD … 5 | RX | I/O | GPIO3, U0RXD”
    • ESP32-DevKitC V4: SPI flash / PSRAM inside the module (broken out as CLK, D0, D1, D2, D3, CMD) “The pins D0, D1, D2, D3, CMD and CLK are used internally for communication between ESP32 and SPI flash memory.”
    • ESP32-DevKitC V4: Reserved inside ESP32-WROVER-E/IE modules (free on WROOM versions) “The boards with ESP32-WROVER modules have the pins reserved for internal use.”
    • ESP32-DevKitC V4: Six header pins belong to the flash “Avoid using these pins, as it may disrupt access to the SPI flash memory/SPI RAM.”
    • ESP32-DevKitC V4: GPIO16/17 depend on the module “The pins GPIO16 and GPIO17 are available for use only on the boards with the modules ESP32-WROOM and ESP32-SOLO-1.”
    • ESP32-DevKitC V4: IO12 is a strapping pin “13 | IO12 | I/O | GPIO12, ADC2_CH5, TOUCH_CH5, MTDI … 16 | IO15 | I/O | GPIO15, ADC2_CH3, TOUCH_CH3, MTDO”
    • ESP32-DevKitC V4: C15 on early V4 boards “The component C15 may cause the following issues on earlier ESP32-DevKitC V4 boards: … The board may boot into Download mode … If you output clock on GPIO0, C15 may impact the signal … please remove the component”
    • ESP32-DevKitC V4: header J2 “1 | 3V3 | P | 3.3 V power supply … 2 | EN | I | CHIP_PU, Reset … 3 | VP | I | GPIO36, ADC1_CH0, S_VP … 4 | VN | I | GPIO39, ADC1_CH3, S_VN … 5 | IO34 | I | GPIO34, ADC1_CH6, VDET_1 … 6 | IO35 | I | GPIO35, ADC1_CH7, VDET_2 … 7 | IO32 | I/O | GPIO32, ADC1_CH4, TOUCH_CH9, XTAL_32K_P … 8 | IO33 | I/O | GPIO33, ADC1_CH5, TOUCH_CH8, XTAL_32K_N … 9 | IO25 | I/O | GPIO25, ADC2_CH8, DAC_1 … 10 | IO26 | I/O | GPIO26, ADC2_CH9, DAC_2 … 11 | IO27 | I/O | GPIO27, ADC2_CH7, TOUCH_CH7 … 12 | IO14 | I/O | GPIO14, ADC2_CH6, TOUCH_CH6, MTMS … 13 | IO12 | I/O | GPIO12, ADC2_CH5, TOUCH_CH5, MTDI … 14 | GND | G | Ground … 15 | IO13 | I/O | GPIO13, ADC2_CH4, TOUCH_CH4, MTCK … 16 | D2 | I/O | GPIO9, D2 … 17 | D3 | I/O | GPIO10, D3 … 18 | CMD | I/O | GPIO11, CMD … 19 | 5V | P | 5 V power supply”
    • ESP32-DevKitC V4: header J3 “1 | GND | G | Ground … 2 | IO23 | I/O | GPIO23 … 3 | IO22 | I/O | GPIO22 … 4 | TX | I/O | GPIO1, U0TXD … 5 | RX | I/O | GPIO3, U0RXD … 6 | IO21 | I/O | GPIO21 … 7 | GND | G | Ground … 8 | IO19 | I/O | GPIO19 … 9 | IO18 | I/O | GPIO18 … 10 | IO5 | I/O | GPIO5 … 11 | IO17 | I/O | GPIO17 … 12 | IO16 | I/O | GPIO16 … 13 | IO4 | I/O | GPIO4, ADC2_CH0, TOUCH_CH0 … 14 | IO0 | I/O | GPIO0, ADC2_CH1, TOUCH_CH1, Boot … 15 | IO2 | I/O | GPIO2, ADC2_CH2, TOUCH_CH2 … 16 | IO15 | I/O | GPIO15, ADC2_CH3, TOUCH_CH3, MTDO … 17 | D1 | I/O | GPIO8, D1 … 18 | D0 | I/O | GPIO7, D0 … 19 | CLK | I/O | GPIO6, CLK”
    • ESP32-DevKitC V4: USB-to-UART bridge “Single USB-to-UART bridge chip, providing transfer rates up to 3 Mbps.”
    • ESP32-DevKitC V4: LEDs “Turns on when the USB or an external 5V power supply is connected to the board.”
    • ESP32-DevKitC V4: Buttons “Boot Button | Download button. Holding down Boot and then pressing EN initiates Firmware Download mode … EN Button | Reset button.”
    • ESP32-DevKitC V4: Power “Micro USB port, default power supply … 5V and GND header pins … 3V3 and GND header pins … The power supply must be provided using one and only one of the options above”
  2. ESP32-DevKitC V4 Schematics (esp32_devkitc_v4_sch.pdf, Rev V4) primary
    What it confirms (9)
    • ESP32-DevKitC V4: header J2 pins “EN SENSOR_VP SENSOR_VN IO34 IO35 IO32 IO33 IO25 IO26 IO27 IO14 IO12 GND IO13 SD2 SD3 CMD EXT_5V”
    • ESP32-DevKitC V4: header J3 pins “GND IO23 IO22 TXD0 RXD0 IO21 … IO19 IO18 IO5 IO17 IO16 IO4 IO0 IO2 IO15 SD1 SD0 CLK”
    • ESP32-DevKitC V4: USB-UART “CP2102N-A02-GQFN28”
    • ESP32-DevKitC V4: Boot button (to GND); also driven by the CP2102N auto-program circuit (DTR/RTS → EN/IO0) “Auto program DTR RTS-->EN IO0”
    • ESP32-DevKitC V4: UART0 TX/RX to the CP2102N USB-to-UART bridge “CP2102N-A02-GQFN28”
    • ESP32-DevKitC V4: C15 on early V4 boards “0.1uF/50V(10%)(NC)”
    • ESP32-DevKitC V4: header J2 “EN SENSOR_VP SENSOR_VN IO34 IO35 IO32 IO33 IO25 IO26 IO27 IO14 IO12 GND IO13 SD2 SD3 CMD EXT_5V”
    • ESP32-DevKitC V4: header J3 “GND IO23 IO22 TXD0 RXD0 IO21 … IO19 IO18 IO5 IO17 IO16 IO4 IO0 IO2 IO15 SD1 SD0 CLK”
    • ESP32-DevKitC V4: USB-to-UART bridge “CP2102N-A02-GQFN28”
  3. ESP32-DevKitC V4 Dimensions (PDF) primary
    What it confirms (2)
    • ESP32-DevKitC V4: orientation “Unit: mm … 48.26”
    • ESP32-DevKitC V4: Size “Unit: mm … 48.26 … 27.94”
  4. arduino-esp32 3.3.12: variants/esp32/pins_arduino.h primary
    What it confirms (9)
    • ESP32-DevKitC V4: TX “static const uint8_t TX = 1;”
    • ESP32-DevKitC V4: RX “static const uint8_t RX = 3;”
    • ESP32-DevKitC V4: SDA “static const uint8_t SDA = 21;”
    • ESP32-DevKitC V4: SCL “static const uint8_t SCL = 22;”
    • ESP32-DevKitC V4: SS “static const uint8_t SS = 5;”
    • ESP32-DevKitC V4: MOSI “static const uint8_t MOSI = 23;”
    • ESP32-DevKitC V4: MISO “static const uint8_t MISO = 19;”
    • ESP32-DevKitC V4: SCK “static const uint8_t SCK = 18;”
    • ESP32-DevKitC V4: No LED_BUILTIN in Arduino “static const uint8_t TX = 1; … static const uint8_t SDA = 21;”
  5. arduino-esp32 3.3.12: boards.txt primary
    What it confirms (1)
    • ESP32-DevKitC V4: Arduino board “esp32.name=ESP32 Dev Module … esp32.build.variant=esp32”
  6. ESP32 Series Datasheet v5.3 primary
    What it confirms (1)
    • ESP32-DevKitC V4: IO12 is a strapping pin “Strapping pin: GPIO0 and GPIO2 … Internal LDO (VDD_SDIO) Voltage … Strapping pin: MTDI … Strapping pin: MTDO and GPIO5”