Raspberry Pi 2 Model B Gpio Pin Diagram
The raspberry pi has 40 gpio pins that connect to sensors lights motors and other devices.
Raspberry pi 2 model b gpio pin diagram. Raspberry pi 1 models a and b have only the first 26 pins. Wiringpi wiring pi pin number shown as a tooltip for gordon henderson s wiring pi library. The raspberry pi 2 model b board contains a single 40 pin expansion header labeled as j8 providing access to 28 gpio pins. More gpio more usb micro sd lower power consumption better audio neater form factor this higher spec variant increases the raspberry pi gpio pin count from 26 to 40 pins.
Raspberry pi 1 models a and b pi 2 model b pi 3 models a b and b pi 4 and pi zero zero w and zero wh gpio j8 have a 40 pin pinout. Physical number corresponding to the pin s physical location on the header. In the pi zero and zero w the 40 gpio pins are unpopulated having the through holes exposed for soldering instead. Rev 1 pi alternate bcm numbers for the original 26 pin model a and b pi.
There are now four usb 2 0 ports compared to two on the model b. Pins 1 2 39 40 are also labeled below j8 pinout 40 pin header the diagram below illustrates the gpio pinout using the pi4j wiringpi gpio numbering scheme. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w. 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 raspberry pi model b features.