GPIO Pinout

From HiveTool
Revision as of 04:10, 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 use
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
Raspberry 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 SPIO MOSI
GPIO  9 SPIO MISO
GPIO 11 SPIO 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
Raspberry 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
GPIO 7
I2C EEPROM ID_SC
Ground
GPIO 12 PWM
Ground
GPIO 16
GPIO 20 PCM_DIN
GPIO 21 PCM DOUT
Hivetool use
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 used 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

SignalJ8
3.3 VDC Power1
3.3 VDC Power17
5 VDC Power2
5 VDC Power4
GPIO 2 I2C3
GPIO 3 I2C5
GPIO 47
GPIO 529
GPIO 631
GPIO 726
GPIO 824
GPIO 9 SPIO MISO21
GPIO 10 SPIO MOSI19
GPIO 11 SPIO SCLK23
GPIO 12 PWM32
GPIO 1333
GPIO 14 TXDO8
GPIO 15 RXDO10
GPIO 1636
GPIO 1711
GPIO 18 PCM_CLK12
GPIO 19 PCM_FS35
GPIO 20 PCM_DIN38
GPIO 21 PCM DOUT40
GPIO 2215
GPIO 2316
GPIO 2418
GPIO 2522
GPIO 2637
GPIO 2713
I2C EEPROM ID_SD27
I2C EEPROM ID_SC28
Ground6
Ground9
Ground14
Ground20
Ground25
Ground30
Ground34
Ground39