Powered USB hub hat?

3 months ago by nigel to c/raspberry_pi

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.

IcedRaktajino 2 points 3 months ago

https://www.amazon.com/dp/B01K9IVUYM

I bought that earlier this year. Works great. Have two RTL-SDRs hooked into it along with a Meshtastic node. It mounts under the Pi Zero so you still have your headers available for other stuff.

path: 0 24856746, hotness: undefined, score: 2, children: 2
nigel 1 point 3 months ago

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

path: 0 24856746 24866893, hotness: undefined, score: 1, children: 1
IcedRaktajino 0 points 3 months ago

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
path: 0 24856746 24866893 24867064, hotness: undefined, score: 0, children: 0
raspberry_pi
raspberry_pi

@programming.dev

login for more options
6512
294
45

Welcome to the programming.dev Raspberry Pi community!

Raspberry Pi is a series of small single-board computers. It is widely used in many areas because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists.

Rules

Members of this community are expected to exhibit mature and respectful behavior.

Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

Please keep discussions in English so that they can be appropriately moderated.

Links

go to feed...