| GPIO0 | | with care | ADC2_1, Touch1 | Strapping pin: pulled LOW at boot = flash mode. Usually the BOOT button. Use as an input with care. |
|---|
| GPIO1 | TX0 | avoid | UART0 TX | USB serial (logs and flashing). |
|---|
| GPIO2 | | with care | ADC2_2, Touch2 | Strapping pin, must be LOW or floating to flash. Built-in LED on many boards. |
|---|
| GPIO3 | RX0 | avoid | UART0 RX | USB serial (logs and flashing). |
|---|
| GPIO4 | | safe | ADC2_0, Touch0 | Free. ADC2 does not work while Wi-Fi is on. |
|---|
| GPIO5 | | with care | VSPI CS | Strapping pin, outputs a PWM signal at boot. Fine for most sensors. |
|---|
| GPIO6 | | avoid | SPI flash | Connected to the flash chip. |
|---|
| GPIO7 | | avoid | SPI flash | Connected to the flash chip. |
|---|
| GPIO8 | | avoid | SPI flash | Connected to the flash chip. |
|---|
| GPIO9 | | avoid | SPI flash | Connected to the flash chip. |
|---|
| GPIO10 | | avoid | SPI flash | Connected to the flash chip. |
|---|
| GPIO11 | | avoid | SPI flash | Connected to the flash chip. |
|---|
| GPIO12 | | with care | ADC2_5, Touch5, HSPI MISO | Strapping pin: HIGH at boot selects 1.8 V flash and the board will not start. Never pull it up. |
|---|
| GPIO13 | | safe | ADC2_4, Touch4, HSPI MOSI | Free. |
|---|
| GPIO14 | | safe | ADC2_6, Touch6, HSPI CLK | Free; outputs PWM briefly at boot. |
|---|
| GPIO15 | | with care | ADC2_3, Touch3, HSPI CS | Strapping pin: LOW at boot silences the boot log. Fine for most uses. |
|---|
| GPIO16 | RX2 | safe | UART2 RX | Free on WROOM; taken by PSRAM on WROVER modules. |
|---|
| GPIO17 | TX2 | safe | UART2 TX | Free on WROOM; taken by PSRAM on WROVER modules. |
|---|
| GPIO18 | | safe | VSPI CLK | Free. |
|---|
| GPIO19 | | safe | VSPI MISO | Free. |
|---|
| GPIO21 | | safe | I²C SDA | Default I²C data. |
|---|
| GPIO22 | | safe | I²C SCL | Default I²C clock. |
|---|
| GPIO23 | | safe | VSPI MOSI | Free. |
|---|
| GPIO25 | | safe | DAC1, ADC2_8 | Free; the only pins with a real analog output. |
|---|
| GPIO26 | | safe | DAC2, ADC2_9 | Free. |
|---|
| GPIO27 | | safe | ADC2_7, Touch7 | Free. |
|---|
| GPIO32 | | safe | ADC1_4, Touch9 | Free; ADC1 works with Wi-Fi on: use it for analog sensors. |
|---|
| GPIO33 | | safe | ADC1_5, Touch8 | Free; ADC1. |
|---|
| GPIO34 | | with care | ADC1_6 | Input only, no internal pull-up. |
|---|
| GPIO35 | | with care | ADC1_7 | Input only, no internal pull-up. |
|---|
| GPIO36 | VP | with care | ADC1_0 | Input only, no internal pull-up. |
|---|
| GPIO39 | VN | with care | ADC1_3 | Input only, no internal pull-up. |