Creating a usb charger for a 3.7v 1500mah battery

Thread Starter

Ben Barker

Joined Dec 10, 2014
7
Im looking to find out how i can charge a 3.7v 1500mah battery via a usb port.
i understand usb provides 5v 500ma so in a perfect world would give 3 hours charge time. Obviously some numbers need to be controlled but i can neither find anything in existence or any information on how to do this.
Any help would be appreciated ! thank you in advance!
 

GopherT

Joined Nov 23, 2012
8,009
Im looking to find out how i can charge a 3.7v 1500mah battery via a usb port.
i understand usb provides 5v 500ma so in a perfect world would give 3 hours charge time. Obviously some numbers need to be controlled but i can neither find anything in existence or any information on how to do this.
Any help would be appreciated ! thank you in advance!
My first question, have you looked for a commercially available option? Before we help guide you to a design, What features of a commercially available, off-the-shelf solution is not meeting your needs?
 

Thread Starter

Ben Barker

Joined Dec 10, 2014
7
Ive had a reasonably decent look but cant find anything that addresses charging a battery such as this.
Im wanting to create a product which is powered by one of these babys and can be charged at your desk...
 

Papabravo

Joined Feb 24, 2006
22,059
...
i understand usb provides 5v 500ma so in a perfect world would give 3 hours charge time.
...
This is a misconception. The default current available is 100 mA. To get more you are supposed to negotiate, using the USB protocol, with the hub or master device. That device may or may not grant the request. Debugging a USB protocol device is not to be undertaken lightly and certainly not without some debugging tools.
 

Thread Starter

Ben Barker

Joined Dec 10, 2014
7
Hum, I searched google : lithium usb charger
More options than you can shake a stick at in a month of Sundays.

On the other extreme, here is the Ti.com solution.
http://www.ti.com/lit/an/slaa529a/slaa529a.pdf

Correct but not what im looking for. This needs to be reasonably small as it will be charging a battery for a product of similar size (dont want the whole package to be too bulky)
Although this looks perfect i discarded it as i saw on another page these "adifuit" chargers should only be used to charge adifruit batteries ?
Do you have any insight on this ? its size is perfect but i cant be buying at that price to fit into a product so id need to find a manufacturer.
Kind regards Ben.
 

Alec_t

Joined Sep 17, 2013
15,111
Are you aware that charging lithium batteries safely is not a trivial task? Get it wrong and you could be calling out the emergency services :eek:.
 

Thread Starter

Ben Barker

Joined Dec 10, 2014
7
Are you aware that charging lithium batteries safely is not a trivial task? Get it wrong and you could be calling out the emergency services :eek:.
Exactly why im not attempting to bundle something together myself haha. As the product it will be a part of will be sold i need to find a manufacturer who can provide a legit and safe charger.
 

takao21203

Joined Apr 28, 2012
3,702
pretty much trivial items. These IC are just shunts, and they turn off at some voltage. i sold 100s of these small modules already. They work for all small lithium batteries.
 

ian field

Joined Oct 27, 2012
6,536
Im looking to find out how i can charge a 3.7v 1500mah battery via a usb port.
i understand usb provides 5v 500ma so in a perfect world would give 3 hours charge time. Obviously some numbers need to be controlled but i can neither find anything in existence or any information on how to do this.
Any help would be appreciated ! thank you in advance!

For quite some time now, I've been getting away with a TL431 shunt regulator. Its for my e-cigarette and is in daily use with 2 batteries on charge while I use a third.

About 8.2 Ohms is about right to limit current, the shunt voltage must be calibrated precisely for safe charging.

On my charger, I anticipated the worst possible case of the TL431 failing short circuit; I've included a low forward drop Shottky barrier diode in series with the battery - you do of course have to measure the diode Vf under charging conditions and add this to the voltage calibration.

There have been no problems with mine so far, once or twice I've forgotten to change over batteries in the morning, so the batteries have been left continuously charging for as much as 48h. If you anticipate that the charger could be left unattended for more than 24h, I would highly recommend one of those plug in mains timers between the charger and the wall socket.
 

Thread Starter

Ben Barker

Joined Dec 10, 2014
7
For quite some time now, I've been getting away with a TL431 shunt regulator. Its for my e-cigarette and is in daily use with 2 batteries on charge while I use a third.

About 8.2 Ohms is about right to limit current, the shunt voltage must be calibrated precisely for safe charging.

On my charger, I anticipated the worst possible case of the TL431 failing short circuit; I've included a low forward drop Shottky barrier diode in series with the battery - you do of course have to measure the diode Vf under charging conditions and add this to the voltage calibration.

There have been no problems with mine so far, once or twice I've forgotten to change over batteries in the morning, so the batteries have been left continuously charging for as much as 48h. If you anticipate that the charger could be left unattended for more than 24h, I would highly recommend one of those plug in mains timers between the charger and the wall socket.
So your using your ecig charger ? slightly modified?

Those twenty-buck-a-dozen eBay charger modules work fine.
And remember: you have to protect the battery, too. like with these: http://www.ebay.com/itm/1S-2A-Li-io...232?pt=LH_DefaultDomain_0&hash=item5b091ac4f0 , unless your battery is already protected.
So i could use a module similar to the one i linked early but i would need to add what you have linked in order to protect the battery?
Have to apologies, my only electrical knowledge is that of A Level Physics! haha.
So thank you all for helping !
 

ian field

Joined Oct 27, 2012
6,536
So your using your ecig charger ? slightly modified?



So i could use a module similar to the one i linked early but i would need to add what you have linked in order to protect the battery?
Have to apologies, my only electrical knowledge is that of A Level Physics! haha.
So thank you all for helping !
Before I got into making my own chargers - I acquired a Nikon camera with a lithium battery but minus its charger - I stripped a Vapourlites E-cigarette for the little capsule containing the end of charge cut off circuitry and charged the Nikon battery with the Vapourlites USB adaptor - it took a few days to charge the much bigger battery than it was intended for, but got there in the end.
 
Top