That's really good as all the pinouts give all the extras on which can be overwhelming. Being able to just see the PWM capable outputs for instance is much nicer. And they look fantastic. Thanks for your pimoroni [1] work as well, I've used quite a few products and they're always easy to work with because of good software and examples. [1] - https://shop.pimoroni.com/
Show HN: Interactive pinout for the Raspberry Pi Pico 2
11–20 of 36 posts
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#12Another version that's useful is this ASCII version: https://gabmus.org/posts/raspberry_pi_pico_pinout_in_your_te... I keep a slightly modified version of it as a top comment in my main C file in every pico project. Super handy for quick reference and you can annotate it with the actual uses in your project.
ASCII-only really cuts to the meat of the problem though.
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#13I wish many manufactures would begin adding Pin mux inside MCU, like espressif. So most of the time you don't care which pin has which function, and make designing pcb for it much less painful.
Pico never quite has a function where it’s needed.
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#14Bonus 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.
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#15That's pretty nice, a lot like pinout.xyz as others mention. Something that would really set it apart would be to be able to select pins and functionality and have other pins greyed out that can't be used in parallel. At least that's my main pain point when working with microcontrollers. They give you like 20 pins and you plan out all the functionality and then it turns out that one of those pins is like an EEPROM pi…
For inspiration, STM32Cube is otherwise PoS software, but it has a pretty decent utility for exactly this for most of their STM32 MCU lineup. Why they didn’t just make it a website is beyond me, but it is what it is.
I’m currently failing to not build STM32Cube for Pico though, the idea keeps gnawing away at me. There are some idiosyncrasies that my micro site doesn’t quite capture. Though perhaps it could.
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#16Thanks! I've been using pinout.xyz quite a few times; maybe you should link from there to the pico versions so it's easier to discover?
I have definitely struggled with making the Pinout spinoffs discoverable- the OG site had ten plus years to bed in.
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#17Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#18A 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.
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.
Re: Show HN: Interactive pinout for the Raspberry Pi Pico 2
#19This looks awesome, thanks! The best thing about this imo is that I can remember the url instead of having to dig through pages to find the official pinout pdf.