GPIO Pinout

From HiveTool
Revision as of 04:11, 22 January 2015 by Paul (talk | contribs) (GPIO ordered by Header Pins)
Jump to: navigation, search

General Purpose Input Output (GPIO)

Resources:

  1. eLinux.org RPi Low-level peripherals

Notes:

  1. GPIO pins are 3.3 volt logic levels and are not tolerant of 5V levels
  2. GPIO properties can be set as a block (GPIO pins 0-27 are in the same block) not per pin.
    1. Can interrupt based on high/low/rise/fall/change.
    2. Input hysteresis (Schmitt trigger) can be on or off,
    3. Output slew rate can be fast or limited, and
    4. Source and sink currents are configurable from 2 mA up to 16 mA.

Color Legend

Color Legend
3.3 VDC PowerSerial Console/Power
5 VDC PowerHX711 Scale
GroundI2C Sensors
UnusedI2S Audio



GPIO ordered by Header Pins

The first 26 pins on J8 (A+ and B+ models) are the same as H1 on the A and B models.


Hivetool
Reserved for I2C Sensors
Reserved for I2C Sensors
Reserved for I2C Sensors
Unused
Reserved for I2C Sensors
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Reserved I2S
Unused
Unused
R Pi
3.3 VDC Power
GPIO 2 I2C
GPIO 3 I2C
GPIO 4
Ground
GPIO 17
GPIO 27
GPIO 22
3.3 VDC Power
GPIO 10 SPI MOSI
GPIO  9 SPI MISO
GPIO 11 SPI SCLK
Ground
I2C EEPROM ID_SD
GPIO 5
GPIO 6
GPIO 13
GPIO 19 PCM_FS
GPIO 26
Ground
J8
12
34
56
78
910
1112
1314
1516
1718
1920
2122
2324
2526
2728
2930
3132
3334
3536
3738
3940
R Pi
5 VDC Power
5 VDC Power
Ground
GPIO 14 TXDO
GPIO 15 RXDO
GPIO 18 PCM_CLK
Ground
GPIO 23
GPIO 24
Ground
GPIO 25
GPIO 8 SPI_CE0
GPIO 7 SPI_CE1
I2C EEPROM ID_SC
Ground
GPIO 12 PWM
Ground
GPIO 16
GPIO 20 PCM_DIN
GPIO 21 PCM DOUT
Hivetool
Reserved Power HX711
Reserved Power
Reserved Ground
Reserved serial console
Reserved serial console
Reserved I2S
Unused
Reserved HX711
Reserved HX711
Reserved HX711
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Reserved I2S
Reserved I2S




H5 is only on the A and B models. GPIO 28-31 are not available on the + models. These signals should probably not be used.

Hivetool
Unused
Unused
Unused
Unused
R Pi
5 VDC Power
GPIO 28
GPIO 30
Ground
H5
12
34
56
78
R Pi
3.3 VDC Power
GPIO 29
GPIO 31
Ground
Hivetool
Unused
Unused
Unused
Unused



GPIO ordered by Signal Name

SignalAlt FunctionJ8H1H5
3.3 VDC Power113
3.3 VDC Power1717
5 VDC Power221
5 VDC Power44
GPIO 2I2C33
GPIO 3I2C55
GPIO 477
GPIO 529
GPIO 631
GPIO 7SPIO CE12626
GPIO 8SPIO CE02424
GPIO 9 SPIO MISO2121
GPIO 10SPIO MOSI1919
GPIO 11SPIO SCLK2323
GPIO 12PWM32
GPIO 1333
GPIO 14TXD88
GPIO 15RXD1010
GPIO 1636
GPIO 171111
GPIO 18PCM_CLK1212
GPIO 19PCM_FS35
GPIO 20PCM_DIN38
GPIO 21PCM DOUT40
GPIO 221515
GPIO 231616
GPIO 241818
GPIO 252222
GPIO 2637
GPIO 271313
GPIO 28I2C0_SDA3
GPIO 29I2C0_SCL4
GPIO 305
GPIO 316
I2C EEPROM ID_SD27
I2C EEPROM ID_SC28
Ground667
Ground998
Ground1414
Ground2020
Ground2525
Ground30
Ground34
Ground39