Raspberry Pi 4 Gpio Header Pinout
Gpio pinout for raspberry pi 4 and earlier.
Raspberry pi 4 gpio header pinout. The gpio is the most basic yet accessible aspect of the raspberry pi. Les pounder general purpose input output gpio pins. The earlier revisions of the raspberry pi were 26 pin based while the newer models are 40 pin. Here is the raspberry pi 4 default gpio pinout for the 40 pin j8 header.
Support pinout xyz on patreon. This gpio pinout is designed to be both a quick and interactive reference to the raspberry pi gpio pins plus a comprehensive guide to your raspberry pi s gpio interfaces. The raspberry pi 2 3 4 and zero boards all feature a 40 pin gpio header. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w.
Raspberry pi 2 3 and 4 pinout. Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes. The diagram below show gpio pinouts used on different models of the raspberry pi. Click the image for an enlarged version.
It also includes dozens of pinouts for raspberry pi add on boards hats and phats. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header. This is the configuration of the pins as you ll receive it when you first boot up raspbian or noobs with raspbian. Below you can view the pinout for the raspberry pi 2 and newer.
As well as supplying power gnd 3 3v and 5v all the gpio pins can be used as either digital inputs or outputs.