Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3 of the Raspberry Pi Pico hat #57

Open
hax0rbana-adam opened this issue Oct 22, 2024 · 6 comments
Open

v1.3 of the Raspberry Pi Pico hat #57

hax0rbana-adam opened this issue Oct 22, 2024 · 6 comments
Assignees

Comments

@hax0rbana-adam
Copy link

This ticket came out of a conversation on #55.

I propose a v1.3 of the hardware/software which is a hat for the Raspberry Pi Pico 2 (RP2350) that includes 2 PS/2 ports (both dual wired), 2 USB-A ports, and (if possible) 2 USB-C ports. That should eliminate the need for all adapters regardless of what type of connectors your HIDs have and what port(s) your computer has.

What I need is a code base that I can build and flash onto a Raspberry Pi Pico 2. I'll try to build a prototype that can demonstrate that the electronics work as expected and then design a circuit in KiCAD and a PCB to match. Once that's done, I'll have some boards made, assemble them and find out if I made any mistakes. Then possibly iterate on this process several times until all the kinks are worked out.

Once we have a solid version 1.3 board, I design a new case, and we commit all the new files to this repo.

@No0ne
Copy link
Owner

No0ne commented Oct 23, 2024

That sounds great! I'll have to get a Pico 2 for myself too.

@hax0rbana-adam
Copy link
Author

I now have a pico2 and am prepared to test when it's ready. A few questions & comments:

  1. Will we need another repo, or another branch for the software? Or can we just handle it with something like #ifdefs?
  2. If we don't need another branch/repo, can we combine the ps2pico with this repo? Seems like it'd be nice to reduce the duplicated code if possible.
  3. Do you expect it will be pin-compatible? It'd be nice if the existing hat could also work with either the pico or the pico2. And the v1.3 hat could work with either as well, but just have extra features with the pico2

I see some exciting progress over there on #65 and WOW that RP2040-Zero by Waveshare is tiny!

@No0ne
Copy link
Owner

No0ne commented Dec 5, 2024

  1. I think we can keep one repo for that and go with #ifdefs
  2. I don't want to merge ps2pico since it was the first of the two projects and its only loosely related. Its keyboard only, runs USB boot mode and it also has PC-XT support. And since I used transistors there the output is inverted.
  3. Yes I want to make it as compatible as possible. I also got a Pico2 recently but I still need to try firing up all 3 PIOs with PS/2 output/input and USB ports.

@No0ne
Copy link
Owner

No0ne commented Dec 5, 2024

  1. the Pico-SDK 2.0 and 2.1 still seems a bit buggy with TinyUSB, replugging devices doesn't work and too much serial output locks up my PS/2 code 🤷🏻 but it is needed for the Pico2

@javavi
Copy link

javavi commented Dec 5, 2024

I think it is not worth wasting the power of Pico2 (RP2350) for the adapter. If RP2040 is enough for this task, then we should continue to do it on it, especially since they have become cheaper and will be sold out.

@javavi
Copy link

javavi commented Dec 5, 2024

Here are two examples of adapters I made on the RP2040-Zero.
Yes, it would be great to develop a compact and elegant PCB design for such an adapter that includes several connection options.
photo_2024-12-05_21-28-32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants