Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on piefed.social
raspberry_pi·Raspberry Pibynigel

Powered USB hub hat?

Has anyone found something like a powered USB hub in hat form for a Pi zero 2 w?

The X302 seems like the right idea, although:

  1. It inhibits the use of a header
  2. There isn't enough docs to figure out if I could just trim a few pins and use the header anyway
  3. Will it actually power the pi, or is the power just for the hub and amp

The ultimate goal is a midi synth with USB inputs for the keyboards. It needs a screen and DAC, and for now I'm building with a Pirate Audio headphone amp but the USB needs to power the keyboard too.

View original on piefed.social
9

3 replies

nigelreply
piefed.social

Thank you. That looks perfect. I'll give it a shot.

1

The only tricky bit is forcing the Pi's USB port into host mode by default. I thought the hub was defective but it worked when I put an OTG adapter into the micro USB port. The default auto detect behavior doesn't work with this since it doesn't connect to the OTG pin.

I had to edit /boot/firmware/config.txt and add under the [all] section:

[all]
dtoverlay=dwc2,dr_mode=host
0

You reached the end