vitaly Posted November 28, 2017 Posted November 28, 2017 I need 3 USB ports (webcam, wifi 5G, 3d printer). On Zero Plus 2 H3/H5 micro usb port is occupied by usb charger, because none of my devices can play as power source. So, only 2 usb ports left, not enougth. Is it possible to make micro usb useable somehow? For example, via custom usb cable etc. I need micro-usb male / micro usb male cable (OPI <-> 3d printer board) + supply power somehow. PS. i don't like to add external usb hub.
Larry Bank Posted November 28, 2017 Posted November 28, 2017 Some legacy kernel builds of Armbian were able to enable the usb OTG port to connect to devices and power the board. I haven't seen that work with a modern kernel. Looks like a hub may be the only solution for that board.
zador.blood.stained Posted November 28, 2017 Posted November 28, 2017 It should be possible to enable the host mode on both kernels using a proper cable and an external powered USB hub or a custom USB cable.
Blars Posted November 28, 2017 Posted November 28, 2017 Why don't you supply power via the GPIO connector?
vitaly Posted November 29, 2017 Author Posted November 29, 2017 21 hours ago, zador.blood.stained said: It should be possible to enable the host mode on both kernels using a proper cable and an external powered USB hub or a custom USB cable. Can i find somewhere custom cable pinouts for dummies, with easy picture how to wire cable ?
vitaly Posted November 29, 2017 Author Posted November 29, 2017 13 hours ago, Blars said: Why don't you supply power via the GPIO connector? A bit not convenient, if i wish to use existing USB expansion board & case. But that's not as bad as usb hub. Will be a plan B So, i can just supply 5v power to GPIO pins and everything will work without problems, including micro usb? Or should i make some additional actions to make this work?
chwe Posted November 29, 2017 Posted November 29, 2017 21 hours ago, vitaly said: I need 3 USB ports (webcam, wifi 5G, 3d printer). This whole setup sounds power hungry, IMO powering via micro USB isn't recommended anyway. Otherwise, you might be the next one for our (famous) https://forum.armbian.com/forum/31-sd-card-and-power-supply/ category. A quick and dirty solution. Buy something like this for using the microUSB. Buy orange pi's cheap expansion board for wiring out the other two USBs (and solder your PSU cable directly to 5V/GND). Two female USB connectors and a soldering iron will also work (if you do it on your own, you can solder a barrel plug on your 'expansion board' for an appropriate powering solution). 32 minutes ago, vitaly said: So, i can just supply 5v power to GPIO pins and everything will work without problems, including micro usb? from the schematics , I see no reason why it shouldn't work....
lagerschaden Posted November 29, 2017 Posted November 29, 2017 Have a look here: https://linux-sunxi.org/Orange_Pi_Zero_Plus_2 the expansion port ist decribed and how to power the board, USB OTG is possible
vitaly Posted November 29, 2017 Author Posted November 29, 2017 @chwe, i already ordered micro usb male (ans some other) connectors from here, and i also have DC-DC 9-30 -> 5v (to use 12v from 3d printer). My question is how to properly connect usb pins & powers source. And should i do something else (in software) to make this work.
Recommended Posts