Can I safely connect the power-only-end of a USB-Y cable to an other power source?

16

4

If the host computer for an USB device doesn't provide enough power for a device which has no dedicated power port, can I connect the power-only-plug of a Y-USB-cable to an other computer, an USB-charger or even a regular mobile charger? I'm afraid this could damage some of the devices.

Edit: The device in question is a USB Hard drive (Samsung S2 Portable 640GB (but on the back it's written to use 0.85A)) which is supposed to work whit just a single USB port. It did so well on a other laptop and whit some cables even on my actual net book back in Europe. But now in Malaysia it works only some times (I still try to figure out what the conditions are) and then it stops working after a while (maybe when it goes to power save mode). I heard from others their hard drives need one more power plug here in Malaysia to but can't imagine why...

Den

Posted 2012-07-14T02:16:15.310

Reputation: 323

2Afaik the Y-cables don’t comply with the USB standards. – kinokijuf – 2012-07-14T08:04:05.390

Answers

6

Yes. You can get USB power from another source but it still might not work...

USB power is only +5 volts DC. And as long as you don't connect the inner data lines (which can cause other problems) you should be just fine getting your +5VDC from somewhere else. But if this is an iPod or something then it probably still won't work. And the reason that it might fail is because some devices like iPods require a minimum amount of current as well as possibly even certain signals like a 1.5VDC level on a data line, for example.

Frankly, you'd probably be better off getting a powered USB hub. As long as you don't try to get an expensive hub, like for USB-3 or something, you probably can find one for under $20 or even under $10. So is it worth the potential damage to another computer over what might not even cost a saw buck?! (It's your decision...)

Anon

Posted 2012-07-14T02:16:15.310

Reputation: 111

Thanks for answering the basic question! It made me worry more about destroying any thing. Will try to find a small powered hub. As I'm traveling I try to minimize the amount of stuff to carry around and would like to use the same charger I use for my phone and batteries. But maybe better not. I add some info about the device in the question. – Den – 2012-07-14T04:37:39.407

16

TL;DR: It depends on the power sources. It might work. It might not. In the worst case it could potentially cause damage. You're better off spending the money on a powered hub.


For the full explanation, first, we need to delve into how a USB connector/cable is wired.

Image of a USB connector

With a basic USB 2.0 cable, you have a ground (GND) and a +5V (VBUS) for power. You also have a D- and D+ for data. I'm not going to go into the data lines here, since the question is addressing power.

There's really two and a half types of USB Y cables. Physically, there's:

  • One male connector, two female connectors

    There are two types of the one male two female cables (hence the two and a half). One is a basic charging cable, splitting one port's power across two devices. The other is a specialised cable that somehow splits the data lines - and it's only used in very specific applications.

  • Two male connectors, one (fe)male connector

    This is the one you are referring to. What happens is you have your USB cable, one side for the host and one for the device, but with an extra connector attached. This extra connector does not have any data lines (D-, D+); it only has the power lines (GND, VBUS). It's attached in parallel to the existing cable. In other words, VBUS is connected to VBUS and GND is connected to GND.

            Power connector
    
     VBUS -------\
                 |
       D-        |
                 |
       D+        |
                 |
      GND -------+-\
                 | |
                 | |
                 | |
     VBUS -------/ |
                   |
       D- ----     |
                   |
       D+ ----     |
                   |
      GND ---------/
    
            Host connector
    

    What actually happens here depends a lot on the circuitry of the two supplies (including reverse current protection), how closely their voltages match, how they react to current draw (poor supplies will experience voltage sag earlier), etc.. If you're lucky, it'll work with more current coming from one supply, depending on the above mentioned characteristics.


It gets tricky, however. There are cheap USB chargers out there with horrible regulation and a wide variance in voltage, especially depending when loaded. This may not be a major issue with some devices, even possibly including phones which may have their own internal regulation. However, other devices may be more sensitive. It depends on how bad the power source is, and how sensitive the device is; both are really a case-by-case thing, though some device categories will perform better than others.

Attempting to combine a poorly-regulated source in this manner would be a bad idea. Since you can't know how it would react, you're better off not trying.


1The USB specifications specify 5% tolerance for USB 2.0, i.e. from 4.75V to 5.25V. The actual device you are using may be more lenient.

2A standard port should only provide up to 100mA without negotiation. Since a power connector has no data lines, it cannot request more power. So typically the host + power connectors can provide a max of 600mA. However, there are special charging ports in the specification that may provide 500mA or even more without negotiation, and those ports may actually be more common nowadays. This isn't really relevant to using an external power source, however.

Bob

Posted 2012-07-14T02:16:15.310

Reputation: 51 526

excellent words. Thanks man. I've been trying to make my own usb hub by altering one USB HUB i already own. I was thinking if there is any way to give more power to hub, because I usually connect my mouse, keyboard, Iphone, graphic pen tablet and external hard drive. And some times my PC says, USB has low power etc. BTW I don't see such errors on my Macbookpro, but devices stop responding. is it the power issue? ?? – MFarooqi – 2015-05-07T16:30:37.340

2@MFarooqi The most robust solution is to purchase a good powered USB hub. Those typically come with their own power adapters that plug into a wall socket, and can support far more power-hungry devices than an unpowered hub. It's actually surprisingly hard to safely modify an existing unpowered hub to take external power, since you definitely don't want to accidentally feed power back into the host and fry it. – Bob – 2015-05-07T16:41:49.930

@Bob Yes. You are right. Instead of saving a few bucks can put my whole laptop on stake. :( – MFarooqi – 2015-05-08T07:34:16.313

"The voltage becomes the average of the two" - no, how do you think that would happen, electrically speaking? It's much more likely that either the port with the higher Vbus will try and supply all the current - and shut down if that's more than it is specified for - or that the port with the higher Vbus will backfeed power into the port with the lower Vbus with the potential for damage to at best that port and at worst to both devices. Don't do this. – nekomatic – 2016-01-07T08:46:02.103

@nekomatic Point, and I'll amend ... I'm honestly not too happy with this answer. It was a while ago, and there's quite a few issues to fix. As for what actually happens - a well-designed port w/ reverse current protection wouldn't be damaged, at least. You'd probably just end up pulling most power from one port until it either cuts out from overcurrent or the voltage sags (this is more common, I believe). In the latter case? You might achieve a wonky balance where you're pulling more current from one than the other but it kinda works. Still not a good idea at all. – Bob – 2016-01-07T11:30:20.693

Thanks for coming back and amending it, have an upvote for what is now a decent answer that highlights the likely problems. Now if we can just get hold of the OP to unaccept the other answer and accept this one... – nekomatic – 2016-01-07T14:24:42.723

1

"There's really two and a half types of USB Y cables": I introduce you to yet another kind of USB Y cable: a triple male! http://superuser.com/questions/559589/triple-ended-usb-cables

– That Brazilian Guy – 2013-03-23T15:13:33.550

"A standard port should only provide up to 100mA without negotiation." Amen! If I could give this question +10 then it would get that just for this part alone. – Hennes – 2013-03-23T15:15:40.917

4

It should be safe electrically safe so long as your device complies with USB standards which state a max of 500ma can be drawn from a USB 2.0 port and a max of 900ma can be drawn from a USB 3.0 port. Powered USB devices have different standards (described in the provided link). With all that said I doubt your device would work correctly if both ends of the Y cable were connected to different computers as the computers would be fighting for control of the data. Of the two options you suggested the USB charger idea sounds more likely to work. Possibly an even better alternative would be the use of a USB power injector.

UPDATE:

Your device is USB 2.0 and the max load a USB 2.0 port allows is 500ma. You have stated your device can draw up to 850ma. The load your device puts on a single USB port exceeds the maximum allowed power consumption written out in the USB specs. A "Y" cable is a hack way around what the USB specification allows. Using two USB 2.0 ports each of which provides 500ma of power means 1000ma of power is available to your device, regardless if you plugged both ends of the "Y" cable into one computer, or plugged one end into one computer and the other end into a different computer. With all that said a USB power injector is designed to do exactly what you want to do without putting undue load on your laptop's USB power circuits or power supply. Do not let that dissuade you from using the "Y" cable though. Personally if I were in your position (wanting to travel with as little baggage as possible) and I already had the "Y" cable I would just use it and I would plug both ends into the same computer. I'm sure it will be fine, and I'm not just saying that :)

ubiquibacon

Posted 2012-07-14T02:16:15.310

Reputation: 7 287

Thanks. On a Y-Cable one end is only connected for power any way. There should be no problem whit the data. But that power injector looks interesting. – Den – 2012-07-14T04:40:02.820

Is this USB power injector actually in any way different than my Y-Cable connected whit whit an adapter for this round bower plug? – Den – 2012-07-14T04:54:17.280

I have updated my answer. – ubiquibacon – 2012-07-14T05:18:30.777

In theory, without proper negotiation a USB 2.0 port may only provide one unit load, i.e. 100 mA. The power plug does not have data lines, so cannot be used for negotiation. Therefore, in theory, the maximum possible (total) current draw with one standard plug and one power only plug is 500 mA + 100 mA = 600 mA. – Bob – 2012-07-14T12:33:10.597

@Bob Interesting point. I didn't think of that. – Den – 2012-07-14T15:09:36.777

@Den There are some ports that don't adhere to the specifications. More recently, there is a specification for "charging" ports that provide over up to and possibly over 500mA without negotiation... – Bob – 2012-07-14T15:11:59.920

@ typoknig Of course I try to plug both end of the Y-cable in the same computer. This I had to do whit other hardrives before. But this one didn't need it - until I went to Malaysia and now it runs only unstable connected to 2 ports...

So from all the answers here I take it should be ok and working if I plug a mobile charger to the power-only-plug of the y-cable. I have here one which reads 4.2V-12.5V Max 600mA (I charged USB Audioplayers whit that before). – Den – 2012-07-14T15:21:45.327

@Bob I'm not sure about the specs, but at least 1 of them is even powered when the computer is not running. So there is a good change it is actually a charging port. – Den – 2012-07-14T15:23:09.147

3

I believe that the Y-cable method of increasing the available power to a USB device should be fine as long as the external 5 V DC supply is very well regulated (ie nice clean and constant 5 V DC supply). The Y-cable will create a common ground between the two supplies, and the USB device should be able to get the extra power it needs to function properly.

SouthPark

Posted 2012-07-14T02:16:15.310

Reputation: 31

3

This whole thing is a bad idea. You should never directly connect two power sources to any one point.

Let's say your USB port is +-5%, so the computer is running at 5.25V DC, but the USB power supply your plugging the other end of the Y into is at the other end of the 5%. i.e. it's voltage is 4.75V DC. That gives you a difference in potential of 0.5V DC. Power doesn't have to be connected to ground to flow; just a voltage lower than it.

That said properly designed supplies are supposed to have diodes on their output to prevent back feed into the supply. Who knows if your stuff has these. If you want to do this, then you have to sever the positive line on the end of the Y cable that will be plugged into the computer. Don't sever the ground line! The grounds of the two supplies need to be connected.

(This advice is given without warranty and is used at your own risk.)

anonymous coward

Posted 2012-07-14T02:16:15.310

Reputation: 31

Absolutely this. The design of most power supplies is such that they won't pull current in through the terminal that's designed to supply it - connecting a 5.25 V supply to a 4.75 V supply would most likely result in 5.25 V and all of the power being provided by the higher voltage supply. But at best this is pointless and at worst, as you say, who knows whether the equipment is properly designed? – nekomatic – 2016-01-07T08:50:34.463

0

Yes, but it is not recommended to use 2 different computers. A Y cable acts accordingly, it is both for power and data. You plug the 2 ends that are closer together into 2 usb ports on your computer, then plug it into your device. Unless your device is powered by an adapter, then you might just fry your external drive.

user185099

Posted 2012-07-14T02:16:15.310

Reputation: 1