![]() ![]() ![]() ![]() |
|
This is the GPIO Pin layout for the current Model A and Model B Revision 2.0 boards. You can view the layout for the original Model B Revision 1.0 boards here.
For each Pin on the Raspberry Pi breakout pads, the table provides the following detail:
Wiring
GPIO
Name
Raspberry Pi
Name
GPIO
Wiring
--------
------
----------
----
----
----------
------
--------
-
-
3V3
1
2
5V0
-
-
8
2
I2C1_SDA
3
4
5V0
-
-
9
3
I2C1_SCL
5
6
GND
-
-
7
4
GPIO_4
7
8
UART0_TXD
14
15
-
-
GND
9
10
UART0_RXD
15
16
0
17
GPIO_17
11
12
GPIO_18
18
1
2
27
GPIO_27
13
14
GND
-
-
3
22
GPIO_22
15
16
GPIO_23
23
4
-
-
3V3
17
18
GPIO_24
24
5
12
10
SPI0_MOSI
19
20
GND
-
-
13
9
SPI0_MISO
21
22
GPIO_25
25
6
14
11
SPI0_SCLK
23
24
SPI0_CE0_N
8
10
-
-
GND
25
26
SPI0_CE1_N
7
11
With the release of Model B Revision 2.0 and Model A boards, a second GPIO header - P5 - has been added. There is no connector attached to the 8 through holes so usage will require soldering. The P5 header is positioned next to the P1 header but is designed to accept a connector on the bottom or reverse side of the board. If you connect on the same side as the P1 header, remember that the pins will be reversed left to right.
Wiring
GPIO
Name
Raspberry Pi
Name
GPIO
Wiring
--------
------
----------
----
----
----------
------
--------
-
-
3V3
1
2
5V0
-
-
17
28
GPIO_28
3
4
GPIO_29
29
18
19
30
GPIO_30
5
6
GPIO_31
31
20
-
-
GND
7
8
GND
-
-