Difference between revisions of "GPIO Pinout"
Line 1: | Line 1: | ||
+ | <table border=1> | ||
+ | <th colspan=2>Color Legend</th> | ||
+ | <tr><td bgcolor="orange">3.3 VDC Power</td><td bgcolor="blue">Serial Console/Power</td></tr> | ||
+ | <tr><td bgcolor="red">5 VDC Power</td><td bgcolor="green">HX711 Scale</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td bgcolor="yellow">I2C Sensors</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">Unused</td><td bgcolor="purple">I2S Audio</td></tr> | ||
+ | </table> | ||
+ | |||
+ | <br><br> | ||
+ | |||
<table> | <table> | ||
<tr> | <tr> | ||
<td> | <td> | ||
<table border=1> | <table border=1> | ||
+ | <th>Hivetool</th> | ||
+ | <tr><td bgcolor="Yellow">Reserved for I2C Sensors</td></tr> | ||
+ | <tr><td bgcolor="Yellow">Reserved for I2C Sensors</td></tr> | ||
+ | <tr><td bgcolor="Yellow">Reserved for I2C Sensors</td></tr> | ||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
<tr><td bgcolor="Yellow">Reserved for I2C Sensors</td></tr> | <tr><td bgcolor="Yellow">Reserved for I2C Sensors</td></tr> | ||
− | |||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
Line 12: | Line 25: | ||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
− | <tr><td bgcolor="#cceecc"> | + | <tr><td bgcolor="#cceecc">Unused</td></tr> |
− | |||
− | |||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
<tr><td bgcolor="#cceecc">Unused</td></tr> | <tr><td bgcolor="#cceecc">Unused</td></tr> | ||
Line 27: | Line 38: | ||
<td> | <td> | ||
<table border=1> | <table border=1> | ||
+ | <th>R Pi</th> | ||
<tr><td bgcolor="orange">3.3 VDC Power</td></tr> | <tr><td bgcolor="orange">3.3 VDC Power</td></tr> | ||
− | <tr><td bgcolor=" | + | <tr><td bgcolor="yellow">GPIO 2 <b>I2C</b></td></tr> |
− | <tr><td bgcolor=" | + | <tr><td bgcolor="yellow">GPIO 3 <b>I2C</b></td></tr> |
<tr><td bgcolor="#cceecc">GPIO 4</td></tr> | <tr><td bgcolor="#cceecc">GPIO 4</td></tr> | ||
<tr><td bgcolor="#555555">Ground</td></tr> | <tr><td bgcolor="#555555">Ground</td></tr> | ||
− | <tr><td bgcolor=" | + | <tr><td bgcolor="#cceecc">GPIO 17</td></tr> |
<tr><td bgcolor="#cceecc">GPIO 27</td></tr> | <tr><td bgcolor="#cceecc">GPIO 27</td></tr> | ||
<tr><td bgcolor="#cceecc">GPIO 22</td></tr> | <tr><td bgcolor="#cceecc">GPIO 22</td></tr> | ||
<tr><td bgcolor="orange">3.3 VDC Power</td></tr> | <tr><td bgcolor="orange">3.3 VDC Power</td></tr> | ||
− | <tr><td bgcolor="#cceecc">GPIO 10</td></tr> | + | <tr><td bgcolor="#cceecc">GPIO 10 SPIO MOSI</td></tr> |
− | <tr><td bgcolor="#cceecc">GPIO 9</td></tr> | + | <tr><td bgcolor="#cceecc">GPIO 9 SPIO MISO</td></tr> |
− | <tr><td bgcolor="#cceecc">GPIO 11</td></tr> | + | <tr><td bgcolor="#cceecc">GPIO 11 SPIO SCLK</td></tr> |
<tr><td bgcolor="#555555">Ground</td></tr> | <tr><td bgcolor="#555555">Ground</td></tr> | ||
<tr><td bgcolor="#cceecc">I2C EEPROM ID_SD</td></tr> | <tr><td bgcolor="#cceecc">I2C EEPROM ID_SD</td></tr> | ||
Line 51: | Line 63: | ||
<td> | <td> | ||
<table border=1 bgcolor="#DDDDDD"> | <table border=1 bgcolor="#DDDDDD"> | ||
+ | <th colspan=2>J8</th> | ||
<tr><td bgcolor="orange">1</td><td bgcolor="red">2</td></tr> | <tr><td bgcolor="orange">1</td><td bgcolor="red">2</td></tr> | ||
<tr><td>3</td><td bgcolor="red">4</td></tr> | <tr><td>3</td><td bgcolor="red">4</td></tr> | ||
Line 75: | Line 88: | ||
<td> | <td> | ||
<table border=1> | <table border=1> | ||
+ | <th>R Pi</th> | ||
<tr><td bgcolor="red">5 VDC Power</td></tr> | <tr><td bgcolor="red">5 VDC Power</td></tr> | ||
<tr><td bgcolor="red">5 VDC Power</td></tr> | <tr><td bgcolor="red">5 VDC Power</td></tr> | ||
Line 99: | Line 113: | ||
<td> | <td> | ||
<table border=1> | <table border=1> | ||
+ | <th>Hivetool</th> | ||
<tr><td bgcolor="green">Reserved Power HX711</td></tr> | <tr><td bgcolor="green">Reserved Power HX711</td></tr> | ||
<tr><td bgcolor="blue">Reserved Power</td></tr> | <tr><td bgcolor="blue">Reserved Power</td></tr> | ||
Line 122: | Line 137: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | </table> | + | </table> |
+ | |||
+ | |||
+ | |||
+ | <br><br> | ||
+ | |||
+ | |||
+ | |||
+ | <table border=1> | ||
+ | <th>Signal</th><th>J8</th> | ||
+ | <tr><td bgcolor="orange">3.3 VDC Power</td><td>1</td></tr> | ||
+ | <tr><td bgcolor="orange">3.3 VDC Power</td><td>17</td></tr> | ||
+ | <tr><td bgcolor="red">5 VDC Power</td><td>2</td></tr> | ||
+ | <tr><td bgcolor="red">5 VDC Power</td><td>4</td></tr> | ||
+ | <tr><td bgcolor="yellow">GPIO 2 <b>I2C</b></td><td>3</td></tr> | ||
+ | <tr><td bgcolor="yellow">GPIO 3 <b>I2C</b></td><td>5</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 4</td><td>7</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 5</td><td>29</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 6</td><td>31</td></tr> | ||
+ | <tr><td bgcolor="cceecc">GPIO 7</td><td>26</td></tr> | ||
+ | <tr><td bgcolor="cceecc">GPIO 8</td><td>24</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 9 SPIO MISO</td><td>21</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 10 SPIO MOSI</td><td>19</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 11 SPIO SCLK</td><td>23</td></tr> | ||
+ | <tr><td bgcolor="cceecc">GPIO 12</td><td>32</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 13</td><td>33</td></tr> | ||
+ | <tr><td bgcolor="blue">GPIO 14 <b>TXDO</b></td><td>8</td></tr> | ||
+ | <tr><td bgcolor="blue">GPIO 15 <b>RXDO</b></td><td>10</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 16</td><td>36</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 17</td><td>11</td></tr> | ||
+ | <tr><td bgcolor="purple">GPIO 18 <b>PCM_CLK</b></td><td>12</td></tr> | ||
+ | <tr><td bgcolor="purple">GPIO 19 <b>PCM_FS</b></td><td>35</td></tr> | ||
+ | <tr><td bgcolor="purple">GPIO 20 <b>PCM_DIN</b></td><td>38</td></tr> | ||
+ | <tr><td bgcolor="purple">GPIO 21 <b>PCM DOUT</b></td><td>40</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 22</td><td>15</td></tr> | ||
+ | <tr><td bgcolor="green">GPIO 23</td><td>16</td></tr> | ||
+ | <tr><td bgcolor="green">GPIO 24</td><td>18</td></tr> | ||
+ | <tr><td bgcolor="cceecc">GPIO 25</td><td>22</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 26</td><td>37</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">GPIO 27</td><td>13</td></tr> | ||
+ | <tr><td bgcolor="#cceecc">I2C EEPROM ID_SD</td><td>27</td></tr> | ||
+ | <tr><td bgcolor="cceecc">I2C ID_SC EEPROM</td><td>28</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>6</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>9</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>14</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>20</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>25</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>30</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>34</td></tr> | ||
+ | <tr><td bgcolor="#555555">Ground</td><td>39</td></tr> | ||
+ | </table> |
Revision as of 17:30, 21 January 2015
Color Legend | |
---|---|
3.3 VDC Power | Serial Console/Power |
5 VDC Power | HX711 Scale |
Ground | I2C Sensors |
Unused | I2S Audio |
|
|
|
|
|
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 | 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 ID_SC EEPROM | 28 |
Ground | 6 |
Ground | 9 |
Ground | 14 |
Ground | 20 |
Ground | 25 |
Ground | 30 |
Ground | 34 |
Ground | 39 |