40 Pin Raspberry Pi 4 Gpio Pinout
Below you can view the pinout for the raspberry pi 2 and newer.
40 pin raspberry pi 4 gpio pinout. The majority of raspberry pi models use the same 40 pin header. The comprehensive gpio pinout guide for the raspberry pi. Support pinout xyz on patreon. The older iterations of the rpi such as the raspberry pi model b will only contain a total of 26pins.
Raspberry pi gpio pinout. Gpio general purpose io. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w. Now let s discuss pin layout.
Gpio pins don t only perform the simple i o functions. 40 bcm 21 wiringpi 29 legend. The raspberry pi 2 3 4 and zero boards all feature a 40 pin gpio header. The pins description is same for all models.
Here is the raspberry pi 4 default gpio pinout for the 40 pin j8 header. 3 bcm 2 wiringpi 8 5 bcm 3 wiringpi 9 7 bcm 4 wiringpi 7. The raspberry pi 4 can be used in the external embedded system to communicate. Along with the 5v and 3 3v pins 8 ground pins are available.
All raspberry pis with the standard 40 gpio pins will have two 5v pins and two 3 3v pins always in the same place. The comprehensive add on boards gpio pinout guide for the raspberry pi. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header. It has a total of 40 pins from which 28 are gpio pins and the rest of them are power pins.
What each pin does on pi 4 earlier models by les pounder 16 june 2020 the raspberry pi has 40 gpio pins that connect to sensors lights motors and other devices. Here you ll learn how wiringpi numbers your gpio pins what those pins do and how to do shiny things with. Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes. Click the image for an enlarged version.
It also includes dozens of pinouts for raspberry pi add on boards hats and phats. Raspberry pi 40 pin gpio layout if you are reading the raspberry pi copyright statement printed on the pcb then pin 1 is in the bottom left and pin 40 is in the top right. Power and ground pins are what let your raspberry pi power components like leds and motors in your project. Raspberry pi 2 3 and 4 pinout.
This is the configuration of the pins as you ll receive it when you first boot up raspbian or noobs with raspbian. If you re using the raspberry pi b 2 zero 3 or the latest raspberry pi 4 model b you ll discover that your board have a total of 40 gpio pins. The additional 24 pins were all introduced with the release of the.