Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 01:08:08 13:08


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC12F683 Usb charger  (Read 2943 times)
0 Members and 1 Guest are viewing this topic.
zed65
Newbie
*
Offline Offline

Posts: 26

Thank You
-Given: 39
-Receive: 37


« on: March 17, 2012, 02:24:46 02:24 »

Here is a simple USB charger for 2pcs of AA NIMH or NICD I made a while ago.
It uses an DS18B20 1wire sensor to measure the temperature of the batteries and shuts of about 32 degrees celsius.
The program is made in Flowcode and the schematics in Eagle.

If you find it interesting/useful, feel free to use it.
Be careful, the TIP122 gets a bit hot!
Logged
alfonsoagama
Junior Member
**
Offline Offline

Posts: 49

Thank You
-Given: 35
-Receive: 27



« Reply #1 on: May 17, 2012, 11:24:52 23:24 »

You can get a cheaper, and more sophisticated usb charger with:

MCP73123 for 2 pcs of AA NIMH or NICD with a Resistor Programmable Fast Charge Current: 130 mA - 1100 mA
MCP73223 for 4 pcs of AA NIMH or NICD with a Resistor Programmable Fast Charge Current: 130 mA - 1100 mA
Logged
jamen
Junior Member
**
Offline Offline

Posts: 41

Thank You
-Given: 29
-Receive: 6


« Reply #2 on: May 18, 2012, 01:00:13 13:00 »

NO SOURE CODE?
Logged
alfonsoagama
Junior Member
**
Offline Offline

Posts: 49

Thank You
-Given: 35
-Receive: 27



« Reply #3 on: May 18, 2012, 01:33:56 13:33 »

The .hex file is included in the attachment.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 3816

Thank You
-Given: 567
-Receive: 2049


There is no evidence that I muted SoNsIvRi


« Reply #4 on: May 18, 2012, 02:19:22 14:19 »

WTF!   Why don't you say what your on about.

@ jaman to which post are you saying has no hex code?
@ alfonsoagama you did not post any link for your post? just some a vauge reference to a few ic's from microchip.
Then you say .hex file is in the attachment, your post don't have an attachment, so why respond to jaman's post?
« Last Edit: May 18, 2012, 02:42:00 14:42 by pickit2 » Logged

Note: If you have no posts other than, I want or reporting a dead link Then you can't complain If I remove your post So Stop Leeching
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #5 on: May 18, 2012, 05:00:17 17:00 »

alfonsoagama meant that the hex is in the first attachment.
Logged

nothing to say..
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #6 on: May 18, 2012, 11:12:34 23:12 »

Quote
MCP73123 for 2 pcs of AA NIMH or NICD with a Resistor Programmable Fast Charge Current: 130 mA - 1100 mA
MCP73223 for 4 pcs of AA NIMH or NICD with a Resistor Programmable Fast Charge Current: 130 mA - 1100 mA

The MCP's is Li-Ion charger, 2x in series of NIMH or NICD (2.4V) will be charged at about 4.2V on the constant voltage charging sequence, not a wise choice.

-ichan
Logged

There is Gray, not only Black or White.
alfonsoagama
Junior Member
**
Offline Offline

Posts: 49

Thank You
-Given: 35
-Receive: 27



« Reply #7 on: May 19, 2012, 01:18:44 01:18 »

The MCP's is Li-Ion charger, 2x in series of NIMH or NICD (2.4V) will be charged at about 4.2V on the constant voltage charging sequence, not a wise choice.

-ichan
The MCP's are Lithium Iron Phosphate (LiFePO4) Battery Charge Management Controller, 2x in series of NIMH or NICD (NiMH batteries normally operate at 1.2 V per cell but The charging voltage is about 1.8V per cell) will be charged at about 3.6V on the constant voltage charging sequence (not 4.2V).
The MCP73123/223 employs a constant current/constant voltage charge algorithm.


http://ww1.microchip.com/downloads/en/DeviceDoc/22191D.pdf
« Last Edit: May 19, 2012, 01:25:46 01:25 by alfonsoagama » Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #8 on: May 19, 2012, 05:38:38 05:38 »

Quote
...will be charged at about 3.6V on the constant voltage charging sequence (not 4.2V).

3.6 (or 3.7) volt is nominal voltage of Li-Ion (family) battery, after constant current charging will be continued with constant voltage at about 4.2 - 4.4 V (depends on the battery).

Try to measure the voltage of a fully charged Li-Ion (family) battery, it is not around 3.6 but 4.2 volt.

-ichan
Logged

There is Gray, not only Black or White.
Magnox
V.I.P
Active Member
*****
Offline Offline

Posts: 208

Thank You
-Given: 775
-Receive: 238


Oink!


« Reply #9 on: May 19, 2012, 10:42:38 10:42 »

I'm fairly sure that the LiFePO4 cells are not 4.2V EOC, but 3.6V to 3.7V. They are the odd member of the secondary lithium cell family. The datasheet linked in post #7 specifically mentions 3.6V EOC limit.

That's why they are used a lot in flashlights that support CR123 cells (that's why I know about them) but cannot handle the higher voltage of the 'usual' RCR123 LiIon cells.

Here's a datasheet for an example LiFePO4 cell:

http://liionbms.com/pdf/goldpeak/GP45EVLF.pdf
« Last Edit: May 19, 2012, 02:29:05 14:29 by foxyrick » Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 840

Thank You
-Given: 312
-Receive: 387



WWW
« Reply #10 on: May 19, 2012, 01:49:41 13:49 »

That is me who do not really know what LiFePO4 is, specifically it's end of charge condition - mixed it up with Li-Po perhaps.

Thanks for the new know-how.

-ichan
Logged

There is Gray, not only Black or White.
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC