←back to thread

140 points gadgetoid | 2 comments | | HN request time: 0.43s | source

I've been trying to make accessible and beautiful GPIO pinouts since I started one for the Raspberry Pi in 2013 [1]. I've since given the Raspberry Pi Pico [2] and Pico 2 [3] microcontrollers the same treatment when they launched.

Recently I've updated these with a new "Upside-down" view to complement the rear view, giving a pinout in the right orientation to match your project.

The Pico sites are all hand-coded single HTML pages with supporting CSS and minimal JS. They are set up to optionally install as a "Desktop" web app. They also degrade into a somewhat usable table in lieu of CSS and use vector graphics (for the board itself) to be viewable and printable at any size.

Finally, hidden behind "Advanced" is a pinout of the test pads and special function pins!

[1] - https://web.archive.org/web/20130505194305/pi.gadgetoid.com/... [2] - https://pico.pinout.xyz [3] - https://pico2.pinout.xyz

1. varispeed ◴[] No.44531302[source]
A suggestion. It would be nice if I click on e.g. "SPI0" it should highlight all pins related to SPI0.

Bonus points if it could generate example initialisation code for the selected pins on the fly or maybe even an example snippet of code to get the peripheral going.

replies(1): >>44531630 #
2. gadgetoid ◴[] No.44531630[source]
Agreed. Click-to-select-related-pins is something I've been experimenting with on a cut-down Raspberry Pi Pinout [1]

And code gen is something I'm looking at with the RP2350A pinout [2] where the JSON export would allow someone to plug it into any tool they like. (KiCAD symbol gen, C/MicroPython init code, etc)

It's difficult to strike a balance between features/minimalism but I'm increasingly drawn to the idea of a full (STM32Cube-like if you're familiar with it) configurator for Pico/RP2 based boards.

1. https://pi.pinout.xyz 2. https://rp2350a.pinout.xyz