Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2024, 08:51:06 08:51


Login with username, password and session length


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

Posts: 29

Thank You
-Given: 45
-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: 57

Thank You
-Given: 39
-Receive: 40



« Reply #1 on: May 17, 2012, 10:24:52 22: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: 31
-Receive: 7


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

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

Posts: 57

Thank You
-Given: 39
-Receive: 40



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

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

Posts: 4646

Thank You
-Given: 826
-Receive: 4207


There is no evidence that I muted SoNsIvRi


« Reply #4 on: May 18, 2012, 01:19:22 13: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, 01:42:00 13:42 by pickit2 » Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


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

alfonsoagama meant that the hex is in the first attachment.
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #6 on: May 18, 2012, 10:12:34 22: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: 57

Thank You
-Given: 39
-Receive: 40



« Reply #7 on: May 19, 2012, 12:18:44 00: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, 12:25:46 00:25 by alfonsoagama » Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #8 on: May 19, 2012, 04:38:38 04: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
Active Member
***
Offline Offline

Posts: 249

Thank You
-Given: 976
-Receive: 279


Oink!


« Reply #9 on: May 19, 2012, 09:42:38 09: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, 01:29:05 13:29 by foxyrick » Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #10 on: May 19, 2012, 12:49:41 12: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