Pi Zero USB peripherals

March 3, 2024, 19:56

fourleavedpotato

Is it possible to supply a 5V 900mA peripheral with power with a Pi Zero W? Or do I need to use a powered hub like this: https://www.amazon.com/AmazonBasics-Port-2-5A-power-adapter/dp/B00DQFGH80/

oops.se

You need a powered USB hub

oops.se

Model    Max power output of USB ports
Raspberry Pi Zero, 1    500mA per port
Raspberry Pi 2, 3, 4    1200mA total across all ports
Raspberry Pi 5    600mA if using a 3A supply, 1600mA if using a 5A supply

fourleavedpotato

the difference in price between the pi 2 and the 0 for me is about the same price as the hub, so i could just buy something like this and be fine, right? https://www.amazon.com/Raspberry-Pi-Model-Desktop-Linux/dp/B00T2U7R7I

oops.se

Just remember a Pi 2 is OLD and slow and USB3 was introduced in Pi3B+. And is Pi2 still availabe or is it a used one?

fourleavedpotato

im thinking of getting the Pi 2 from amazon, the microcenter near me only has Pi 0's a Pi 3A+, and expensive Pi 4 & 5's and i only need it to grab data from the peripheral with a .NET library it supports and use that data to control some motors with the GPIO pins

fourleavedpotato

actually, the 3A+ is like $25 vs the 2B thats $40 so maybe its better

oops.se

Is that OK with only one USB port and no Ethernet

oops.se

And the USB port is a 2.0

oops.se

Pi 3B+ has two USB 3 and two USB 2.0

fourleavedpotato

the one im looking at has wifi, and if i use a hub i could probably reasonally power a mouse as well as the other 900mA right?

fourleavedpotato

or does the one USB 2.0 on it have a limit to how much power can be drawn from it

oops.se

I am not 100% sure if the old current limit of USB 2 that was 500mA is applicable? Or if the 1200mA is for both USB2 and USB3 ports

fourleavedpotato

so the 3a+ entry says “Limited by PSU, board, and connector ratings only” does that mean that its limited by the usb 2.0 limit of 500? or will it draw as much as it can until the pi fries itself? sorry, this is my first project and i do not know a lot about electronics

fourleavedpotato

maybe i can get a Y cable like this https://www.amazon.com/ALINNA-Female-Extension-Splitter-Adapter/dp/B098L4HTVG/ and strip the male 2.0 port and connect the wires to a power supply? but it says the other male port supports both data and charging so i dont know if this will fry the pi

oops.se

I am not 100% sure.

oops.se

I have no idea how they are wired. But it could work, I would love to see a wiring diagram for the Y cable.

oops.se

If the cable is wired like this or it has a diode on the red wire (+5v) between the pi and the power source it would work.

fourleavedpotato

so if i stripped it and if the data wire has 5V and i cut the 5V wire it could work?

oops.se

Use a multimeter and meassure

fourleavedpotato

ok

fourleavedpotato

i think that solves my problems for now, thank you!

oops.se

I guess that as well 🙂