HOW-TO: USB sockets, charging from 12V or 24V using droppers

vas

Well-Known Member
Joined
21 Jun 2011
Messages
8,200
Location
Volos-Athens
Visit site
Hello all,

following various threads discussing how to use Data USB sockets to charge devices like mobiles, tablets, cameras, etc onboard without resorting to inverters, I decided to gather all info together with links to bits you could use to accomplish this task.
Bearing in mind it took me a couple of years to get some decent results, I think it's worth going through the following.

Relevant threads are:
VIMAR-usb-connectors-24-gt-5V
Powered-USB-socket(s)-feeded-from-onboard-24V-circuit,
and finally in-line-12v-gt-220-40v-inverter

The problem I was trying to solve was how to charge all sorts of USB based devices without carrying various chargers AND having a big inverter running all the time. Further I have used the IDEA series of VIMAR throughout the boat and I bought a dozen DATA USB 1U sockets together with some assymetrical ones for polarised 24V (for fans, and a few other 24V devices). So 24V was available on each socket and it was a matter of dropping it down to 5V (usb standard) and routing it to the socket.

There are a series of different standards or protocols that various companies adhere to (or have developed and published). Generally acceptable ones ATM seem to be the 0.5A, 1.5A or 2.1A.
Getting into the details now, each USB socket has 4 connectors + - D+ and D-
+ and - is where you feed it with 5V (more on that later)
D+ and D- are the two data points that normally you do nothing (and you get f*ck all charging...)

So in order to get your devices to charge you can either use the USB Battery Charging Specification, Revision 1.2 (BC1.2) which gives you 1.5A and it's dead easy = you short D+ and D- or you start playing with voltage dividers (check the calculator halfway down the page) using resistors to drop and feed the D+ and D- with either 2V or 2.7V. TBH, it's only worth doing to get to 2.1A which worked with wifes Icrap.

2.0V/2.0V – low power (500mA) [absolutely pointless imho!]

2.0V/2.7V – Apple iPhone (1000mA/5-watt) [only worth if you have small 1A droppers, which you SHOULDN'T bother with...]

D+/D- shorted together – USB-IF BC 1.2 standard (1500mA) [easiest by far to implement providing decent current for most devices]

2.7V/2.0V – Apple iPad (2100mA/10-watt) [usefull for high end devices and I can only guess as time goes on more devices will demand more current!]

2.7V/2.7V – 12-watt (2400mA, possibly used by Blackberry) [didn't try it]

So go simple with a piece of wire and get 1.5A, or go fancy with 4 resistors and get 2.1A, up to you.

Now this means that you have to start with a dropper that has enough power to provide the right current for each case.
I initially got some Farnell droppers at 1A TRACO POWER TSR 1-2450 They are v.small and with a blob or hotglue you can stick them on the side of the USB socket. You do have to solder GND +IN and +OUT(5V) though.

Then I got the ones I've used in all high current setups which is:
DC-DC Adjustable Step-down Power supply voltage Converter Module Output 5V-35V +
Bigger in side, you need again to solder the ins and outs and you have to check with your voltometer and turn the brass tiny screw and get the voltage where you want! DONT MISS this step, else you may burn your device!

Pic below shows the 1A one when I was trying the various voltage dividers:
vimar-fyes_10.jpg


Sockets now look like this:

vimar-fyes_4.jpg


vimar-fyes_9.jpg

from left to right: 24V, USB (5V), 220V inverter, schuko (sp?) 220V generator, 220V inverter.

Hope it helps you sort out something avoiding drilling holes and fitting cigarette sockets all around the craft! And don't forget VIMAR and I guess all the other firms also have IPwhatever sockets for f/b, aft decks etc...

cheers

V.
 
When I researched this subject a while ago, according to the information I got from various internet sites, the D-/D+ voltages to aim for in a 2.1A USB socket was stated as 2.0 and 2.75 respectively.
Not really sure if this is correct or if it makes any difference in practice, but thought I should mention it.

I made my voltage dividers from resistors 22K, 27K and 33K to achieve these voltages on the D- and D+ pins.
divider.jpg


As I wanted to supply several USB sockets from one single buck converter, I installed one of these:
buck.jpg


I have only built two so far, but plan to build a couple more. They work fine for charging Ipad, Iphones and various other devices.
 
When I researched this subject a while ago, according to the information I got from various internet sites, the D-/D+ voltages to aim for in a 2.1A USB socket was stated as 2.0 and 2.75 respectively.
Not really sure if this is correct or if it makes any difference in practice, but thought I should mention it.

other sites mention 2.7 others 2.75, iirc I was around the middle as you cannot get the exact values, but it works, so there must be a range you have to be in.

I did forget to mention: CHECK THE CABLE!
crappy cable means no charging, or very slow charging.

cheers

V.
 
Dropper resistors??? Gahhh, scruffy as a scruffy thing with scruffy bits on!!!! Use zeners!

One of us is missing something, not sure who, would you care to elaborate please?

Just to clarify, I'm using 4 resistors as voltage dividers to drop 5V to 2.7V and 2.0V respectively. These two voltages are just a SIGNAL to the USB device to help it demand the right Amps from the other two points (the +V and GND which are the high current 5.0V and GND)
Being signals (ie. mAmps) I think it's not a problem using tiny resistors, have I got that wrong? Any pointers welcomed!

cheers

V.
 
One of us is missing something, not sure who, would you care to elaborate please?

Just to clarify, I'm using 4 resistors as voltage dividers to drop 5V to 2.7V and 2.0V respectively. These two voltages are just a SIGNAL to the USB device to help it demand the right Amps from the other two points (the +V and GND which are the high current 5.0V and GND)
Being signals (ie. mAmps) I think it's not a problem using tiny resistors, have I got that wrong? Any pointers welcomed!

cheers

V.

While resistors will (kind of) do the job that method has 2 significant inherent problems. First is component tolerance (yes you can buy more precise components) second, and more importantly it relies on the supply voltage being precise and stable. Unless your voltage regulation is very close to the socket, thats going to be tricksy.
So, replacing the D+ or - to Gnd resistor with a zener will provide a more reliable solution. Regulation, stability and load rejection all at lower power.
 
While resistors will (kind of) do the job that method has 2 significant inherent problems. First is component tolerance (yes you can buy more precise components) second, and more importantly it relies on the supply voltage being precise and stable. Unless your voltage regulation is very close to the socket, thats going to be tricksy.
So, replacing the D+ or - to Gnd resistor with a zener will provide a more reliable solution. Regulation, stability and load rejection all at lower power.

fwiw,
supply voltage is precise and stable.
voltage regulator needs 40mm long cables to reach the socket (i.e. it's glued ON the socket) so cannot possibly think a way to make it shorter!
tolerance, no idea, doesn't seem to bother the phones I've hooked up during the summer.

However, I did try to understand how this zener thing would work, couldn't understand it tbh. No easy explanations and schematics to help. I'm no el. or electronic engineer, so unless there's a page with clearcut instructions, I'm afraid I'm lost!
As BabaYaga says, please give us some instructions or point to specific components that would drop the stabilised 5V to 2.0V and 2.7V

cheers

V.
 
fwiw,
supply voltage is precise and stable.
voltage regulator needs 40mm long cables to reach the socket (i.e. it's glued ON the socket) so cannot possibly think a way to make it shorter!
tolerance, no idea, doesn't seem to bother the phones I've hooked up during the summer.

However, I did try to understand how this zener thing would work, couldn't understand it tbh. No easy explanations and schematics to help. I'm no el. or electronic engineer, so unless there's a page with clearcut instructions, I'm afraid I'm lost!
As BabaYaga says, please give us some instructions or point to specific components that would drop the stabilised 5V to 2.0V and 2.7V

cheers

V.

Heres a decent page about it.. https://electronics.stackexchange.com/questions/109674/zener-diode-as-voltage-regulator Not just "do this and it will work" or "blah blah blah technobable". Its someone that tried to use one and ran into trouble plus replies about wehere he went wrong and how to do it properly.
 
Heres a decent page about it.. https://electronics.stackexchange.com/questions/109674/zener-diode-as-voltage-regulator Not just "do this and it will work" or "blah blah blah technobable". Its someone that tried to use one and ran into trouble plus replies about wehere he went wrong and how to do it properly.

Thank you very much.
From my very limited understanding of these things, it seems that the linked page deals with the problem of keeping an output voltage stable when the load current is variable.
However, as pointed out by vas in post #5, there is no load on the D- och D+ poles of the USB contact, these reduced voltages are only signals to the device on how much current to draw from the main output poles, which are 5 V.
So I don't quite see how that linked discussion is relevant to the USB case.
 
Top