Raspberry Pi 3 B Gpio Pins
Pi hardware raspberry pi 1 model b model b io pins note that we are not currently sure if the new pin 27 40 pwm1 gpclk1 and gpclk2 peripheral pin functions will be made accessible under raspbian and if so which pins they will be assigned to hence the duplicated pins shown with these functions.
Raspberry pi 3 b gpio pins. 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. Raspberry pi 3 model b. If you love pinout please help me fund new features and improvements. This offers and increase of 14 pins over the 26 pin header on the original raspberry pi.
The older iterations of the rpi such as the raspberry pi model b will only contain a total of 26pins. By matt on july 18 2014 model b. Raspberry pi b gpio header details and pinout 14. If you re an owner of a raspberry pi b 2 zero or 3 then you will have 40 pins in total.
See below for the raspberry pi gpio pinout diagram. This gpio pinout is an interactive reference to the raspberry pi gpio pins and a guide to the raspberry pi s gpio interfaces. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w. The raspberry pi 3b board contains a single 40 pin expansion header labeled as j8 providing access to 28 gpio pins.
Pins 1 2 39 40 are also labeled below j8 pinout 40 pin header. One of the most significant changes to the raspberry pi model b is the 40 pin header j8. We have included all three iterations of the pi for the pinout diagram. Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes.
Explaining the raspberry pi gpio pinout ref. Import rpi gpio as gpio import time gpio setmode gpio bcm the reason we want to set the mode here is because there are actually two labels for all of the pins broadcom bcm and board board. The board option will let you refer to the pin s actual number on the board and the broadcom number is the actual pin number that the broadcom chip considers it to be. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header.
Pinout also includes dozens of pinouts for raspberry pi add on boards hats and phats. Raspberry pi gpio layout model b. Raspberry pi 3 model b gpio 40 pin block poe header pinout version 5 created by christopher stanton on mar 8 2018 12 53 pm. Click to view larger image.