Interactive GPIO Pinout Reference

Tap any pin to see what it does, filter by I2C, SPI, UART, PWM or analog, find pins to avoid, and keep your own wiring labels.

브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기

…

사용 방법

  1. 1
    Choose the board

    Pick Raspberry Pi, Pico, Arduino Uno, Arduino Nano or ESP32 DevKitC at the top.

  2. 2
    Find pins

    Search by GPIO number, physical pin (pin 12), function (SDA, PWM, ADC) or keyword.

  3. 3
    Filter by function

    Choose I2C, SPI, UART, PWM, analog, DAC, touch, power, ground or Use with care to dim the rest.

  4. 4
    Read the details

    Tap a pin to see its functions, voltage notes, warnings and a code hint.

  5. 5
    Label your wiring

    Type what you connect to each pin; labels appear on the map and in the My wiring table.

  6. 6
    Export or print

    Download the pin list with your labels as CSV, or print the page as a wiring sheet.

이 도구 소개

Wiring a sensor starts with the same questions every time: which physical pin is GPIO 18, where are SDA and SCL, which pins can do PWM or read analog values, which ones are 5 V and which will be damaged by it, and which pins the board itself needs at boot. The answers are spread across datasheets and printed diagrams that are hard to read on a phone at the workbench. This reference puts five popular boards in one interactive page. The Raspberry Pi 40-pin header covers the Pi 5, 4, 3, Zero 2 W and Zero with BCM numbers and alternative functions: both I2C buses, SPI0 and SPI1 chip selects, the UART, hardware PWM, PCM audio and the general-purpose clocks. The Raspberry Pi Pico shows all 40 edge pins of the RP2040 with the I2C, SPI, UART and PWM slice that each GPIO can carry and the three ADC inputs. The Arduino Uno R3 and the classic Nano show ATmega328P port names, PWM pins with their timer and frequency, interrupt pins, SPI, I2C on A4 and A5, the analog-only A6 and A7, and the power header. The ESP32 DevKitC V4 shows its 38 pins with ADC1 and ADC2 channels, touch inputs, the two DAC outputs, default UART, I2C and SPI pins, deep-sleep capable RTC GPIOs, the input-only pins 34 to 39, the strapping pins 0, 2, 5, 12 and 15, and the flash pins 6 to 11 that must never be used. Pins are coloured by type and laid out like the real board. Tap a pin for its details, warnings and a one-line code hint, search by GPIO number, physical pin, function or keyword, and dim everything except I2C, SPI, UART, PWM, analog, DAC, touch, power, ground or the pins that need care.

BCM numbers and physical pins

Raspberry Pi pins have two numbers. The physical number is the position on the header, 1 to 40, starting from the square pad. The BCM or GPIO number is what software uses: gpiozero, libgpiod, RPi.GPIO in BCM mode and most tutorials. Search pin 12 for the physical position or 18 for GPIO 18; both land on the same pin.

Voltage matters

Raspberry Pi, Pico and ESP32 pins work at 3.3 V and are not 5 V tolerant, so a 5 V sensor output must go through a level shifter or a voltage divider. The Arduino Uno and Nano work at 5 V. The 5 V pins on a Raspberry Pi come straight from the power supply and can destroy a GPIO if connected to it by mistake.

Your own wiring labels

Type a label for any pin, such as DHT22 data or red LED, and it appears on the map and in the My wiring table. Labels are saved per board in this browser, with undo and redo, and included as an extra column when you download the CSV. Print the page to keep a wiring sheet next to the project.

Limits

The maps follow the official documentation for the boards named. Clones, newer revisions and boards with similar names, such as the Arduino Uno R4, Nano ESP32, ESP32-S3 or ESP32-C3, have different pinouts and are not covered. Current limits are typical values; always check the datasheet before driving motors, relays or long LED strips directly from a pin, which you should not do without a driver.

풀이 예시

Planning a weather station on a Raspberry Pi, a search for SDA finds physical pin 3 (GPIO2, I2C1 SDA, with a fixed 1.8 kΩ pull-up) and pin 27 (GPIO0, reserved for the HAT EEPROM). The I2C filter highlights 4 of 40 pins, the PWM filter 4 GPIOs (12, 13, 18 and 19), and on the ESP32 the Use with care filter marks 15 pins: 4 input-only, 5 strapping and 6 flash pins. Three wiring labels are added and exported in a 41-line CSV.

한눈에 보기

자주 묻는 질문

Which pin numbering does the Raspberry Pi map use?

Both. Each pin is shown with its physical position (1 to 40) and its BCM GPIO number. Libraries such as gpiozero and libgpiod use the BCM number, so LED(17) means GPIO 17 on physical pin 11.

Which ESP32 pins should I avoid?

GPIO 6 to 11 are wired to the flash chip and crash the board if used. GPIO 0, 2, 5, 12 and 15 are strapping pins that must be at certain levels during boot, and GPIO 34 to 39 are input-only without pull-up resistors. The Use with care filter shows all of them.

Why can I not read analog values on some ESP32 pins with Wi-Fi on?

The ESP32 has two ADC units, and ADC2 is shared with the Wi-Fi radio. While Wi-Fi is active, analogRead on ADC2 pins fails, so use the ADC1 pins 32 to 39 for analog input in connected projects.

Which Arduino Uno pins support PWM?

Pins 3, 5, 6, 9, 10 and 11, marked with a tilde on the board. Pins 5 and 6 run at about 980 Hz and the others at about 490 Hz. The Servo library disables PWM on pins 9 and 10.

Does the Pico have hardware I2C and SPI on fixed pins?

No, it is more flexible: each GPIO can carry a specific I2C, SPI or UART signal, and the same function is available on several pins. Tap a Pico pin to see, for example, that GP4 can be I2C0 SDA, SPI0 RX, UART1 TX or PWM slice 2 channel A.

Does the page work offline at the workbench?

Yes. All pin data is part of the page, so once it has loaded it keeps working without a connection, and your wiring labels stay in the browser.

완전 무료요금 없음, 가입 없음
파일은 비공개로 유지됩니다모든 작업이 브라우저 안에서 이루어집니다
내 언어로 쉽게여러 언어로 제공