blackdroid.dev

ESP32 Pin Planner

Plan ESP32 GPIO assignments safely: tick your project's needs (I2C, SPI, ADC, PWM, touch) and see which pins fit — with boot-strap and input-only warnings.

Tick what your project needs — see which GPIOs are safe for each function and which to avoid.

PinCapabilitiesCautionFits selection
GPIO0out, pwm, touchboot mode strap — must be HIGH at bootout
GPIO1—TX0 — serial, avoid
GPIO2out, pwm, adc, touchboot strap — leave free or pull-down safeout
GPIO3—RX0 — serial, avoid
GPIO4out, in, pwm, adc, touchout, in
GPIO5out, in, pwmboot strap (SDIO) — ok for outputsout, in
GPIO6-11—internal flash — never use
GPIO12out, in, pwm, adc, touchboot strap — must be LOW at bootout, in
GPIO13out, in, pwm, adc, touchout, in
GPIO14out, in, pwm, adc, touchout, in
GPIO15out, in, pwm, adc, touchboot strap — outputs PWM at bootout, in
GPIO16out, in, pwmout, in
GPIO17out, in, pwmout, in
GPIO18out, in, pwm, spiout, in
GPIO19out, in, pwm, spiout, in
GPIO21out, in, pwm, i2cdefault I2C SDAout, in
GPIO22out, in, pwm, i2cdefault I2C SCLout, in
GPIO23out, in, pwm, spidefault SPI MOSIout, in
GPIO25out, in, pwm, adc, dacout, in
GPIO26out, in, pwm, adc, dacout, in
GPIO27out, in, pwm, adc, touchout, in
GPIO32out, in, pwm, adc, touchout, in
GPIO33out, in, pwm, adc, touchout, in
GPIO34in, adcinput only, no pull-upin
GPIO35in, adcinput only, no pull-upin
GPIO36 (VP)in, adcinput onlyin
GPIO39 (VN)in, adcinput onlyin

About ESP32 Pin Planner

ESP32 GPIOs look interchangeable but aren't: GPIO6-11 drive the flash chip, GPIO34-39 are input-only with no pull-ups, and GPIO0/2/12/15 are boot-mode straps that can prevent booting if wired wrong.

Tick the functions your project needs and the table shows, per pin, which fit — plus the per-pin cautions that bite beginners (ADC2 vs WiFi, boot straps, UART0).

Everything runs locally in your browser — nothing you type, paste or drop is uploaded to a server.

How to use ESP32 Pin Planner

  1. Tick each function your circuit needs (input, output, PWM, ADC, I2C, SPI, touch).
  2. Read the table — highlighted rows satisfy the whole selection.
  3. Check the Caution column before wiring boot-strap or input-only pins.

Frequently asked questions

Which pins are always safe?

GPIO4, 13, 16, 17, 18, 19, 21-23, 25-27, 32, 33 have no boot-strap role. Avoid GPIO6-11 (flash) and treat 0/2/12/15 carefully.

Why warn about ADC2?

ADC2 channels can't be read while WiFi is active — for analog reads in a connected project prefer ADC1 (GPIO32-39).

Is this for ESP32-S3/C3?

No — this table is the classic ESP32 (WROOM-32/DevKit). S3/C3 variants have different pinouts.