USB Hub Powers the Pi and Its Peripherals

Raspberry Pi Technology
USB Hub Powers the Pi and Its Peripherals


I’ve run into the issue before, when you think you can use a powered USB hub as a power source for the Raspberry Pi and as a hub to connect USB devices to the board. Unfortunately, as Bharath Bhushan Lohray explains, “USB hubs are supposed to only power up the ports to the full 500mA capacity on connecting and enumerating a USB device. In the absence of a USB device, the ports are powered to output no more than 50mA—just enough to enumerate a newly plugged device.” This means that it won’t provide the power needed by the Pi.

Bharath offers a hack which can get around this problem. On his site, he details how to mod a freebie bus-powered USB hub to act as both a power supply for the Pi and a powered hub for USB devices. It’s perfect for any project where you have many USB devices (and therefore use a lot of power), but only want a single power supply for the project. Needless to say, this hack isn’t limited to the Raspberry Pi and and will work with any single-board computer.

Discuss this article with the rest of the community on our Discord server!

Matt Richardson is a San Francisco-based creative technologist and Contributing Editor at MAKE. He’s the co-author of Getting Started with Raspberry Pi and the author of Getting Started with BeagleBone.

View more articles by Matt Richardson