Skip to content

raspberry pi 2 b pinout

Ken Sharp edited this page Dec 10, 2025 · 5 revisions

Raspberry Pi 2 Model B LINX Pinout

Raspberry Pi 2 Model B pinout diagram

The figure above shows the default LINX mapping for the 40-pin GPIO header on the Raspberry Pi 2 Model B. Use this color-coded table as a quick reference when wiring sensors, actuators, or communication buses to a LINX-enabled LabVIEW project.

GPIO Header
Left Pin Pin Pin Right Pin
ffa500 VDD_3v3 1 2 ff5252 VDD_5v
1e88e5 I2C1_SDA 3 4 ff5252 VDD_5v
1e88e5 I2C1_SCL 5 6 000000 DGND
c8e6c9 DIO_7 7 8 fff59d UART0_TX
000000 DGND 9 10 fff59d UART0_RX
c8e6c9 DIO_11 11 12 c8e6c9 DIO_12
c8e6c9 DIO_13 13 14 000000 DGND
c8e6c9 DIO_15 15 16 c8e6c9 DIO_16
ffa500 VDD_3v3 17 18 c8e6c9 DIO_18
81d4fa SPI0_MOSI 19 20 000000 DGND
81d4fa SPI0_MISO 21 22 c8e6c9 DIO_22
81d4fa SPI0_CLK 23 24 ffffff RESERVED_SPI0_CS0
000000 DGND 25 26 ffffff RESERVED_SPI0_CS1
ffffff RESERVED_I2C0_SDA 27 28 ffffff RESERVED_I2C0_SCL
c8e6c9 DIO_29 29 30 000000 DGND
c8e6c9 DIO_31 31 32 c8e6c9 DIO_32
c8e6c9 DIO_33 33 34 000000 DGND
c8e6c9 DIO_35 35 36 c8e6c9 DIO_36
c8e6c9 DIO_37 37 38 c8e6c9 DIO_38
000000 DGND 39 40 c8e6c9 DIO_40

Color legend

Chip Signal
3.3 V chip 3.3 V
5 V chip 5 V
I2C chip I2C
SPI chip SPI
UART chip UART
LINX DIO chip LINX DIO
Ground chip Ground
Reserved chip Reserved

> Tip: Pins labeled as RESERVED_* or power rails should not be repurposed for general digital I/O. Keep power pins dedicated to supplying peripherals and always verify current draw before connecting new hardware.

Clone this wiki locally