⚡
usefultools.dev
GPIO

Pinbelegung von ESP32, ESP8266, Pico & STM32 – Referenz

NEU

Pinout-Referenz für Mikrocontroller: ESP32 DevKit, ESP8266 NodeMCU, Raspberry Pi Pico und STM32 Blue Pill – sichere Pins, Boot-Pins, ADC, PWM und Busse.

Läuft zu 100 % in deinem Browser — deine Eingaben werden nie hochgeladen oder auf unseren Servern gespeichert.

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

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

Pins und Grenzwerte, auf die du achten solltest

  • 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.

Steckleisten-Diagramm (nach Funktion gruppiert, nicht in physischer Reihenfolge – tippe auf einen Pin, um ihn nachzuschlagen)

Strapping pins

Input-only

Flash (do not use)

Safe general-purpose

UART0 + power

  • Versorgung / Steuerung
  • Analogeingang (ADC)
  • PWM
  • I2C
  • SPI
  • UART / Seriell
  • Boot / Strapping
  • Meiden / reserviert

36 von 36 Pins

PinIm CodeFunktionenHinweise
GPIO00
Digital-I/OPWMInterruptAnalogeingang (ADC)TouchBoot / 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
Digital-I/OInterruptUART / SeriellMeiden / reserviert
U0TXD — Serial TX to the USB-serial chip⚠ Used for uploading and Serial; boot log is printed here
GPIO22
Digital-I/OPWMInterruptAnalogeingang (ADC)TouchBoot / StrappingOnboard-LED
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
Digital-I/OInterruptUART / SeriellMeiden / reserviert
U0RXD — Serial RX from the USB-serial chip⚠ Used for uploading and Serial
GPIO44
Digital-I/OPWMInterruptAnalogeingang (ADC)Touch
ADC2_CH0; touch T0⚠ ADC2 cannot be read while Wi-Fi is active
GPIO55
Digital-I/OPWMInterruptBoot / StrappingSPI
Strapping pin (SDIO timing); default VSPI SS⚠ Outputs a PWM signal at boot
GPIO66
Meiden / reserviert
Connected to the module's SPI flash (CLK)⚠ Do not use — touching these pins crashes the board
GPIO77
Meiden / reserviert
Connected to the module's SPI flash (SD0)⚠ Do not use — touching these pins crashes the board
GPIO88
Meiden / reserviert
Connected to the module's SPI flash (SD1)⚠ Do not use — touching these pins crashes the board
GPIO99
Meiden / reserviert
Connected to the module's SPI flash (SD2)⚠ Do not use — touching these pins crashes the board
GPIO1010
Meiden / reserviert
Connected to the module's SPI flash (SD3)⚠ Do not use — touching these pins crashes the board
GPIO1111
Meiden / reserviert
Connected to the module's SPI flash (CMD)⚠ Do not use — touching these pins crashes the board
GPIO1212
Digital-I/OPWMInterruptAnalogeingang (ADC)TouchBoot / StrappingDebug (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
Digital-I/OPWMInterruptAnalogeingang (ADC)TouchDebug (JTAG/SWD)SPI
HSPI MOSI; JTAG TCK; ADC2_CH4; touch T4⚠ ADC2 cannot be read while Wi-Fi is active
GPIO1414
Digital-I/OPWMInterruptAnalogeingang (ADC)TouchDebug (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
Digital-I/OPWMInterruptAnalogeingang (ADC)TouchBoot / StrappingDebug (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
Digital-I/OPWMInterruptUART / Seriell
Serial2 RX (default)⚠ Used by PSRAM on WROVER modules — not available there
GPIO1717
Digital-I/OPWMInterruptUART / Seriell
Serial2 TX (default)⚠ Used by PSRAM on WROVER modules — not available there
GPIO1818
Digital-I/OPWMInterruptSPI
VSPI SCK — default SPI SCK in Arduino
GPIO1919
Digital-I/OPWMInterruptSPI
VSPI MISO — default SPI MISO in Arduino
GPIO2121
Digital-I/OPWMInterruptI2C
Default I2C SDA (Wire)
GPIO2222
Digital-I/OPWMInterruptI2C
Default I2C SCL (Wire)
GPIO2323
Digital-I/OPWMInterruptSPI
VSPI MOSI — default SPI MOSI in Arduino
GPIO2525
Digital-I/OPWMInterruptAnalogeingang (ADC)DAC (Analogausgang)
DAC channel 1 (8-bit, dacWrite(25, …)); ADC2_CH8⚠ ADC2 cannot be read while Wi-Fi is active
GPIO2626
Digital-I/OPWMInterruptAnalogeingang (ADC)DAC (Analogausgang)
DAC channel 2 (8-bit); ADC2_CH9⚠ ADC2 cannot be read while Wi-Fi is active
GPIO2727
Digital-I/OPWMInterruptAnalogeingang (ADC)Touch
ADC2_CH7; touch T7⚠ ADC2 cannot be read while Wi-Fi is active
GPIO3232
Digital-I/OPWMInterruptAnalogeingang (ADC)Touch
32 kHz crystal input (XTAL_32K_P) on some boards; ADC1_CH4 (works with Wi-Fi on); touch T9
GPIO3333
Digital-I/OPWMInterruptAnalogeingang (ADC)Touch
32 kHz crystal output (XTAL_32K_N) on some boards; ADC1_CH5 (works with Wi-Fi on); touch T8
GPIO3434
Digital-I/OInterruptAnalogeingang (ADC)Nur Eingang
Input only — no output driver, no internal pull-up/down; ADC1_CH6 (works with Wi-Fi on)
GPIO3535
Digital-I/OInterruptAnalogeingang (ADC)Nur Eingang
Input only — no output driver, no internal pull-up/down; ADC1_CH7 (works with Wi-Fi on)
GPIO3636
Digital-I/OInterruptAnalogeingang (ADC)Nur Eingang
SENSOR_VP (labelled VP). Input only, no pull-up/down; ADC1_CH0 (works with Wi-Fi on)
GPIO3939
Digital-I/OInterruptAnalogeingang (ADC)Nur Eingang
SENSOR_VN (labelled VN). Input only, no pull-up/down; ADC1_CH3 (works with Wi-Fi on)
EN—
Versorgung / Steuerung
Chip enable / reset (EN button) — pull LOW to reset
3V3—
Versorgung / Steuerung
3.3 V from the on-board regulator
VIN / 5V—
Versorgung / Steuerung
5 V input (or USB 5 V) to the regulator
GND—
Versorgung / Steuerung
Ground

Quelle: Espressif ESP32 datasheet and ESP32-WROOM-32 datasheet (strapping pins, IO_MUX table), arduino-esp32 default pin definitions. Board-Revisionen und Klone unterscheiden sich – prüfe vor dem Verdrahten das Datenblatt und den Schaltplan deines genauen Boards.

⚡

Schnelle Beispiele

Typische Eingaben und die Ergebnisse, die dieses Tool liefert.

Filter
ESP32 · Nur Eingang
GPIO34 GPIO35 GPIO36 GPIO39
Filter
ESP32 · Boot / Strapping
GPIO0 2 5 12 15
Suche
NodeMCU · D1
GPIO5; Standard-SCL für I2C
Suche
Pico · GP26
ADC0; PWM5 A; SPI1 SCK…
Suche
Blue Pill · PA9
USART1 TX (serieller Bootloader)…
📖

Überblick

Diese MCU-Pinout-Referenz beantwortet die Fragen, die bei beliebten 3,3-V-Entwicklungsboards die meisten Probleme wie „mein Board bootet nicht“ und „analogRead liefert nichts“ verursachen. Sie deckt das ESP32 DevKit (WROOM-32), das ESP8266 NodeMCU, den Raspberry Pi Pico (RP2040) und das STM32F103 „Blue Pill“ ab.

Zu jedem GPIO erhältst du seinen ADC-Kanal sowie PWM-, Touch-, SPI-, I2C- und UART-Funktionen samt Warnungen: ESP32-Strapping-Pins 0, 2, 5, 12 und 15, reine Eingänge GPIO34–39, ADC2, der mit WLAN nicht nutzbar ist, und Flash-Pins 6–11; NodeMCU-D-Bezeichnungen gegenüber GPIO-Nummern; die GP-Nummern des Pico, ADC0–2 und Versorgungspins; und welche Blue-Pill-Pins 5-V-tolerant sind. Suche nach Pin oder Funktion und kopiere jede gefilterte Tabelle als Markdown.

Die Daten stammen aus den Datenblättern von Espressif, Raspberry Pi und STMicroelectronics. Alles läuft in deinem Browser; prüfe vor dem Verdrahten die genaue Revision deines Boards. Die Hinweise zu den einzelnen Pins werden auf Englisch angezeigt, so wie sie in der Originaldokumentation stehen.

Warum dieses Tool?

  • Strapping- und Flash-Pins meiden, die das Booten verhindern
  • ADC-Pins finden, die bei aktivem WLAN weiter funktionieren
  • NodeMCU-D-Bezeichnungen in GPIO-Nummern übersetzen
  • 5-V-Toleranz prüfen, bevor du Module anschließt
  • Vier beliebte Boards an einem Ort
⭐

Funktionen

🚦

Zu meidende Pins

Boot-/Strapping-, Flash-, USB-, SWD- und serielle Pins sind mit dem Grund gekennzeichnet, sie zu meiden.

📈

ADC-Kanäle

ADC1-/ADC2-Kanal pro ESP32-Pin, ADC0–ADC2 des Pico, ADC12_IN0–9 der Blue Pill.

🔀

Busfunktionen

Standard- und alternative SPI-, I2C- und UART-Pins, einschließlich jeder Funktionsauswahl-Option des RP2040.

🛡️

5-V-Toleranz

STM32-FT-Pins sind markiert; ESP- und RP2040-Boards sind als nur 3,3 V gekennzeichnet.

📌

Steckleisten-Diagramm

Physisches Layout für NodeMCU und Pico, Funktionsgruppen für ESP32 und Blue Pill.

📋

Markdown-Export

Kopiere die gefilterte Pin-Tabelle für deine Projektnotizen.

🛠️

So funktioniert’s

1

Board wählen

Wähle ESP32, NodeMCU, Pico oder Blue Pill in der Board-Liste.

2

Suchen oder filtern

Gib einen Pin ein (GPIO25, D4, GP15, PA9) oder wähle eine Funktion wie Analogeingang.

3

Warnungen prüfen

Lies das Warnungsfeld und die ⚠-Hinweise, bevor du einen Pin auswählst.

4

Kopieren

Verwende Als Markdown kopieren, um das Ergebnis zu speichern.

🤔

Häufig gestellte Fragen