Skip to content

Commit

Permalink
Better power pin labelling.
Browse files Browse the repository at this point in the history
I keep treating VSYS as a 3V3 output, with quite toasty results.
  • Loading branch information
Gadgetoid committed Sep 18, 2024
1 parent fec5c10 commit a4a2e51
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 11 deletions.
16 changes: 11 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<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=20240917" type="text/css" media="screen" />
<link rel="stylesheet" href="pinout.css?v=20240918" type="text/css" media="screen" />
</head>
<body>
<header>
Expand Down Expand Up @@ -68,8 +68,8 @@ <h1>Raspberry Pi Pico 2 Pinout</h1>
<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</td></tr>
<tr aria-label="Second pin." ><th>39</th><td class="power" title="Power: System voltage">VSYS</td></tr>
<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>
Expand Down Expand Up @@ -101,20 +101,26 @@ <h1>Raspberry Pi Pico 2 Pinout</h1>
<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>
<tr><td>TP1</td><td>Ground</td><td>close coupled ground for differential USB signals</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 -->
<!-- TODO: remove the untested notice once it has been tested by someone -->
</tbody>
</table>
</article>
Expand Down
42 changes: 36 additions & 6 deletions pinout.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,22 @@ nav {
header {
background: #002b36;
color: #e9e5d2;
display: block;
width: 100%;
line-height: 22px;
padding: 10px;
border-bottom: 5px solid #268bd2;
display: grid;
grid-template-columns: 10px auto auto 10px;
grid-template-columns: auto auto;
}
header h1 {
margin: 0;
padding: 0;
padding: 0 0 0 10px;
font-size: 20px;
grid-column: 2;
}
header ul {
grid-column: 3;
list-style: none;
margin: 0;
padding: 0;
padding: 0 10px 0 0;
text-align: right;
}
header li {
Expand Down Expand Up @@ -152,12 +149,38 @@ td, th {
}
.extra td {
border: none;
background-color: #9e9d9b22;
padding: 5px;
}
.extra tr:nth-child(odd) td {
background-color: #9e9d9b33;
}
.extra th {
border: none;
background-color: transparent;
}
.extra .wl_gpio {
position: relative;
top: 5px;
}
.extra .wl_gpio td {
background-color: #d3368222;
}
.extra .wl_gpio tr:nth-child(odd) td {
background-color: #d3368233;
}
.extra .power_pins td {
background-color: #dc322f22;
}
.extra .power_pins tr:nth-child(odd) td {
background-color: #dc322f33;
}
.extra .tpads td {
background-color: #85990022;
}
.extra .tpads tr:nth-child(odd) td {
background-color: #85990033;
}

/* Hide advanced labels by default */
.labels .advanced {visibility: hidden;}
Expand Down Expand Up @@ -244,6 +267,13 @@ td, th {
.underside-view .labels.left td {border-width:0 4px 0 0;}
.underside-view .labels.right td {border-width:0 0 0 4px;}

sup {
position: absolute;
top: -25%;
font-size: 70%;
vertical-align: middle;
}

@media (prefers-color-scheme: dark) {
body {
background-color: #000000;
Expand Down

0 comments on commit a4a2e51

Please sign in to comment.