pinout-xyz / pico.pinout.xyz

Raspberry Pi Pico Pinout Page
https://pico.pinout.xyz/
31 stars 10 forks source link

Document GPIO23, 24 and 25 #13

Open Gadgetoid opened 1 year ago

Gadgetoid commented 1 year ago

Something of a dupe of #6 except it's a different approach.

Might be handy to have an addendum at the bottom of the page, a small table that covers these additional pins and their functions. This could include the SWD pins for #7

lurch commented 1 year ago

Yeah, see also section 2.1 of https://datasheets.raspberrypi.com/picow/pico-w-datasheet.pdf

samveen commented 1 year ago

Slightly related, but not much, maybe separate out the PiCow into it's own correl at picow.pinout.xyz ??

lurch commented 1 year ago

maybe separate out the PiCow

Isn't that what #6 is about? Just out of curiosity, what specific difference between the Pico and Pico W do you think needs clarifying?

samveen commented 1 year ago

@lurch The board layout of the 2 is different (not the pins, but the components), so it might be a tad disconcerting for newbie users (who are probably the primary target audience of pinout), and thus leading to extra time wasted in figuring things like the location of the debug headers being a cosmetic change. I spent an hour extra verifying that the pico pinout, and that's one hour I'm not getting back.

lurch commented 1 year ago

I'm surprised to hear that it took you a whole hour - did you look at https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html ?

samveen commented 1 year ago

No, I didn't . I do wish google had given me this result first. I was muddling through comparing multiple pinout diagrams on the datasheets subsection of the raspi website.

Gadgetoid commented 1 year ago

I’m not opposed to a PicoW version of the site for clarity. Now that I’ve moved the JS and CSS to separate files it’s rather less onerous to maintain multiple variations. I really should distill the pin details to some database format and generate the HTML from that, though.

I’m not sure how easy it would be to convince Google to serve the right version, but we can - at least - interlink the two. They might also need to be subfolders rather than subdomains to more easily support installation as a PWA and preserve the ability to view each respective board offline. Though I guess two separate PWA’s for separate boards (ie: two icons on your desktop or phone) is a nice separation of concerns?

samveen commented 1 year ago

I should probably apologize for my little side comment about a variant sub-site for the Pico W hijacking this issue .

Given that the search term combination for 'pinout+pico' already lead to the correct location with Google, I'm expecting a new subdomain like picow.pinout.xyz will be among the top results for 'pinout+pico+w' very quickly, if interlink from the pico page.

Gadgetoid commented 1 year ago

I've cleared the first hurdle- getting front/back SVG files for the Pico W which are here:

https://raw.githubusercontent.com/pinout-xyz/pico.pinout.xyz/pico-w-prototype/raspberry-pi-picow.svg

and here:

https://raw.githubusercontent.com/pinout-xyz/pico.pinout.xyz/pico-w-prototype/raspberry-pi-picow-underside.svg

Edit: Live example https://pico.pinout.xyz/picow.html

GitHub pages can only serve a single subdomain, maybe I'll just forego complexity and copy this repo to host the W version.

Gadgetoid commented 1 year ago

And through the magic of just forking this whole repository and setting up another CNAME: https://picow.pinout.xyz/

Now I guess we've got that distraction out of the way, might do well to actually add these extra documentation tables somehow :laughing:

Gadgetoid commented 1 year ago

And - if we're adding a whole new table - I don't think it would be unreasonable to link to the respective documentation and datasheets for both boards? ... at least somewhere

samveen commented 1 year ago

Thank you.

Gadgetoid commented 1 year ago

Okay, I've rolled out some extra labels for the debug pins and a little table documenting GP23, GP24 and GP25 as noted above, plus GP29 and ADC4 which I had missed.

image

Gadgetoid commented 1 year ago

And on the Pico W side of things:

image

samveen commented 1 year ago

Some formatting issues crop up in Firefox 112.0.1 ((x)Ubuntu 20.04) as below:

image

lurch commented 1 year ago

https://github.com/pinout-xyz/pico.pinout.xyz/issues/6#issuecomment-1522436645

:wink: