Rockpi4/hardware
General purpose input-output (GPIO) connector
ROCK Pi 4 has a 40-pin expansion header. Each pin is distinguished by color.
Function | Pin# | Pin# | Function | |
---|---|---|---|---|
VCC3V3_SYS | 1 | 2 | VCC5V0_SYS | |
I2C7_SDA | 3 | 4 | VCC5V0_SYS | |
I2C7_SCL | 5 | 6 | GND | |
GPIO2_B3 | 7 | 8 | GPIO4_C4 | |
GND | 9 | 10 | GPIO4_C3 | |
GPIO4_C2 | 11 | 12 | GPIO4_A3 | |
GPIO4_C6 | 13 | 14 | GND | |
GPIO4_C5 | 15 | 16 | GPIO4_D2 | |
VCC3V3_SYS | 17 | 18 | GPIO4_D4 | |
GPIO1_B0 | 19 | 20 | GND | |
GPIO1_A7 | 21 | 22 | GPIO4_D5 | |
GPIO1_B1 | 23 | 24 | GPIO1_B2 | |
GND | 25 | 26 | ADC_IN0 | |
GPIO2_A0 | 27 | 28 | GPIO2_A1 | |
GPIO2_B2 | 29 | 30 | GND | |
GPIO2_B1 | 31 | 32 | GPIO3_C0 | |
GPIO2_B4 | 33 | 34 | GND | |
GPIO4_A5 | 35 | 36 | GPIO4_A4 | |
GPIO4_D6 | 37 | 38 | GPIO4_A6 | |
GND | 39 | 40 | GPIO4_A7 |