Raspberry Pi 3 Model B Gpio Pins
The raspberry pi 3 model b board contains a single 40 pin expansion header labeled as j8 providing access to 28 gpio pins.
Raspberry pi 3 model b gpio pins. The pwm pin available on the gpio header is shared with the audio system. Raspberry pi can control many external i o devices using these gpio s. These pins are a physical interface between the pi and the outside world. 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.
Model b io pins pi hardware raspberry pi 1 model b model b io pins 3 3v output. Last modified by christopher stanton on mar 14 2018 7 34 am. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w.
Install the rpi gpio package sudo apt install rpi gpio. This means that you can t use the pwm output and play audio through the 3 5mm jack at. Before starting with the gpio pins practice we need to do a few steps on the raspberry pi to make sure that everything is ready. The raspberry pi has two i2c connections at gpio 2 and 3 sda and scl are for i2c0 master and physical pins 27 and 28 are i2c pins that enable the pi to talk to compatible hat hardware.
Click to view larger image. Raspberry pi 3 model b. Enable i2c and spi in raspi config. Any of the gpio pins can be designated in software as an input or output pin and used for a wide range of purposes.
External circuitry may draw up to a total of 50ma max current from the 3 3v out pins. 1x serial uarts rpi3 only includes mini uart 2x spi bus. Hardware interfaces for the raspberry pi 2 and raspberry pi 3 are exposed through the 40 pin header j8 on the board. Gpio general purpose input output pins can be used as input or output and allows raspberry pi to connect with general purpose i o devices.
Raspberry pi 3 model b gpio 40 pin block pinout version 12 created by pchan on jan 28 2015 9 04 am.