Raspberry Pi GPIO


Raspberry Pi A/B P1 header (GPIO)


Raspberry Pi A+/B+ and Raspberry Pi2 header (GPIO)

Row1 SignalPinPinRow2 Signal
Pi Rev1Pi Rev2
Pi+ Rev1
Pi2 Rev1
Pi Rev1Pi Rev2
Pi+ Rev1
Pi2 Rev1
3.3 V125 V
GPIO 0GPIO 2345 V
I2C0 SDAI2C1 SDA
GPIO 1GPIO 356Ground
I2C0 SCLI2C1 SCL
GPIO 478GPIO 14
UART0 TXD
Ground910GPIO 15
UART0 RXD
GPIO 171112GPIO 18
GPIO 21GPIO 271314Ground
GPIO 221516GPIO 23
3.3 V1718GPIO 24
GPIO 101920Ground
SPI0 MOSI
GPIO 92122GPIO 25
SPI0 MISO
GPIO 112324GPIO 8
SPI0 SCLKSPI0 CE0_N
Ground2526GPIO 7
SPI0 CE1_N
IS_SD2728IS_SC
GPIO 52930Ground
GPIO 63132GPIO 12
GPIO 133334Ground
GPIO 193536GPIO 16
GPIO 263738GPIO 20
Ground3940GPIO 21

Notes:
Voltage levels are 3.3V (NOT 5V tolerant). There is no over-voltage protection on the board.
The maximum permitted current draw from the 3.3 V pin is 50 mA.
The GPIO pins are unbuffered and unprotected.
Pin 3-5 (SDA/SCL) have 1.8 kΩ pulls up resistors on the board.

Raspberry Pi A+/B+ and Raspberry Pi2
Pin 27-40 are only available on Raspberry Pi A+/B+ and Raspberry Pi2.
Pin IS_SD-IS_SC are reserved for ID EEPROM.