Raspberry Pi 3b Gpio Pin Layout
The raspberry pi has 40 gpio pins that connect to sensors lights motors and other devices.
Raspberry pi 3b gpio pin layout. 2x 5v power pins. Prior to the pi 1 model b 2014 boards comprised a shorter 26 pin header. Here s a map and detailed explanation of what each does including on the pi 4. A 40 pin gpio header is found on all current raspberry pi boards unpopulated on pi zero and pi zero w.
1x i2c bus. This is the configuration of the pins as you ll receive it when you first boot up raspbian or noobs with raspbian. 1x serial uarts rpi3 only includes mini uart 2x spi bus. 24x gpio pins.
2x 3 3v. Hardware interfaces for the raspberry pi 2 and raspberry pi 3 are exposed through the 40 pin header j8 on the board. On the raspberry pi model 3b the hardware based serial uart device dev ttyama0 has been re purposed to communicate with the the built in bluetooth modem and is no longer mapped to the serial rx tx pins on the gpio header. Instead a new serial port dev ttys0 has been provided which is implemented with a software based uart miniuart.
The goal of the gpio pins is to add some extensions to your raspberry pi for example most of the raspberry pi hats use these pins to connect with the raspberry pi you can also create your electronic circuit by using these gpio pins with cables led and other accessories. Here is the raspberry pi 4 default gpio pinout for the 40 pin j8 header. In order to avoid damaging your pi you need to be sure what pins you are connecting to other hardware and that your program is referring to the correct pins. The header provides 5v on pin 2 and 3 3v on pin 1.
The pi 4 has expanded the capability of many pins by supporting these interfaces on more of them than the raspberry pi 3b before it. It s the 40 pins you can see on the raspberry pi near the edge. It also includes dozens of pinouts for raspberry pi add on boards hats and phats. To confuse things even more the gpio pins are sometimes renamed with another set of numbers.
Below is a brief description of each. Raspberry pi 2 3 pin mappings. I2c or the inter integrated circuit protocol allows your raspberry pi to control multiple sensors and components known as slaves. Gpio header power pins.
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. 5 minutes to read. There are now four usb 2 0 ports compared to two on the model b. The comprehensive gpio pinout guide for the raspberry pi.
The raspberry pi model b features. Support pinout xyz on patreon.