Raspberry Pi Pinout
40-Pin GPIO Header (Pi 2 / 3 / 4 / 5 / Zero 2 W) — Click pin for details
Click pin on board for details
GPIO Quick Overview
| BCM | Phys. | Name | Funktion |
|---|---|---|---|
| 2 | 3 | GPIO 2 | I²C SDA (I2C1) |
| 3 | 5 | GPIO 3 | I²C SCL (I2C1) |
| 4 | 7 | GPIO 4 | GPCLK0, 1-Wire |
| 14 | 8 | GPIO 14 | UART0 TXD, UART1 TXD |
| 15 | 10 | GPIO 15 | UART0 RXD, UART1 RXD |
| 17 | 11 | GPIO 17 | SPI1 CE1 |
| 18 | 12 | GPIO 18 | PWM0, PCM CLK, SPI1 CE0 |
| 27 | 13 | GPIO 27 | GPIO |
| 22 | 15 | GPIO 22 | GPIO |
| 23 | 16 | GPIO 23 | GPIO |
| 24 | 18 | GPIO 24 | GPIO |
| 10 | 19 | GPIO 10 | SPI0 MOSI |
| 9 | 21 | GPIO 9 | SPI0 MISO |
| 25 | 22 | GPIO 25 | GPIO |
| 11 | 23 | GPIO 11 | SPI0 SCLK |
| 8 | 24 | GPIO 8 | SPI0 CE0 |
| 7 | 26 | GPIO 7 | SPI0 CE1 |
| 5 | 29 | GPIO 5 | GPCLK1 |
| 6 | 31 | GPIO 6 | GPCLK2 |
| 12 | 32 | GPIO 12 | PWM0 |
| 13 | 33 | GPIO 13 | PWM1 |
| 19 | 35 | GPIO 19 | SPI1 MISO, PWM1, PCM FS |
| 16 | 36 | GPIO 16 | SPI1 CE2 |
| 26 | 37 | GPIO 26 | GPIO |
| 20 | 38 | GPIO 20 | SPI1 MOSI, PCM DIN |
| 21 | 40 | GPIO 21 | SPI1 SCLK, PCM DOUT |
Interactive Pin Mapping for Raspberry Pi
The tool provides an interactive visual map of the 40-pin GPIO header used by popular models like the Raspberry Pi 2, 3, 4, and 5, as well as the Zero 2 W. By clicking on any specific pin, you can instantly see its technical specifications, including BCM, WiringPi, and physical board numbering. This helps developers quickly identify the correct pins for their hardware connections without cross-referencing multiple external tables or manuals.
Detailed Hardware Specifications
Beyond simple mapping, the tool provides detailed information on standard communication protocols like I2C, UART, and SPI. It specifies built-in pull-up resistors for I2C pins, identifies default serial console ports for UART, and details hardware PWM channels. This level of detail is essential for building reliable IoT devices, ensuring that you select the correct pins for specific functions such as motor control or sensor communication.
Privacy-Focused Browser Tool
Your privacy is a priority when using our online tools. The Raspberry Pi Pinout tool operates entirely within your web browser. No personal data is collected, and no information about your hardware setup is transmitted to any external servers. It is a purely client-side utility designed to provide instant information locally on your device, making it a safe and fast way to reference GPIO configurations during the development process.
Frequently asked questions
Which Raspberry Pi models are supported by this tool?
The tool supports all major 40-pin GPIO models, including the Raspberry Pi 2, 3, 4, and 5, as well as the Zero 2 W. This ensures compatibility for a wide range of hardware configurations used in modern hobbyist projects and industrial IoT applications.
What is the difference between BCM and WiringPi numbers?
BCM refers to the Broadcom SOC pin numbering, while WiringPi is a popular library with its own mapping. The tool provides both sets of numbers alongside physical board numbers to help you configure your code correctly regardless of which software library you choose to use.
Does the tool provide information on I2C and SPI?
Yes, the tool provides specific details for I2C (including pull-up values), UART (standard serial ports), and SPI communication. It also highlights hardware PWM channels and identifies pins reserved for special functions like HAT EEPROM to help you avoid common configuration errors.
Is my data safe when using this online tool?
No, the tool is designed as a local browser utility. Your interactions with the pin map are not recorded or sent to any server. It provides instant information on your device, ensuring that your project details and usage patterns remain completely private and secure.