-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
142 lines (141 loc) · 19.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"></meta>
<meta name="apple-mobile-web-app-capable" content="yes"></meta>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"></meta>
<link rel="shortcut icon" href="pinout-logo.png" type="image/png">
<script src="register_serviceworker.js" type="text/javascript"></script>
<link rel="manifest" href="manifest.json">
<title>Raspberry Pi Pico GPIO Pinout</title>
<meta name="description" content="An interactive, accessible and beautiful GPIO Pinout guide for the Raspberry Pi Pico 2" />
<link rel="stylesheet" href="pinout.css?v=20240918" type="text/css" media="screen" />
</head>
<body>
<header>
<h1>Raspberry Pi Pico 2 Pinout</h1>
<ul><li title="Please donate to support continued work on these websites! Thank you.">Donate</li><li><a href="https://ko-fi.com/gadgetoid" title="Buy me a coffee on Ko-Fi">Ko-Fi</a></li><li><a href="https://github.com/sponsors/Gadgetoid" title="Sponsor me on GitHub">GitHub</a></li><li><a href="https://www.patreon.com/gadgetoid" title="Sponsor me on Patreon">Patreon</a></li></ul>
</header>
<nav class="nojs" id="nav">
<ul class="filter settings">
<li><label for="advanced" title="Show or hide advanced pin functions."><input type="checkbox" name="advanced" id="advanced" />Advanced</label></li>
<li><label for="reversed" title="If you solder the headers on backwards to keep the pin numbers visible, then the pinout is reversed."><input type="checkbox" name="reversed" id="reversed" />Rear View</label></li>
</ul>
<ul class="filter interfaces">
<li><label class="spi" for="spi" title="Show or hide SPI functions."><input type="checkbox" checked name="spi" id="spi" />SPI</label></li>
<li><label class="i2c" for="i2c" title="Show or hide I2C functions."><input type="checkbox" checked name="i2c" id="i2c" />I2C</label></li>
<li class="advanced"><label class="pwm" for="pwm" title="Show or hide PWM functions."><input type="checkbox" checked name="pwm" id="pwm" />PWM</label></li>
<li><label class="uart" for="uart" title="Show or hide UART functions."><input type="checkbox" checked name="uart" id="uart" />UART</label></li>
<li class="advanced"><label class="hstx" for="hstx" title="Show or hide HSTX functions."><input type="checkbox" checked name="hstx" id="hstx" />HSTX</label></li>
</ul>
<noscript>
<p>Want to show/hide interfaces and view a full pinout? Enable JavaScript!</p>
</noscript>
</nav>
<article class="pinout" id="pinout">
<table aria-label="Lefthand pins" class="labels left" aria-rowcount="20" aria-colcount="5" cellpadding="0" cellspacing="5">
<thead>
<th>Pin</th><th>Name</th><th>SPI</th><th>I2C</th><th>UART</th><th>PWM</th>
</thead>
<tbody>
<tr aria-label="First pin." ><th>1</th> <td class="gpio">GP0</td> <td class="spi" title="SPI 0: Host-receive">SPI0 RX</td> <td class="i2c" title="I2C 0: Data">I2C0 SDA</td> <td class="uart" title="UART 0: Transmit">UART0 TX</td> <td class="pwm advanced" title="PWM 0: Channel A">PWM0 A</td></tr>
<tr aria-label="Second pin." ><th>2</th> <td class="gpio">GP1</td> <td class="spi" title="SPI 0: Chip-select">SPI0 CSn</td> <td class="i2c" title="I2C 0: Clock">I2C0 SCL</td> <td class="uart" title="UART 0: Receive">UART0 RX</td> <td class="pwm advanced" title="PWM 0: Channel B">PWM0 B</td></tr>
<tr aria-label="Third pin." ><th>3</th> <td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Forth pin." ><th>4</th> <td class="gpio">GP2</td> <td class="spi" title="SPI 0: Clock">SPI0 SCK</td> <td class="i2c" title="I2C 1: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 0: Clear to send">UART0 CTS</td> <td class="pwm advanced" title="PWM 1: Channel A">PWM1 A</td></tr>
<tr aria-label="Fifth pin." ><th>5</th> <td class="gpio">GP3</td> <td class="spi" title="SPI 0: Host-transmit">SPI0 TX</td> <td class="i2c" title="I2C 1: Clock">I2C1 SCL</td> <td class="uart advanced" title="UART 0: Request to send">UART0 RTS</td> <td class="pwm advanced" title="PWM 1: Channel B">PWM1 B</td></tr>
<tr aria-label="Sixth pin." ><th>6</th> <td class="gpio">GP4</td> <td class="spi" title="SPI 0: Host-receive">SPI0 RX</td> <td class="i2c" title="I2C 0: Data">I2C0 SDA</td> <td class="uart" title="UART 1: Transmit">UART1 TX</td> <td class="pwm advanced" title="PWM 2: Channel A">PWM2 A</td></tr>
<tr aria-label="Seventh pin." ><th>7</th> <td class="gpio">GP5</td> <td class="spi" title="SPI 0: Chip-select">SPI0 CSn</td> <td class="i2c" title="I2C 0: Clock">I2C0 SCL</td> <td class="uart" title="UART 1: Receive">UART1 RX</td> <td class="pwm advanced" title="PWM 2: Channel B">PWM2 B</td></tr>
<tr aria-label="Eighth pin." ><th>8</th> <td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Ninth pin." ><th>9</th> <td class="gpio">GP6</td> <td class="spi" title="SPI 0: Clock">SPI0 SCK</td> <td class="i2c" title="I2C 1: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 1: Clear to send">UART1 CTS</td> <td class="pwm advanced" title="PWM 3: Channel A">PWM3 A</td></tr>
<tr aria-label="Tenth pin." ><th>10</th><td class="gpio">GP7</td> <td class="spi" title="SPI 1: Host-transmit">SPI0 TX</td> <td class="i2c" title="I2C 1: Clock">I2C1 SCL</td> <td class="uart advanced" title="UART 1: Request to send">UART1 RTS</td> <td class="pwm advanced" title="PWM 3: Channel B">PWM3 B</td></tr>
<tr aria-label="Eleventh pin." ><th>11</th><td class="gpio">GP8</td> <td class="spi" title="SPI 1: Host-receive">SPI1 RX</td> <td class="i2c" title="I2C 0: Data">I2C0 SDA</td> <td class="uart" title="UART 1: Transmit">UART1 TX</td> <td class="pwm advanced" title="PWM 4: Channel A">PWM4 A</td></tr>
<tr aria-label="Twelfth pin." ><th>12</th><td class="gpio">GP9</td> <td class="spi" title="SPI 1: Chip-select">SPI1 CSn</td> <td class="i2c" title="I2C 0: Clock">I2C0 SCL</td> <td class="uart" title="UART 1: Receive">UART1 RX</td> <td class="pwm advanced" title="PWM 4: Channel B">PWM4 B</td></tr>
<tr aria-label="Thirtheenth pin." ><th>13</th><td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Fourteenth pin." ><th>14</th><td class="gpio">GP10</td> <td class="spi" title="SPI 1: Clock">SPI1 SCK</td> <td class="i2c" title="I2C 1: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 1: Clear to send">UART1 CTS</td> <td class="pwm advanced" title="PWM 5: Channel A">PWM5 A</td></tr>
<tr aria-label="Fifteenth pin." ><th>15</th><td class="gpio">GP11</td> <td class="spi" title="SPI 1: Host-transmit">SPI1 TX</td> <td class="i2c" title="I2C 1: Clock">I2C1 SCL</td> <td class="uart advanced" title="UART 1: Request to send">UART1 RTS</td> <td class="pwm advanced" title="PWM 5: Channel B">PWM5 B</td></tr>
<tr aria-label="Sixteenth pin." ><th>16</th><td class="gpio">GP12</td> <td class="spi" title="SPI 1: Host-receive">SPI1 RX</td> <td class="i2c" title="I2C 0: Data">I2C0 SDA</td> <td class="uart" title="UART 0: Transmit">UART0 TX</td> <td class="pwm advanced" title="PWM 6: Channel A">PWM6 A</td> <td class="hstx advanced" title="High-speed transmit">HSTX 12</td></tr>
<tr aria-label="Seventeenth pin." ><th>17</th><td class="gpio">GP13</td> <td class="spi" title="SPI 1: Chip-select">SPI1 CSn</td> <td class="i2c" title="I2C 0: Clock">I2C0 SCL</td> <td class="uart" title="UART 0: Receive">UART0 RX</td> <td class="pwm advanced" title="PWM 6: Channel B">PWM6 B</td> <td class="hstx advanced" title="High-speed transmit">HSTX 13</td></tr>
<tr aria-label="Eighteenth pin." ><th>18</th><td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Nineteenth pin." ><th>19</th><td class="gpio">GP14</td> <td class="spi" title="SPI 1: Clock">SPI1 SCK</td> <td class="i2c" title="I2C 0: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 0: Clear to send">UART0 CTS</td> <td class="pwm advanced" title="PWM 7: Channel A">PWM7 A</td> <td class="hstx advanced" title="High-speed transmit">HSTX 14</td></tr>
<tr aria-label="Twentieth pin." ><th>20</th><td class="gpio">GP15</td> <td class="spi" title="SPI 1: Host-transmit">SPI1 TX</td> <td class="i2c" title="I2C 0: Clock">I2C1 SCL</td> <td class="uart advanced" title="UART 0: Request to send">UART0 RTS</td> <td class="pwm advanced" title="PWM 7: Channel B">PWM7 B</td> <td class="hstx advanced" title="High-speed transmit">HSTX 15</td></tr>
</tbody>
</table>
<div class="pico"><img width="207" height="523" alt="Raspberry Pi Pico with the micro USB port facing upwards, standing face-up on its GPIO pins." src="raspberry-pi-pico-2.svg" /></div>
<div class="pico underside"><img width="207" height="523" alt="Raspberry Pi Pico with the micro USB port facing downwards, standing bottom-up on its GPIO pins." src="raspberry-pi-pico-2-underside.svg" /></div>
<table aria-label="Righthand pins" class="labels right" aria-rowcount="20" aria-colcount="5" cellpadding="0" cellspacing="5">
<thead>
<th scope="col">Pin</th><th scope="col">Name/ADC</th><th scope="col">SPI</th><th scope="col">I2C</th><th scope="col">UART</th><th scope="col" >PWM</th>
</thead>
<tbody>
<tr aria-label="First pin." ><th>40</th><td class="power" title="Power: USB input voltage">VBUS 5V</td></tr>
<tr aria-label="Second pin." ><th>39</th><td class="power" title="Power: System voltage">VSYS 5V<sup>*</sup></td></tr>
<tr aria-label="Third pin." ><th>38</th><td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Forth pin." ><th>37</th><td class="system" title="System: 3v3 regulator enable">3V3 En</td></tr>
<tr aria-label="Fifth pin." ><th>36</th><td class="power" title="Power: 3v3 output">3V3 Out</td></tr>
<tr aria-label="Sixth pin." ><th>35</th><td class="adc" title="ADC Voltage reference">ADC VRef</td></tr>
<tr aria-label="Seventh pin." ><th>34</th><td class="adc" title="ADC Channel 2">GP28 A2</td> <td class="spi" title="SPI 1: Host-receive">SPI1 RX</td> <td class="i2c advanced" title="I2C 0: Data">I2C0 SDA</td> <td class="uart advanced" title="UART 0: Transmit">UART0 TX</td> <td class="pwm advanced" title="PWM 6: Channel A">PWM6 A</td></tr>
<tr aria-label="Eighth pin." ><th>33</th><td class="adc" title="ADC Ground">ADC Gnd</td></tr>
<tr aria-label="Ninth pin." ><th>32</th><td class="adc" title="ADC Channel 1">GP27 A1</td> <td class="spi" title="SPI 1: Host-transmit">SPI1 TX</td> <td class="i2c" title="I2C 1: Clock">I2C1 SCL</td> <td class="uart advanced" title="UART 1: Request to send">UART1 RTS</td> <td class="pwm advanced" title="PWM 5: Channel B">PWM5 B</td></tr>
<tr aria-label="Tenth pin." ><th>31</th><td class="adc" title="ADC Channel 0">GP26 A0</td> <td class="spi" title="SPI 1: Clock">SPI1 SCK</td> <td class="i2c" title="I2C 1: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 1: Clear to send">UART1 CTS</td> <td class="pwm advanced" title="PWM 5: Channel A">PWM5 A</td></tr>
<tr aria-label="Eleventh pin." ><th>30</th><td class="system">RUN</td></tr>
<tr aria-label="Twelfth pin." ><th>29</th><td class="gpio">GP22</td> <td class="spi advanced" title="SPI 0: Clock">SPI0 SCK</td> <td class="i2c advanced" title="I2C 1: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 1: Clear to send">UART1 CTS</td> <td class="pwm advanced" title="PWM 3: Channel A">PWM3 A</td></tr>
<tr aria-label="Thirtheenth pin." ><th>28</th><td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Fourteenth pin." ><th>27</th><td class="gpio">GP21</td> <td class="spi" title="SPI 0: Chip-select">SPI0 CSn</td> <td class="i2c" title="I2C 0: Clock">I2C0 SCL</td> <td class="uart" title="UART 1: Receive">UART1 RX</td> <td class="pwm advanced" title="PWM 2: Channel B">PWM2 B</td></tr>
<tr aria-label="Fifteenth pin." ><th>26</th><td class="gpio">GP20</td> <td class="spi" title="SPI 0: Host-receive">SPI0 RX</td> <td class="i2c" title="I2C 0: Data">I2C0 SDA</td> <td class="uart" title="UART 1: Transmit">UART1 TX</td> <td class="pwm advanced" title="PWM 2: Channel A">PWM2 A</td></tr>
<tr aria-label="Sixteenth pin." ><th>25</th><td class="gpio">GP19</td> <td class="spi" title="SPI 0: Host-transmit">SPI0 TX</td> <td class="i2c" title="I2C 1: Clock">I2C1 SCL</td> <td class="uart advanced" title="UART 0: Request to send">UART0 RTS</td> <td class="pwm advanced" title="PWM 1: Channel B">PWM1 B</td> <td class="hstx advanced" title="High-speed transmit">HSTX 19</td></tr>
<tr aria-label="Seventeenth pin." ><th>24</th><td class="gpio">GP18</td> <td class="spi" title="SPI 0: Clock">SPI0 SCK</td> <td class="i2c" title="I2C 1: Data">I2C1 SDA</td> <td class="uart advanced" title="UART 0: Clear to send">UART0 CTS</td> <td class="pwm advanced" title="PWM 1: Channel A">PWM1 A</td> <td class="hstx advanced" title="High-speed transmit">HSTX 18</td></tr>
<tr aria-label="Eighteenth pin." ><th>23</th><td class="ground" title="Ground">Ground</td></tr>
<tr aria-label="Nineteenth pin." ><th>22</th><td class="gpio">GP17</td> <td class="spi" title="SPI 0: Chip-select">SPI0 CSn</td> <td class="i2c" title="I2C 0: Clock">I2C0 SCL</td> <td class="uart" title="UART 0: Receive">UART0 RX</td> <td class="pwm advanced" title="PWM 0: Channel B">PWM0 B</td> <td class="hstx advanced" title="High-speed transmit">HSTX 17</td></tr>
<tr aria-label="Twentieth pin." ><th>21</th><td class="gpio">GP16</td> <td class="spi" title="SPI 0: Host-receive">SPI0 RX</td> <td class="i2c" title="I2C 0: Data">I2C0 SDA</td> <td class="uart" title="UART 0: Transmit">UART0 TX</td> <td class="pwm advanced" title="PWM 0: Channel A">PWM0 A</td> <td class="hstx advanced" title="High-speed transmit">HSTX 16</td></tr>
</tbody>
</table>
<table class="labels below advanced">
<tbody>
<tr><td aria-label="Left debug pin.">SWCLK</td><td aria-label="Middle debug pin.">GND</td><td aria-label="Right debug pin.">SWDIO</td></tr>
</tbody>
</table>
</article>
<article class="extra advanced">
<table aria-label="Additional pin definitions.">
<thead>
<th scope="col">Pin</th><th scope="col">Function</th><th scope="col">Notes</th>
</thead>
<tbody class="power_pins">
<tr><td>VSYS</td><td>System voltage in/out</td><td><sup>*</sup>5V <em>out</em> when powered by USB (diode to VBUS),<br>1.8V to 5.5V <em>in</em> if powered externally</td></tr>
<tr><td>3V3 Out</td><td>Chip 3V3 supply</td><td>Can be used to power external circuitry,<br>recommended to keep the load less than 300mA</td></tr>
</tbody>
<tbody>
<tr><td>GP23</td><td>RT6150B-33GQW Power-Select</td><td>LOW (default) for high efficiency (PFM)<br>HIGH for improved ripple (PWM)</td></tr>
<tr><td>GP24</td><td>VBUS Sense</td><td>Detect USB power or VBUS pin</td></tr>
<tr><td>GP25</td><td>User LED</td><td></td></tr>
<tr><td>GP29 A3</td><td>VSYS Sense</td><td>Read VSYS/3 through resistor divider and FET Q1</td></tr>
<tr><td>A4</td><td>Temperature</td><td>Read onboard temperature sensor</td></tr>
</tbody>
<tbody class="tpads">
<tr><td>TP1</td><td>Ground</td><td>close coupled ground for differential USB signals</td></tr>
<tr><td>TP2</td><td>USB DM</td><td>USB Data Negative pin</td></tr>
<tr><td>TP3</td><td>USB DP</td><td>USB Data Positive pin</td></tr>
<tr><td>TP4</td><td>GPIO23/SMPS PS Pin</td><td>Marked do not use in datasheet</td></tr>
<tr><td>TP5</td><td>GPIO25/LED</td><td>Not recommended to be used in datasheet<br>Can only be used as an output with special care</td></tr>
<tr><td>TP6</td><td>BOOTSEL</td><td>Short low at power-up to boot into BOOTSEL</td></tr>
<tr><td>TP7</td><td>1V1</td><td>Can <em>theoretically</em> be used to inject a higher voltage for overclocking<br><strong>⚠️ Currently untested!</strong></td></tr>
<!-- TODO: remove the untested notice once it has been tested by someone -->
</tbody>
</table>
</article>
<footer>
<p><a title="Raspberry Pi Pico Pinout" href="https://pico.pinout.xyz/">Pico Pinout</a>
| <a title="Raspberry Pi Pico W Pinout" href="https://picow.pinout.xyz/">Pico W Pinout</a>
| <a class="selected" title="Raspberry Pi Pico 2 Pinout" href="https://pico2.pinout.xyz/">Pico 2 Pinout</a></p>
<p><a title="Raspberry Pi Pico 2 Datasheet (PDF)" href="https://datasheets.raspberrypi.com/pico/pico-2-datasheet.pdf">Pico 2 Datasheet</a>
| <a title="Raspberry Pi RP2350 Datasheet (PDF) for in-depth information about the Pico W's RP2350 chip, peripherals and PIO." href="https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf">RP2350 Datasheet</a>
| <a title="Getting Started With Raspberry Pi Pico (PDF)" href="https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf">Getting Started Guide</a>
| <a title="Official Raspberry Pi Pico forum" href="https://forums.raspberrypi.com/viewforum.php?f=143">Forum</a>
| <a title="Unofficial Pico Discord server" href="https://discord.gg/YxmkAyM77r">Discord</a></p>
<p>This interactive, accessible & beautiful GPIO pinout and pin function guide for the Raspberry Pi Pico 2 is maintained by <a href="https://fosstodon.org/@gadgetoid" title="@gadgetoid at Mastodon">@Gadgetoid</a>.</p>
<p>Want to help out? <a href="https://github.com/pinout-xyz/pico2.pinout.xyz" title="Send a pull-request on GitHub.">Send a PR</a>, or toss me some coin via <a href="https://ko-fi.com/gadgetoid" title="Buy me a coffee on Ko-Fi">Ko-Fi</a>, <a href="https://github.com/sponsors/Gadgetoid" title="Sponsor me on GitHub">GitHub</a> or <a href="https://www.patreon.com/gadgetoid" title="Sponsor me on Patreon">Patreon</a>.</p>
</footer>
<script src="pinout.js" type="text/javascript"></script>
</body>
</html>