Top Logo Sp Logo

Raspberry Pi 5 Pinout

What are the pinout for Raspberry Pi 5 ?

The answer is the pinouts to the Raspberry pi 5 are exactly the same as in the Raspberry Pi 4.

Just in case you don't have that handy I've included a printable PDF of our pinout guide for Raspberry Pi 5  

 

 

In this diagram, we cover the following headers:

  • J8 GPIO Header: This is the default 40-pin GPIO header.
  • J14 PoE: Power over Ethernet (PoE) connection.
  • J2 Power Switch: While not officially confirmed, it may be related to the Real-Time Clock (RTC) battery.
  • J7 Composite Video: Composite video output (no longer on an audio jack).
  • J17 Fan Header: This header allows for PWM control and provides feedback for the fan's speed.

The RP1 GPIO bank (IO_BANK0) supports the following functions:

  • 5 UART interfaces
  • 6 SPI interfaces
  • 4 I2C interfaces
  • 2 I2S interfaces (including Clock Producer and Clock Consumer instances)
  • Registered IO (RIO) interface
  • 24-bit DPI output
  • 4-channel PWM output
  • Stereo PWM audio output (AUDIO_OUT)
  • General-purpose clock input and output (GPCLK)
  • eMMC/SDIO bus with a 4-bit interface
  • Interrupt generation from pin level or edge transitions

The functional blocks and their locations on the GPIO pins have been designed to match user-facing functions on the 40-pin header of a Raspberry Pi 4 Model B.

GPIO Capabilities

 


Like previous Raspberry Pi models, the GPIO pins on the Raspberry Pi 5 can have multiple functions. Below is a table listing the different capabilities of each GPIO:

 

 

Each GPIO can have one function selected at a time. Likewise, each peripheral input (e.g., I2C3_SCL) should only be selected on one GPIO at a time. If the same peripheral input is connected to multiple GPIOs, the peripheral sees the logical OR of these GPIO inputs. Function selections without a named function in this list are reserved.

This is a common question I've heard lately from enthusiast that have already built out there projects using the Pi 4 pinouts on the GPIO.

The built in feature of the Raspberry Pi is the row of GPIO ( stands for general purpose input output) pins along the side edge of the board. 

 

Please note: numbering of the GPIO pins is not in numerical order; for instance GPIO pins 0 and 1 printed on the board represent pins 27 and 28

A very cool reference guide to pinouts can be accessed directly on the Raspberry Pi including the pi 5. Open the command terminal and type  pinout, then press enter

 

The Raspberry pi pinouts have two 5v pins , pin numbers 2 and 4

 

Here are all the pins that are ground.

Pin numbers 6,9,14,20,25,30,34,39 are all ground.