loading

One day I found myself in the need for a USB hub with an eternal power supply but when I went to a shop I verified they can be quite more expensive than the ones that don’t ha\ve external power supply. No big deal, “I’ll just by a cheap one and add the external power supply”, I thought. And that’s what I did! After all I just had to add a wire on VCC, another on GND and cut the VDD wire of the USB cable that connects to the computer.. So, I went to a shop and bought the cheaper USB2.0 USB hub that I found and took it home for some small hacking.
This instructables has only 7 steps:

  1. Inspect the USB hub for signs of upgrades
  2. Open the enclosure
  3. Locate the GND and VCC traces and solder a wire to each one of them.
  4. Solder a connector to the wires.
  5. Cut the VCC (red) wire of the USB cable that connects the hub to the computer.
  6. If necessary, modify the enclosure to make the connector for the power supply accessible.
  7. Close the enclosure

For this instructable you will need the following tools:

You will also need the following skills:

  • Basic circuit analysis skills (continuity testing, voltage measuring)

For better quality pictures check out http://www.thebitbangtheory.com/2012/06/adding-an-external-power-supply-to-a-cheap-usb-hub/

Step 1: Inspect the USB hub, open it, and inspect it again

A good inspection of the device may make everything a lot easier than expected. The USB hub that I used had the shape of a 4-pointed star and in one of the corners there was the USB cable. However, I noticed that on another corner of the enclosure there was just a small hole. “Weird! Why is this hole here?”, I thought. I opened the case and right next to that unexpected hole, there were three holes in the PCB without any component inserted on them. I started to guess that those holes in the PCB and the hole in the enclosure were to solder the connector for an external power supply. I used my multimeters’ sound probe to verify if my suspicion was correct and fortunately it was! Two of the holes were on a GND trace and the another one was on the VCC trace.
Probably there are two versions of the same USB hub being the only difference the presence or the absence of the external power supply connector. I guess it’s a lot cheaper for companies to manufacture a big amount of a single printed circuit board than to order smaller amounts of two different boards

If your USB hub doesn't already have holes for the connector, look for the USB cable and find the VCC(red wire) and GND(black wire) tracks. Solder a wire to each one of them. If it is a single sided board you can even drill some holes in the tracks to solder the wires or a connector.

<p>The software solution may help you to share any devices, you can share even <a href="http://www.eltima.com/share-usb-hub.html" rel="nofollow">USB Hub over Network</a> <a href="http://www.eltima.com/share-usb-hub.html" rel="nofollow">.</a> </p><p>Really helpful solution to manage all USB devices. </p>
If you want, and know someting of electronic you can put a diode on the red wire <br><br>Then your hup can switch bitween the 2 *suplies*<br><br>You need a diode with a low voltage drop and one that can handel the curent.
<p>I have a few questions here..</p><p>Can I use one of the USB ports available on the hub to power that hub?</p><p>What I mean is this :</p><p>1- I'll get a male to male USB cable.</p><p>2- I'll plug one end of the USB cable into a USB charger (2.0A, 5V).</p><p>3- I'll plug the other end of the USB cable into one of the ports available on the USB hub.</p><p>4- I'll cut the hub's VCC red wire as you mentioned above.</p><p>so.. </p><p>1- Will this work?</p><p>2- Will the hub then provide the correct power to the rest of the ports (500mA,5V for each of the 3 empty ports)? &quot;assuming it is a 4 ports hub of course&quot;, or doing so will need extra steps and procedures? </p><p>3- Assuming all ports working at full capacity, if each port requires a 500mA, 5V, so for a 4 port USB hub, wouldn't that require at least a 2.0A, 5V adapter? or will any adapter work? (say a 500mA, 5V), how this works actually?</p><p>4-Will it be safe to plug my stuff then? USB HDD, external drives (DVD, HDD ..etc), flash drives, card readers ..etc, I mean will there be any extra power delivered to them somehow because of the charger or the cable specifications? do I need to be cautious of same?</p><p>5- Can I use some or all of ports this way to charge multiple devices while using the hub for data transfer? (mobiles, tablets, power-banks, speakers ...etc)</p><p>6- Will the hub provide only 500mA, 5V for the ports used for charging? or will it provide more for the charging processes?</p><p>7- If it will provide more for the charging processes, will that need a more powerful charger? or will my 2.0A, 5V work just fine?</p><p>8- And finally... is there a USB hub that already does all of what I have been asking about? (I mean powered by one of its USB port (or just a separet USB port), and can be used for data transfere and charging at the same time, with adjusting the specific power each port recieves? like 500mA, 5V for normal operations ports , and 1A, 1.5A, 2.0A 5V for charging ports)</p><p>Sorry for the too many questions, and this was very useful indeed! thank you!</p>
Hi! If the all the USB ports share the same VCC and GND lines, yes, you can do that. Just don't forget to cut the VCC (red) wire that goes into the computer. The current available for all the ports will be the maximum current of the power adapter. If you have a 5V/2A power adapter the ports will have to share the 2A. If you only plug one device to one port and it needs 2A, it will be ok. If you put two devices that need 2A, it will not work. There will be no physical limit to the current that can go into any port, except the current limit of the adapter. Using a simple analogy: if you have 1 cup full of water (power adapter) and 4 empty cups (USB ports) you can either put all the water into one cup or split it among the cups as you wish. Each device has it's own current specification and it will try to get that current from the power adapter, if the power adapter can provide it. You'll never have to adjust any current for any device since they will &quot;ask&quot; (not really the right word) for the current they need to the power supply. I didn't answer the questions one by one because they are somewhat repeated. However, I think I have explained everything you need to know. If not, just eep asking :)
<p>So the more powerful the adapter, the more current available to ports, and yes everything is now crystal clear, thank you, plus I found some valuable information in previous comments and other websites (I should've done some reading first), and the questions are.. well, not repeated.. but indeed dependent on each other.</p><p>Thanks alot for the quick reply, and I've done it already and testing it now on various devices, I just want to measure the voltage and the current on each port during operation, will that affect the function of the devices? like causing data loss or corruption if there is a data transfer going on</p><p>I'll be using something like this :</p>
<p>Yes, you can measure during use without any problems. However, be careful. Voltage is measured in parallel, which means you can simply put the test probes in any point of the circuit without any problem. On the other hand, current is measured in series, which means that you have to break the connection that you want to measure and use the two probes in the place that you break the connection so that the current flows through the multimeter. Otherwise you'll probably damage your multimeter or at least the fuse inside it</p>
<p>I'll be very careful of course :)<br>and the tests went OK, I only experienced issues with a usb wifi adapter, the connection was poor and kept dropping, I changed the usb cable and the dropping gone, but the connection still poor, (the usb wifi adapter worked fine on that hub before), I think there must be a noise somewhere, do you have any idea where it comes from?, or maybe there is another reason in your opinion.<br>Thanks</p>
<p>i made this and it works a charm Amazin instuctions as a test i went to see how many phones i can charge and i could charge a phone on all 4 ports obviously really slowly but still possible :D</p>
Very nice to see you made it even with a different hub! Congrats! :)
<p>we have to justwehavetojust remove red wire among the wires 4 and provide externalexternal power of 5v by means of any adapter</p>
<p>Greetings,</p><p>Does more than one USB device work at a time on that hub? I ask because it does not have any chips on it.</p><p>I found this instructable while trying to find out if USB splitters require circuitry.</p><p>Do you know if USB hubs require controller chips?</p><p>Thanks</p>
<p>I see an epoxy blob (close to the middle toward the side away from the USB and data connectors side &mdash;see http://goo.gl/WdsLsB) that is probably covering a controller chip that arbitrates the bus and power.<br><br>In any case, I took apart a hub of my own and it looks like the one above in that there are no direct connections between the signal pins which instead go to a chip.<br><br>At the very least, a USB 2.0 (or above) hub has to be able to translate to so that you can use devices following different standards (1.1) so a controller would be needed for that. Even for USB 1.1 the hub would have to be able to serve as a repeater. You clearly need a controller.</p>
Thanks for answering NeuroPulse's question! Great answer! :)
Could u please tell me the specifications of the adapter? how much output current is needed to power a 4 port hub?
<p>Hi! That depends on the devices that you plan on connecting to the hub. If you're going to plug in a hard drive it may take more current than 2 usb mouses, for example</p>
Do i just have to replace the red and black wires?
Thanks very much for the instructable. Managed to convert a keyboard with two usb ports on it into a powered hub, now I can use both a proper keyboard and wireless mouse with my Microsoft surface.
How do you do it? Ive got the same keyboard. Did you use this method?
Hi! I'm glad you could learn enough things from my instructable to make your own hack into another device :)
Once I realized it was the current that was the issue with uncovered hubs not the voltage it all made sense, the surface only provides enough current to power one device. Now that mouse and keyboard work I'm gonna try plugging my ext hd to the extra port and see what happens
My keyboard has 2 usb's behind it. Can i use this method to give iy external power?
<p>Hello sir. I don't see a power ports on my hub. Will this work if I desolder the red and black wire from the USB cable connected to PC and replace it with red and black from the power supply?</p>
Hi! Just desolder the red one from the cable that goes to the PC and keep the black one soldered. Connect the red one to the power supply. Then solder another black wire to the existing black wire and connect it to the power supply. After that, you're done :) Good luck!
Hi. Thanks for this tutorial. I would like to conect the male usb cable to an otg adapter and then to my samsung s4.Will this setup charge or keep charge my phone? (Im confuse whether i jave to cut or not the red cable in this case) yhanks in advance from argentina.
I'm not sure if I understood what you want to do. You want to use the hub to connect multiple devices to your phone?
Yes i have a samsung s4. I would like to connect several accesories to my cellphone in this order s4-&gt; otg-&gt; usb hub+ ext power. The idea is to connect everything and charge the phone at the same time.
<p>Ok, so in your case you shouldn't cut the red wire. However, be aware that some of the other USB ports (or an external connector, if your hub has one) will have to provide power to all the devices. Your phone will not be able to handle all of them. Also, I am not aware of how the power is managed in the USB OTG ports and although I think nothing bad will happen, I take no responsbility if it does :P</p>
Thank you very much for your kind reply
Yes i have a samsung s4. I would like to connect several accesories to my cellphone in this order s4-&gt; otg-&gt; usb hub+ ext power. The idea is to connect everything and charge the phone at the same time.
Mouse keyboard and ext hdd basically
<p>Do you think that if a phone doesn't have OTG feature it's just that it doesn't power the USB devices? I mean, if I add a 5V external power source to a hub, will my cell phone detect the pendrives/memory sticks?</p>
<p>It will depend on the phone and its specifications. If the phone firmware does not include drivers to handle USB devices, they will not be recognized.</p>
Hi. Thanks for this tutorial. I would like to conect the male usb cable to an otg adapter and then to my samsung s4.Will this setup charge or keep charge my phone? (Im confuse whether i jave to cut or not the red cable in this case) yhanks in advance from argentina.
<p>Question: if instead of adding a connector to the hub, I plug a USB charger into one of the ports, will it work? Of course, cutting the red, 5V wire inside the hub before.</p>
<p>Yes, it should work fine :)</p>
<p>But if you plug the hub to a PC, and you add an external 5V source, wouldn't that collide with the PC's own 5V that will too be present in the hub?</p>
Yes, that's why you need to cut the red wire in step 3 :)
<p>Thanks for this Instructable. I've had a problem with suppling ample power to a camera device via a 10 meter active repeater USB cable and this is the answer. As I found out, an active repeater cable only provides for a good USB data source between devices, not adequate amperage.</p>
<p>Great instructable, msaleiro - thanks so much for posting this. I wonder if I can use any 5V regulated power supply regardless of the Ampere/Wattage? Can I use a 5V adapter that I got from other devices?</p>
Hi! Thanks for the appreciation! Yes, as long it is a 5V adapter, you can use it. The more Amps the adapter has, the bigger is the amount of current it can provide to the devices. However, the devices will only take the current they need :)
<p>Thank you very much for this instructable. I'll use it to ammend for my little tragedy. It happens that I bought a Microsoft Surface Pro, second hand, and the day after I managed to fry the single USB port on the device. I was devastated. Now I found out that I broke the USB ability to power the devices - devices that are powered externally do work. So, my chances are that I can still use a powered hub to use the Surface's USB port. I only wish I could fix the port, but the Surface is extremely difficult to open, let alone fix.</p>
<p>Oh, I forgot to contribute here on the following: NEVER forget to cut the wire that prevents the power go INTO the usb port in the computer. I lost the Surface's USB port trying to connect a device that was powered, but the power went also into the port. Later that day, not even a usb flash drive would work anymore.</p>
This was very helpful. Got a usb ub for &pound;1 and now have it powered. Just wish my soldering skls were better.
<p>Could I get your opinion on whether or not the hub I have would be possible to do this with? Here's some pictures. <a href="http://imgur.com/a/IXUXH" rel="nofollow">http://imgur.com/a/IXUXH</a> I think I might have to just solder the power wires in directly to the existing power wires. Hopefully this won't be a problem. if it does work, which wires (the power adaptor has white and black wires) should I solder in and to what?</p>
<p>can we use the default power vcc and for external one, another usb port? will it work? i mean working it with two usb ports connected.</p>
<p>I'm not sure if I understood your question but I'll try to reply anyway. If you want you can apply a different power supply to each USB port of your hub. In order to do that you would have to isolate the VCC from each USB port from the rest of the hub and connect bot VCC and GND to an external power supply. If I didn't reply to your question then please explain it better or include some diagram showing what you pretend to do.</p>
Thank you. I knew the basics, just wanted a confirmation of what someone else has done. I need to hack a usb multiplexer for my pi which just can't supply enough power for a wireless keyboard/mouse combo and wifi adapter. Now I just need to find a 5v regulator and a barrel plug and I will finally be able to use the pi without sacrificing internet or keyboard.
Is there any chance of interference from the power cables or are those cables just for power?
The power cables are only used for power. Noise may come from power cables if you use a very noisy power supply. That's why I recommend using a 5V regulated power supply
hi..can i use a 5v battery ?

About This Instructable

188,159views

94favorites

License:

More by msaleiro:HacKeyboard, a mechanical keyboard built from scratch High Torque Encoded DC Motors for Robots from Car Window Motors Tiny Encoders for DC Motors 
Add instructable to: