ESP32 DevKit · 3.3V

ESP32 DevKit Pinout Reference

Avoid ESP32 boot failures and broken ADC reads while Wi-Fi is on. Filter every GPIO by ADC1, ADC2, I2C, SPI, UART, Touch, Input-Only, and Strapping warnings.

27 / 27
Board PinMCU / SignalCapabilitiesUsage & Safety Notes
GPIO36 (VP)ADC1_CH0
ADC1InputOnly

Safe Analog ADC1 Channel 0 (works alongside Wi-Fi)

Input only; no internal pull-up or pull-down resistor.
GPIO39 (VN)ADC1_CH3
ADC1InputOnly

Safe Analog ADC1 Channel 3 (works alongside Wi-Fi)

Input only; no internal pull-up or pull-down resistor.
GPIO34ADC1_CH6
ADC1InputOnly

Safe Analog ADC1 Channel 6 (ideal for battery/sensor reads)

Input only; no internal pull-up.
GPIO35ADC1_CH7
ADC1InputOnly

Safe Analog ADC1 Channel 7 (works alongside Wi-Fi)

Input only; no internal pull-up.
GPIO32ADC1_CH4
DigitalPWMADC1Touch

Full I/O, PWM, Touch9, and Wi-Fi-safe ADC1 Channel 4

GPIO33ADC1_CH5
DigitalPWMADC1Touch

Full I/O, PWM, Touch8, and Wi-Fi-safe ADC1 Channel 5

GPIO25 (DAC1)ADC2_CH8
DigitalPWMADC2

True 8-bit Analog DAC1 output + PWM/Digital I/O

ADC2 cannot be used while Wi-Fi is active.
GPIO26 (DAC2)ADC2_CH9
DigitalPWMADC2

True 8-bit Analog DAC2 output + PWM/Digital I/O

ADC2 cannot be used while Wi-Fi is active.
GPIO27ADC2_CH7
DigitalPWMADC2Touch

General Digital I/O, PWM, Touch7

ADC2 unavailable during Wi-Fi.
GPIO14HSPI_CLK
DigitalPWMSPIADC2Touch

HSPI Clock + PWM + Touch6

Outputs brief PWM signal at boot.
GPIO12HSPI_MISO
DigitalPWMSPIADC2Strapping

HSPI MISO + PWM

Strapping pin: boot fails if pulled HIGH at reset.
GPIO13HSPI_MOSI
DigitalPWMSPIADC2Touch

HSPI MOSI + PWM + Touch4

GPIO15HSPI_CS0
DigitalPWMSPIADC2Strapping

HSPI CS + PWM

Strapping pin: controls boot log output; outputs PWM at boot.
GPIO2 (LED)ADC2_CH2
DigitalPWMADC2TouchStrapping

Onboard Blue LED on most DevKits + PWM

Strapping pin: must be floating or LOW to enter flashing mode.
GPIO4ADC2_CH0
DigitalPWMADC2Touch

General Digital I/O, PWM, Touch0

ADC2 unavailable during Wi-Fi.
GPIO16 (RX2)U2RXD
DigitalPWMUART

Hardware UART2 RX (ideal for GPS, DFPlayer, GSM)

GPIO17 (TX2)U2TXD
DigitalPWMUART

Hardware UART2 TX (ideal for GPS, DFPlayer, GSM)

GPIO5 (CS)VSPI_CS0
DigitalPWMSPIStrapping

Default VSPI Chip Select (CS) + PWM

Strapping pin: outputs brief PWM at boot.
GPIO18 (SCK)VSPI_CLK
DigitalPWMSPI

Default VSPI Clock (SCK) + clean Digital/PWM I/O

GPIO19 (MISO)VSPI_MISO
DigitalPWMSPI

Default VSPI MISO + clean Digital/PWM I/O

GPIO21 (SDA)I2C_SDA
DigitalPWMI2C

Default I2C SDA (Wire.begin()) + Digital/PWM

GPIO22 (SCL)I2C_SCL
DigitalPWMI2C

Default I2C SCL (Wire.begin()) + Digital/PWM

GPIO23 (MOSI)VSPI_MOSI
DigitalPWMSPI

Default VSPI MOSI + clean Digital/PWM I/O

GPIO1 / GPIO3UART0 TX/RX
UART

Primary UART0 TX/RX wired to USB Serial bridge

Avoid connecting external peripherals during USB flashing.
3V3Power
Power

Regulated 3.3V Logic Rail (all ESP32 GPIOs are 3.3V only)

Never feed 5V directly into any ESP32 GPIO pin.
VIN (5V)Power
Power

5V Input from USB or external regulated 5V supply

GNDGround
Power

Common Ground (0V)

Frequently Asked Questions

Why do ESP32 analogRead() pins stop working when Wi-Fi is enabled?

ESP32 Wi-Fi shares hardware with ADC2. Always use ADC1 pins (GPIO32, 33, 34, 35, 36, 39) for analog sensors in Wi-Fi projects.

Which ESP32 pins are input-only with no internal pull-up?

GPIO34, GPIO35, GPIO36 (VP), and GPIO39 (VN) are input-only and cannot drive outputs or use INPUT_PULLUP.

Which ESP32 pins can break booting if pulled the wrong way?

Strapping pins GPIO0, GPIO2, GPIO5, GPIO12, and GPIO15 affect flash voltage or boot mode at reset. Keep GPIO12 LOW during boot.

Explore all hardware & embedded dev tools

Compare IDEs

Chrome USB WebSerial + 300 Free Credits

Test Your Circuit & Flash Real Hardware Free in Chrome

Open Gokino in Chrome, let AI generate interactive /wiring circuit diagrams, fix C++ bugs in 1 click, and upload directly to Arduino, ESP32, or STM32 with zero installation.

Launch Gokino IDE Free