Raspberry Pi Model B Rev 2 Pinout

Raspberry Pi Model B Rev 2 pinout. The original Raspberry Pi Model B expansion pinout with 2.0 revision PCBs.

Main pinout

The original Raspberry Pi Model B expansion pinout with 2.0 revision PCBs. P1 has 26 posts and P5, eight pats. The labels combine the serigraphed reference of the connector and the physical number of the contact. The advanced view identifies the power, the Broadcom GPIO and the alternative functions.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show signs and alternative functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

34 visible
PinMCU pinTypesNotes
PowerP1-1. 3.3 V regulated feed.
PowerP1-2. 5 V power rail.
GPIOI2CSMIP1-3 connects to GPIO2 of BCM2835. 3.3 V digital input or output. SDA1 schematic network.
PowerP1-4. 5 V power rail.
GPIOI2CSMIP1-5 connects to GPIO3 of BCM2835. 3.3 V digital input or output. SCL1 schematic network.
GNDP1-6. Common ground return (0 V).
GPIOClockJTAGSMIP1-7 connects to GPIO4 of BCM2835. 3.3 V digital input or output. GPIO_GCLK schematic network.
GPIOUARTSMIP1-8 connects to GPIO14 of BCM2835. 3.3 V digital input or output. TXD0 schematic network.
GNDP1-9. Common ground return (0 V).
GPIOUARTSMIP1-10 connects to GPIO15 of BCM2835. 3.3 V digital input or output. RXD0 schematic network.
GPIOUARTSPISMIP1-11 connects to GPIO17 of BCM2835. 3.3 V digital input or output. GPIO_GEN0 schematic network.
GPIOI2SPWMSPII2CSMIP1-12 connects to GPIO18 of BCM2835. 3.3 V digital input or output. GPIO_GEN1 schematic network.
GPIOJTAGSDIOP1-13 connects to GPIO27 of BCM2835. 3.3 V digital input or output. GPIO_GEN2 schematic network.
GNDP1-14. Common ground return (0 V).
GPIOJTAGSDIOSMIP1-15 connects to GPIO22 of BCM2835. 3.3 V digital input or output. GPIO_GEN3 schematic network.
GPIOJTAGSDIOSMIP1-16 connects to GPIO23 of BCM2835. 3.3 V digital input or output. GPIO_GEN4 schematic network.
PowerP1-17. 3.3 V regulated feed.
GPIOJTAGSDIOSMIP1-18 connects to GPIO24 of BCM2835. 3.3 V digital input or output. GPIO_GEN5 schematic network.
GPIOSPISMIP1-19 connects to GPIO10 of BCM2835. 3.3 V digital input or output. SPI_MOSI schematic network.
GNDP1-20. Common ground return (0 V).
GPIOSPISMIP1-21 connects to GPIO9 of BCM2835. 3.3 V digital input or output. SPI_MISO schematic network.
GPIOJTAGSDIOSMIP1-22 connects to GPIO25 of BCM2835. 3.3 V digital input or output. GPIO_GEN6 schematic network.
GPIOSPISMIP1-23 connects to GPIO11 of BCM2835. 3.3 V digital input or output. SPI_SCLK schematic network.
GPIOSPISMIP1-24 connects to GPIO8 of BCM2835. 3.3 V digital input or output. SPI_CE0_N schematic network.
GNDP1-25. Common ground return (0 V).
GPIOSPISMIP1-26 connects to GPIO7 of BCM2835. 3.3 V digital input or output. SPI_CE1_N schematic network.
PowerP5-1. 5 V power rail.
PowerP5-2. 3.3 V regulated feed.
GPIOI2SI2CSMIP5-3 connects to GPIO28 of BCM2835. 3.3 V digital input or output. GPIO_GEN7 schematic network.
GPIOI2SI2CSMIP5-4 connects to GPIO29 of BCM2835. 3.3 V digital input or output. GPIO_GEN8 schematic network.
GPIOI2SUARTSMIP5-5 connects to GPIO30 of BCM2835. 3.3 V digital input or output. GPIO_GEN9 schematic network.
GPIOI2SUARTSMIP5-6 connects to GPIO31 of BCM2835. 3.3 V digital input or output. GPIO_GEN10 schematic network.
GNDP5-7. Common ground return (0 V).
GNDP5-8. Common ground return (0 V).

Specifications

Processor
Broadcom BCM2835 · ARM1176JZF-S a 700 MHz
Memory
256 or 512 MB of SDRAM PoP according to lot. The photo board is 512 MB.
P1
2 × 13 a 2,54 mm. With USB and Ethernet below, the 1 contact is up in the inner row.
P5
2 × 4 a 2,54 mm. On the component side, P5-1 is the nearest square pad to P1. The P5 reference is printed on the back.
Power supply
Micro-USB de 5 V. The BCM2835 GPIO work at 3.3 V.
Other connectors
S2 DSI screen, S3 HDMI, S4 video compound RCA, S5 CSI camera, S6 stereo audio, S7 double USB-A, P4 Ethernet 10/100 and S8 SD full-size on the back.
Prueba y reinicio
TP1 measures +5 V and TP2 is ground. P6-1 is RUN and P6-2 is ground. P2 and P3 are debugging prints of VideoCore and LAN9512.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RPI00022Model B outline, PCB 2.0Raspberry PiHoja 2, P1 y P5. 2.2/027 edition of 18 October 2012.Datasheet
Raspberry Pi Model B Rev 2Changes in the revisionRaspberry PiP5 numbering from components, I²C 1 in P1 and GPIO27 in P1-13.Datasheet
BCM2835Peripheral and multiplexationBroadcomTable 6-31, pages 102 and 103. The ALT labels are contrasted with pintl.Datasheet
Raspberry Pi Model B Rev 2Device treeRaspberry PiLine names, GPIO association and PCM in ALT2 of GPIO28-31.Datasheet
BCM2835Table of Pintl functionsRaspberry PiTabla bcm2835_gpio_alt_names. The pinout collects the public allocations of the 6-31 table.Datasheet
LAN9512Hub USB y EthernetMicrochipIC3 integrates a hub of two USB 2.0 and Ethernet 10/100 ports.Datasheet
Raspberry Pi Model B Rev 2Photographs of the back and backPololuPhotographs 0J4942 and 0J4941 of Model B rev. 2.0 de 512 MB.Datasheet

Board notes

P1 and P5 in the 2 revision
P1-3 y P1-5 exponen I²C 1. P5-3 and P5-4 can use I²C 0. P5-3 to P5-6 form the PCM / I²S interface when selecting ALT2.
Reading from the back
The numbering follows physical contact when the board is turned. Always use the square pad to locate P5-1.