View Single Post
foxOnTheRun's Avatar
Posts: 26 | Thanked: 61 times | Joined on May 2011 @ Italy
#42
Originally Posted by Leinad View Post
yep, this was meant for those who don't know, what they do ;-)
Still alive and kicking

Safety: yes, electricity and chemical reactions involved mmmhhhh sweeet! Sure, leaving the *test* charger on a cardboard box over the sintetic rug on the wooden floor.. isn't the smartest thingh to do, especially unattended, overnight and in a closed room.

But I did.

Ok, ok, the charger was tested with a supercap before, the code cannot lock up and as soon as something goes wrong.. components just burn.

Moreover, on almost all the assembled batteries (Lithium powered and rechargeable), there is a small (yet to analize) circuit that prevent extreme under discharge and extreme overcharge. Its a couple of small mosfet (or dedicated components I think) hidden in the plastic assembly between the phone contact and the phisycal cells that gives a small layer of protection.

I found out when I wasn't ablet to overcharge the battery above 4.3 or 4.5V (I guess), the current wasn't simply flowing inside anymore, the battery was in a high impedance status - but this was done on purpose and with the battery in a glass covered container (with vents).

However, I read somewhere, one should not charge Li-something batteries above 3.93V in order to have them last more than 10yrs without noticeable performance loss.. off course, the price you pay is the loss of total capacity.

Just for completeness, I will publish the full (stable) circuit schematics soon (hope), but there's nothing of extremely interesting inside - it's simple, crude, somewhat didactical and it works without too special components. I'm rewriting the code, from scratch - I don't feel to publish it 'couse.. it's pure evil code and "the" internet doesn't deserve such bad stuff lying around - but I'm more than available to send the source and/or the .bin file to flash the PIC and have your charger.. well, charging!

The code is pure spaghetti code full of magical numbers (had to work in fixed pint to same mem space, hence some pretty math tricks to simplify formulas) and zero comments (off course! *back then* I totally knew what I was doing..).
__________________
Anything worth doing, is worth overdoing
 

The Following User Says Thank You to foxOnTheRun For This Useful Post: