3

I have a powered USB hub. Can I use it to power the Raspberry Pi Zero using up just one Micro USB port? Or does the power have to come from one particular port that is only used to provide power?

Edit (2021-10): What i'm trying to ask is, can i use the micro USB port for both power and data simultaneously? This is still unclear.

2 Answers 2

8

The Pi zero has only one USB port. It has two microUSB sockets.

The socket closer to the edge of the long side of the board is the power socket. The socket closer to the middle of the long side of the board is a USB port.

You seem to be able to back power via the USB port. You will have to judge the reliability of back powering the Pi zero by personal experience.

2
  • 2
    Raspberry Pi newbie here - does supplying power via the Pi zero's USB port instead of the intended power socket have any chance of damaging it?
    – tlng05
    Commented Nov 28, 2015 at 2:50
  • I don't know. My guess would be no as it is the sort of thing everyone (like me) will do by mistake and that would be an awful lot of returned Pis.
    – joan
    Commented Nov 28, 2015 at 9:13
5

Assuming the micro-USB socket "power" of the Pi Zero is used to power the Pi, I take it that the question refers to the USB ports or sockets of the used hub as a source. Further assuming that we're talking about a self-powered hub here, as a bus-powered hub cannot supply more than 500 mA in total to its downstream ports. So according to USB spec a USB port should provide 100 mA per default and 500 mA after annoucement of the device to the hub/host (USB 1.x and 2.0), and 900 mA (USB 3.x).

In real life most hubs out there don't care much about those limits. Typically their ports supply more than 500 mA. We can now call that non-compliant devices or embrace the fact to power the Pi.

I've used both a Pi B+ and a Pi 2 with a USB 2.0 hub and a simple wiring: USB downstream port to the Pi's micro-USB power socket. Works just fine. Given the available technical data on the Pi Zero, it's safe to assume it would not consume more power than a Pi 2.

Bottom line: assuming a "reasonably non-compliant" USB hub it will probably just work.

3
  • Yes, I think you are right, I misunderstood what the questioner wanted to know.
    – joan
    Commented Nov 28, 2015 at 9:14
  • 1
    What I meant is: Can I use the power port for both powering the Pi Zero and doing data transfer?
    – neuhaus
    Commented Mar 1, 2016 at 14:33
  • 2
    @neuhaus - no. the power port is for power only, the data lines in the micro usb connector are not connected to anything on the board.
    – simon
    Commented Jan 5, 2022 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.