Difference between revisions of "GPIO Pinout"
(→GPIO ordered by Header Pins) |
(→GPIO ordered by Header Pins) |
||
Line 25: | Line 25: | ||
==GPIO ordered by Header Pins== | ==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. | ||
<center> | <center> | ||
<table> | <table> | ||
Line 155: | Line 156: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | <br><br> | |
+ | 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. | ||
<table> | <table> | ||
<tr> | <tr> |
Revision as of 03:10, 22 January 2015
Contents
General Purpose Input Output (GPIO)
Resources:
Notes:
- GPIO pins are 3.3 volt logic levels and are not tolerant of 5V levels
- GPIO properties can be set as a block (GPIO pins 0-27 are in the same block) not per pin.
- Can interrupt based on high/low/rise/fall/change.
- Input hysteresis (Schmitt trigger) can be on or off,
- Output slew rate can be fast or limited, and
- Source and sink currents are configurable from 2 mA up to 16 mA.
Color Legend
Color Legend | |
---|---|
3.3 VDC Power | Serial Console/Power |
5 VDC Power | HX711 Scale |
Ground | I2C Sensors |
Unused | I2S 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.
|
|
|
|
|
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.
|
|
|
|
|
GPIO ordered by Signal Name
Signal | J8 |
---|---|
3.3 VDC Power | 1 |
3.3 VDC Power | 17 |
5 VDC Power | 2 |
5 VDC Power | 4 |
GPIO 2 I2C | 3 |
GPIO 3 I2C | 5 |
GPIO 4 | 7 |
GPIO 5 | 29 |
GPIO 6 | 31 |
GPIO 7 | 26 |
GPIO 8 | 24 |
GPIO 9 SPIO MISO | 21 |
GPIO 10 SPIO MOSI | 19 |
GPIO 11 SPIO SCLK | 23 |
GPIO 12 PWM | 32 |
GPIO 13 | 33 |
GPIO 14 TXDO | 8 |
GPIO 15 RXDO | 10 |
GPIO 16 | 36 |
GPIO 17 | 11 |
GPIO 18 PCM_CLK | 12 |
GPIO 19 PCM_FS | 35 |
GPIO 20 PCM_DIN | 38 |
GPIO 21 PCM DOUT | 40 |
GPIO 22 | 15 |
GPIO 23 | 16 |
GPIO 24 | 18 |
GPIO 25 | 22 |
GPIO 26 | 37 |
GPIO 27 | 13 |
I2C EEPROM ID_SD | 27 |
I2C EEPROM ID_SC | 28 |
Ground | 6 |
Ground | 9 |
Ground | 14 |
Ground | 20 |
Ground | 25 |
Ground | 30 |
Ground | 34 |
Ground | 39 |