4 Port USB, Raspberry Pi Zero Piggy-Back Hack

[Frederick] decided his new Zero needed a USB hub. He noticed a small, on hand, USB hub was the same size as the Zero. As any good hacker would, he stripped it from its case to piggy-back it onto the Zero. What’s with the piggy-backing since we just saw that with another Zero hack that added a WiFi dongle? Is it something in the water? Nah, probably just a natural fit with the mini-sized Zero.

It certainly helps that the USB and power pads on the back of the Zero are available and of a good size to accept direct, soldered wire connections. The USB connections on the hub were a little more tricky. The wires were soldered to the surface mount pins of the mini-B connector. But [Frederick] managed to get that done, also.

A nice advantage of this hack is that a couple of soldered jumper wires let the Zero draw power from the hub’s wall-wart, eliminating one cable from those needed to work with the Pi. Using hot glue for strain relief on the wiring is a nice touch. To keep the boards from shorting he put a piece of foam between them and help them together with elastic bands. Simple and easy.

54 thoughts on “4 Port USB, Raspberry Pi Zero Piggy-Back Hack

      1. Hehe, I did a stock notify at Adafruit the day it was released. Then that afternoon I happen to be on my laptop and they put 100 in stock. Lasted about 10-15min. Not enough time really to find other things to buy, oh well. I will post up some power usage on my blog. mobilewill.us

      2. Your best bet, if you have one near you, is to keep an eye on your local Micro Center’s Pi Zero stock online. Just picked mine up today. They were sold out before I could make it up there on release day. Just today noticed they got some more in stock, now have my Zero in hand!

        1. I would Love to do that…. but my “local” Microcenter is a 10 1/2 hour drive. lol

          Not complaining as I think it’s a great tie-in for Microcenter, but they just have a small footprint AND I live in a much too rural area (the closest “real” city is Boise, ID and that’s still almost a 2 hour drive).

      1. search for “otg ethernet hub”. cheapest one I see is $5.20 US.
        I ordered a hub+Ethernet weeks ago without the OTG connector for $3.82 US (still on slow boat from China)

        Search for “DIY Micro USB” and you can get 10 sets of raw connectors with plastic covers for $1.47 (with shipping). They also sell the regular USB male/female, mini USB plug. Just search for it. Pretty useful to make sure own cables or rewire them.

      1. Most of the ‘non-powered’ hubs have an unpopulated PCB footprint for a power connector. Well at least most of the ones I have pulled apart have … your mileage may vary, I am in Australia.

    1. It’s useful because it doesn’t build up a static charge (in the 1000’s of Volts) that can permanently damage a circuit. ESD foam has resistance in the Mega ohms and will have a negligible effect on any circuit power consumption.

          1. No. The pink stuff won’t create static electricity, but it’s not conductive. Static dissipating material like the black foam or silver bags are conductive.

  1. I think this is a terrible hack, why? you could do the same with a patch cable usb2usb, and would have a decent two PCBs where you could mount them in a box in a neat and safe way.

    1. I consider it a good space saving proof of concept since a lot of later builds are probably going to depend on ‘solder the connector of what you want to the power and USB’ to further save/keep space savings. Some builds every little bit of space is important.

      Looking forward to when someone does this then builds a case around the two boards complete with little shelf between the two to keep them electrically separated.

    2. Not a terrible hack, but it’s certainly a sign that some people expect a Pi and get themselves a Pi Zero just for the cost factor. I fully expect a “hack” fitting the Zero with an USB hub, an ethernet port and an audio hub, making it a Pi 1 just with added ghetto credibility.

      (It’s a different story if you got one with the MagPie magazine, but that’s a one off thing. Future owners will all have had consciously bought the Zero.)

      1. I can definitely see a use here, and not a simi-snooty appearing ‘well why didn’t you just get a pi model A or B+? This board’s thin-ness is very appealing, even if you want proper connectors since a hack much like this would let you put the offending ‘big’ ports away from the board itself.

        If nothing else this offers a ‘my first soldering project’ where if you mess up oh well it’s a five buck board, who cares?

      1. The name of this website is “hackaday”–that is, one (at least) hack a day. It is not “weonlyposthackseachday”. So, not every post has to be a true hack (whatever that is), and debating whether something is or is not a hack is stupid.

    1. Sseconded, I’ve mentioned prior that an unpopulated through-hole USB A connector would have been.. smart.. having PTH pins would give you a good bit of mechanical rigidity as well. Not to mention no need for extra OTG cables.

    2. Agreed. I do this hack regularly for the Pi and Beaglebones. Neither provide enough power to the USB ports, so a powered usb hub is normally required. I wire the 5v power supply to the micro and the powered usb hub.

  2. It is SO tedious seeing all the kiddies endlessly posting “this is not a hack”… If you’re such great “hackers”, then show us YOUR hacks!

    And if you’re going to be childishly pedantic, then note that the name of the site is “hackaday”–that is, one hack a day. If they post at least one hack a day, then why shouldn’t they have additional postings that don’t fit your definition of a hack?

    Shut the fuck up and just enjoy the site. It’s not like they’re taking your money and giving you an inferior product.

    1. I found this looking for THIS EXACT THING! I have a very high opinion of Hackaday and wanted to see what people smarter than I had come up with. Slightly disappointed no clever case. Heh.

  3. An expansion board below the Pi could use pogo pins to contact those pads. I checked for a corresponding mill-max part, and they do have them – but at a cost of £6, 50% more than the Zero itself.

  4. Can anyone confirm if you can power the Pi Zero through the OTG port rather than the micro USB “power” port?
    If so, I’m going to use one of these to kill several birds with one stone.
    – USB-OTG to USB adapter
    – USB Hub
    – USB power
    Plus I’ve taken apart one of these and it would be very easy to desolder one of the plugs and solder a USB device to the pins (eg WiFi nubbin)

    http://www.ebay.ca/itm/4-Port-Micro-USB-Power-Charging-OTG-Hub-Cable-For-Android-Tablet-Smartphone-/141676129479?roken=cUgayN

      1. One thing that would have been really nice would have been to use a micro-hdmi port and spaced it with the micro-usb OTG port so it was directly compatible with the lapdock connector without using cables

  5. It’s so darn frustrating that they included a full size HDMI – when mini-HDMI->HDMI cables are plentiful – and not a single USB A port. I’d have happily given up the full-size HDMI for a full size USB. Ugh.

    1. The Pi Zero _has_ mini HDMI (maybe it looks like a full size as the board itself is so small).

      The Pi0 is perfect as it’s is small enough to easily squeeze into projects and if you want large USB ports it is pretty easy to do just that yourself (as shown above).

      If one want large USB ports on board from factory there’s the A+/B+/2B.

      1. Ugh. Micro-HDMI (Type D), not Mini (Type C). Sorry.

        Yeah, I have plenty of the full-size ones, but I can’t help but think the Zero would be a lot more useful with one full-size USB port, since literally the second thing everyone does is try to put a full-size port on.

  6. finally got my raspberry pi zero ordered.. just barely made it before the dreaded ‘out of stock’ became the norm again.. i am so doing something similar to this.. ideally i would love an intelligent cache’n device that connects to any open wifi that i pass and offlines my top sites… amongst other idea’s ;)

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.