⚡
usefultools.dev
GPIO

ESP32, ESP8266, Pico & STM32 Pinout Reference

NOUVEAU

Microcontroller pinout reference for ESP32 DevKit, ESP8266 NodeMCU, Raspberry Pi Pico and STM32 Blue Pill: safe pins, boot pins, ADC, PWM and buses.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

ESP32 DevKit (ESP32-WROOM-32) — ESP32-D0WD dual-core Xtensa @ up to 240 MHz, logique 3.3 V

GPIO:
34 on the chip; ~25 usable on a DevKit (6–11 are flash)
ADC:
18 channels, 12-bit: ADC1 on 32–39, ADC2 on 0, 2, 4, 12–15, 25–27
DAC:
2 × 8-bit on GPIO25, GPIO26
Touch:
10 capacitive touch inputs (T0–T9)
PWM:
LEDC on any output-capable GPIO (16 channels)
Interrupts:
All GPIOs
Current per pin:
Keep to ~20 mA (configurable drive strength, max ~40 mA) — see the datasheet

Broches et limites à surveiller

  • 3.3 V logic — the ESP32 is not 5 V tolerant. Level-shift 5 V signals.
  • GPIO6–11 are wired to the SPI flash: never use them.
  • GPIO34–39 are input-only and have no internal pull-up/down resistors.
  • ADC2 (GPIO0, 2, 4, 12–15, 25–27) cannot be used while Wi-Fi is on — use ADC1 pins (32–39) for analog reads.
  • Strapping pins 0, 2, 5, 12, 15 must be at their default level at reset; external pull-ups/downs there can stop the board from booting.
  • Physical header order differs between 30-pin and 38-pin DevKit boards — check the silkscreen.

Schéma des connecteurs (regroupées par fonction, pas dans l'ordre physique — touchez une broche pour l'afficher)

Strapping pins

Input-only

Flash (do not use)

Safe general-purpose

UART0 + power

  • Alimentation / contrôle
  • Entrée analogique (ADC)
  • PWM
  • I2C
  • SPI
  • UART / Série
  • Boot / strapping
  • À éviter / réservée

36 broches sur 36

BrocheDans le codeFonctionsRemarques
GPIO00
E/S numériquePWMInterruptionEntrée analogique (ADC)TactileBoot / strapping
Strapping pin: LOW at reset = download (flash) mode; wired to the BOOT button; ADC2_CH1; touch T1⚠ Must be HIGH (floating/pulled up) at reset for normal boot. ADC2 cannot be read while Wi-Fi is active
GPIO11
E/S numériqueInterruptionUART / SérieÀ éviter / réservée
U0TXD — Serial TX to the USB-serial chip⚠ Used for uploading and Serial; boot log is printed here
GPIO22
E/S numériquePWMInterruptionEntrée analogique (ADC)TactileBoot / strappingLED intégrée
Strapping pin; on-board LED on many DevKit clones; ADC2_CH2; touch T2⚠ Must be LOW or floating at reset to enter download mode. ADC2 cannot be read while Wi-Fi is active
GPIO33
E/S numériqueInterruptionUART / SérieÀ éviter / réservée
U0RXD — Serial RX from the USB-serial chip⚠ Used for uploading and Serial
GPIO44
E/S numériquePWMInterruptionEntrée analogique (ADC)Tactile
ADC2_CH0; touch T0⚠ ADC2 cannot be read while Wi-Fi is active
GPIO55
E/S numériquePWMInterruptionBoot / strappingSPI
Strapping pin (SDIO timing); default VSPI SS⚠ Outputs a PWM signal at boot
GPIO66
À éviter / réservée
Connected to the module's SPI flash (CLK)⚠ Do not use — touching these pins crashes the board
GPIO77
À éviter / réservée
Connected to the module's SPI flash (SD0)⚠ Do not use — touching these pins crashes the board
GPIO88
À éviter / réservée
Connected to the module's SPI flash (SD1)⚠ Do not use — touching these pins crashes the board
GPIO99
À éviter / réservée
Connected to the module's SPI flash (SD2)⚠ Do not use — touching these pins crashes the board
GPIO1010
À éviter / réservée
Connected to the module's SPI flash (SD3)⚠ Do not use — touching these pins crashes the board
GPIO1111
À éviter / réservée
Connected to the module's SPI flash (CMD)⚠ Do not use — touching these pins crashes the board
GPIO1212
E/S numériquePWMInterruptionEntrée analogique (ADC)TactileBoot / strappingDébogage (JTAG/SWD)SPI
MTDI strapping pin: selects flash voltage; HSPI MISO; JTAG TDI; ADC2_CH5; touch T5⚠ HIGH at reset selects 1.8 V flash and the WROOM-32 fails to boot — keep it LOW at reset. ADC2 cannot be read while Wi-Fi is active
GPIO1313
E/S numériquePWMInterruptionEntrée analogique (ADC)TactileDébogage (JTAG/SWD)SPI
HSPI MOSI; JTAG TCK; ADC2_CH4; touch T4⚠ ADC2 cannot be read while Wi-Fi is active
GPIO1414
E/S numériquePWMInterruptionEntrée analogique (ADC)TactileDébogage (JTAG/SWD)SPI
HSPI SCK; JTAG TMS; ADC2_CH6; touch T6⚠ Outputs a PWM signal at boot. ADC2 cannot be read while Wi-Fi is active
GPIO1515
E/S numériquePWMInterruptionEntrée analogique (ADC)TactileBoot / strappingDébogage (JTAG/SWD)SPI
MTDO strapping pin (LOW at reset silences the boot log); HSPI SS; JTAG TDO; ADC2_CH3; touch T3⚠ Outputs a PWM signal at boot. ADC2 cannot be read while Wi-Fi is active
GPIO1616
E/S numériquePWMInterruptionUART / Série
Serial2 RX (default)⚠ Used by PSRAM on WROVER modules — not available there
GPIO1717
E/S numériquePWMInterruptionUART / Série
Serial2 TX (default)⚠ Used by PSRAM on WROVER modules — not available there
GPIO1818
E/S numériquePWMInterruptionSPI
VSPI SCK — default SPI SCK in Arduino
GPIO1919
E/S numériquePWMInterruptionSPI
VSPI MISO — default SPI MISO in Arduino
GPIO2121
E/S numériquePWMInterruptionI2C
Default I2C SDA (Wire)
GPIO2222
E/S numériquePWMInterruptionI2C
Default I2C SCL (Wire)
GPIO2323
E/S numériquePWMInterruptionSPI
VSPI MOSI — default SPI MOSI in Arduino
GPIO2525
E/S numériquePWMInterruptionEntrée analogique (ADC)DAC (sortie analogique)
DAC channel 1 (8-bit, dacWrite(25, …)); ADC2_CH8⚠ ADC2 cannot be read while Wi-Fi is active
GPIO2626
E/S numériquePWMInterruptionEntrée analogique (ADC)DAC (sortie analogique)
DAC channel 2 (8-bit); ADC2_CH9⚠ ADC2 cannot be read while Wi-Fi is active
GPIO2727
E/S numériquePWMInterruptionEntrée analogique (ADC)Tactile
ADC2_CH7; touch T7⚠ ADC2 cannot be read while Wi-Fi is active
GPIO3232
E/S numériquePWMInterruptionEntrée analogique (ADC)Tactile
32 kHz crystal input (XTAL_32K_P) on some boards; ADC1_CH4 (works with Wi-Fi on); touch T9
GPIO3333
E/S numériquePWMInterruptionEntrée analogique (ADC)Tactile
32 kHz crystal output (XTAL_32K_N) on some boards; ADC1_CH5 (works with Wi-Fi on); touch T8
GPIO3434
E/S numériqueInterruptionEntrée analogique (ADC)Entrée uniquement
Input only — no output driver, no internal pull-up/down; ADC1_CH6 (works with Wi-Fi on)
GPIO3535
E/S numériqueInterruptionEntrée analogique (ADC)Entrée uniquement
Input only — no output driver, no internal pull-up/down; ADC1_CH7 (works with Wi-Fi on)
GPIO3636
E/S numériqueInterruptionEntrée analogique (ADC)Entrée uniquement
SENSOR_VP (labelled VP). Input only, no pull-up/down; ADC1_CH0 (works with Wi-Fi on)
GPIO3939
E/S numériqueInterruptionEntrée analogique (ADC)Entrée uniquement
SENSOR_VN (labelled VN). Input only, no pull-up/down; ADC1_CH3 (works with Wi-Fi on)
EN—
Alimentation / contrôle
Chip enable / reset (EN button) — pull LOW to reset
3V3—
Alimentation / contrôle
3.3 V from the on-board regulator
VIN / 5V—
Alimentation / contrôle
5 V input (or USB 5 V) to the regulator
GND—
Alimentation / contrôle
Ground

Source : Espressif ESP32 datasheet and ESP32-WROOM-32 datasheet (strapping pins, IO_MUX table), arduino-esp32 default pin definitions. Les révisions de carte et les clones diffèrent — vérifiez la fiche technique et le schéma de votre carte exacte avant de câbler.

⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Filter
ESP32 · Input only
GPIO34 GPIO35 GPIO36 GPIO39
Filter
ESP32 · Boot / strapping
GPIO0 2 5 12 15
Search
NodeMCU · D1
GPIO5; default I2C SCL
Search
Pico · GP26
ADC0; PWM5 A; SPI1 SCK…
Search
Blue Pill · PA9
USART1 TX (serial bootloader)…
📖

Présentation

This MCU pinout reference answers the questions that cause most “my board won’t boot” and “analogRead returns nothing” problems on popular 3.3 V dev boards. It covers the ESP32 DevKit (WROOM-32), the ESP8266 NodeMCU, the Raspberry Pi Pico (RP2040) and the STM32F103 “Blue Pill”.

For each GPIO you get its ADC channel, PWM, touch, SPI, I2C and UART roles plus warnings: ESP32 strapping pins 0, 2, 5, 12 and 15, input-only GPIO34–39, ADC2 being unusable with Wi-Fi, and flash pins 6–11; NodeMCU D-labels versus GPIO numbers and its boot pins; the Pico’s GP numbers, ADC0–2 and power pins; and which Blue Pill pins are 5 V tolerant. Search by pin or function and copy any filtered table as Markdown.

Data comes from the Espressif, Raspberry Pi and STMicroelectronics datasheets. It all runs in your browser; check your exact board revision before wiring.

Pourquoi utiliser cet outil ?

  • Avoid strapping and flash pins that stop booting
  • Find ADC pins that still work with Wi-Fi on
  • Translate NodeMCU D-labels to GPIO numbers
  • Check 5 V tolerance before connecting modules
  • Four popular boards in one place
⭐

Fonctionnalités

🚦

Pins to avoid

Boot/strapping, flash, USB, SWD and serial pins are tagged with the reason to avoid them.

📈

ADC channels

ADC1/ADC2 channel per ESP32 pin, the Pico’s ADC0–ADC2, Blue Pill ADC12_IN0–9.

🔀

Bus functions

Default and alternative SPI, I2C and UART pins, including every RP2040 function-select option.

🛡️

5 V tolerance

STM32 FT pins are marked; ESP and RP2040 boards are flagged as 3.3 V only.

📌

Header diagram

Physical layout for the NodeMCU and Pico, function groups for the ESP32 and Blue Pill.

📋

Markdown export

Copy the filtered pin table for your project notes.

🛠️

Mode d'emploi

1

Choose the board

Pick ESP32, NodeMCU, Pico or Blue Pill in the Board list.

2

Search or filter

Type a pin (GPIO25, D4, GP15, PA9) or pick a Function such as Analog in.

3

Check warnings

Read the warnings box and the ⚠ notes before choosing a pin.

4

Copy

Use Copy as Markdown to save the result.

🤔

Questions fréquentes