Raspberry Pi 4 Pinout Diagram and Terminals Identification



The Raspberry Pi is a very well-known small computer that operates with the Linux Operating System. The Raspberry Pi 4 is an ultra-high performance board than its other versions. It was developed in 2019. It has a Cortex A72 Prcessor and 64-bit Broadcom 2711. The processor is operated with a 1.5GHz clock signal. It has two micro HMI Ports to connect the 4K displays. It uses a C-type USB port to connect the power supply. It also has a dual-channel 2.4/5.0 GHz wireless LAN system, Gigabit Ethernet Port, two number 3.0 USB ports, and supports Bluetooth 5.0.

Here, you can see the pinout diagram of Raspberry Pi 4. Here, only pins are highlighted.

Raspberry Pi 4 Pinout Diagram and terminals, pinout diagram of Raspberry Pi 4


You can see the Raspberry Pi 4 module has a total of 40 pins. Now, let's discuss the pin configuration.


Power Supply Pins


Power supply pins are those through which we can provide the power supply to this board or take the power supply from it. Note that the Raspberry Pi 4 works efficiently with a 5V DC supply only. Providing more voltage can burn out the board.

Power IN


To provide power to this board, it has two 5V power supply pins - pin no 2 and pin no 4. So using any of these pins and a ground pin we can provide a power supply to this board. Although it supports two methods for power input either using these pins or through the USB type C port. The 5V pins are directly connected to the USB port. The input power supply always be stable for better performance. The USB port C is connected through the regulators and fuse but pins are bypassed or directly connected. So more safety is required when providing the power supply through pins. It has a total of 7 nos ground pins, all are connected to each other so any of them can be used for the negative power supply.


Power OUT


Power out means taking power from this board to the external devices. For this purpose, it has two 3.3V pins(pin no 1 and 17) and two 5V pins(pin no 2 and 6). 3.3V pins are connected through the regulator circuit, so they can provide a stable 3.3V power output. The 5V pins are also connected to the USB ports. 

The ground pins are,
  • Pin No 6
  • Pin No 9
  • Pin No 14
  • Pin No 20
  • Pin No 25
  • Pin No 30
  • Pin No 34
  • Pin No 39


Digital Input/Output Pins


The Raspberry Pi 4 has a total of 28 Digital input/output or GPIO pins. Here, you can see the list and pin numbers,

GPIO0 – Pin No 27

GPIO1 – Pin No 28

GPIO2 – Pin No 3

GPIO3 – Pin No 5

GPIO4 – Pin No 7

GPIO5 – Pin No 29

GPIO6 – Pin No 31

GPIO7 – Pin No 26

GPIO8 – Pin No 24

GPIO9 – Pin No 21

GPIO10 – Pin No 19

GPIO11 – Pin No 23

GPIO12 – Pin No 32

GPIO13 – Pin No 33

GPIO14 – Pin No 8

GPIO15 – Pin No 10

GPIO16 – Pin No 36

GPIO17 – Pin No 11

GPIO18 – Pin No 12

GPIO19 – Pin No 35

GPIO20 – Pin No 38

GPIO21 – Pin No 40

GPIO22 – Pin No 15

GPIO23 – Pin No 16

GPIO24 – Pin No 18

GPIO25 – Pin No 22

GPIO26 – Pin No 37

GPIO27 – Pin No 13


Serial Communication and UART Pins


The GPIO pins of this module can be used for other functions such as communication purposes. Here the list of pins through serial and UART communication can be done.

TXD1 – GPIO14 – Pin No 8

RXD1 – GPIO15 – Pin No 10

TXD2 – GPIO0 – Pin No 27

RXD2 – GPIO1 – Pin No 28

TXD3 – GPIO5 – Pin No 29

RXD3 – GPIO4 – Pin No 7

TXD4 – GPIO8 – Pin No 24

RXD4 – GPIO9 – Pin No 21

TXD5 – GPIO12 – Pin No 32

RXD5 – GPIO13 – Pin No 33


SPI Communication Pins


Here, is the list of SPI Communication Pins through which controlling devices can be connected that use SPI Protocols.

SPI3 CEO N – GPIO0 – Pin No 27

SPI3 MISO – GPIO1 – Pin No 28

SPI3 MOSI – GPIO2 – Pin No 3

SPI3 SCLK – GPIO3 – Pin No 5

SPI4 CEO N – GPIO4 – Pin No 7

SPI4 MISO – GPIO5 – Pin No 29

SPI4 MOSI – GPIO6 – Pin No 31

SPI4 SCLK – GPIO7 – Pin No 26

SPI0 CE1 N – GPIO8 – Pin No 24

SPI0 CE0 N – GPIO9 – Pin No 21

SPI0 MISO – GPIO10 – Pin No 19

SPI0 MOSI – GPIO11 – Pin No 23

SPI5 CEO N/ SPI0 SCLK – GPIO12 – Pin No 32

SPI5 MISO – GPIO13 – Pin No 33

SPI5 MOSI – GPIO14 – Pin No 8

SPI5 SCLK – GPIO15 – Pin No 10

CTS0 – GPIO16 – Pin No 36

RTS0 – GPIO17 – Pin No 11

SPI6 CEO N – GPIO18 – Pin No 12

SPI6 MISO – GPIO19 – Pin No 35

SPI6 MOSI – GPIO20 – Pin No 38

SPI6 SCLK – GPIO21 – Pin No 40


I^2C Communication Pins


Here is the list of pins used for the communication that uses I^2C Protocol.

SDA0/SDA6 – GPIO0 – Pin No 27

SCL0/SCL6 – GPIO1 – Pin No 28

SDA1/SDA3 – GPIO2 – Pin No 3

SCL1/SCL3 – GPIO3 – Pin No 5

SDA3 – GPIO4 – Pin No 7

SCL3 – GPIO5 – Pin No 29

SDA4 – GPIO6 – Pin No 31

SCL4 – GPIO7 – Pin No 26

SDA4 – GPIO8 – Pin No 24

SCL4 – GPIO9 – Pin No 21

SDA5 – GPIO10 – Pin No 19

SCL5 – GPIO11 – Pin No 23

SDA5 – GPIO12 – Pin No 32

SCL5 – GPIO13 – Pin No 33

SDA6 – GPIO22 – Pin No 15

SCL6 – GPIO23 – Pin No 16



Pulse Width Modulation(PWM) Pins


PWM0 – GPIO12 – Pin No 32

PWM1 – GPIO13 – Pin No 33

PWM0 – GPIO18 – Pin No 12

PWM1 – GPIO19 – Pin No 35


SD Card Input/Output Pins


SD0CLK/SD1 CLK – GPIO22 – Pin No 15

SD0 CMD/SD1 CMD – GPIO23 – Pin No 16

SD0 DATA0/SD1 DAT0 – GPIO24 – Pin No 18

SD0 DAT1/SD1 DAT1 – GPIO25 – Pin No 22

SD1 DAT2/SD1 DAT2 – GPIO26 – Pin No 37

SD0 DAT3/SD1 DAT3 – GPIO27 – Pin No 13


Read Also: 

Thank you for visiting the website. keep visiting for more updates.

Raspberry Pi 4 Pinout Diagram and Terminals Identification Raspberry Pi 4 Pinout Diagram and Terminals Identification Reviewed by Author on November 24, 2021 Rating: 5
Powered by Blogger.