Professional Documents
Culture Documents
Art
Craft
Food
Games
Green
Home
Kids
Life
Music
Offbeat
Outdoors
Pets
Photo
Ride
Science
Tech
Table of Contents
Arduino True Battery Capacity Tester (Li-Ion/NiMH/NiCD/Pb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 1: This is what you can get at the end...(just to get you interested) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 5: The SW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 7: Discharging... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
Image Notes
1. Auto Detect Battery type by voltage
Step 1: This is what you can get at the end...(just to get you interested)
This is the graph you can get from the text file sent to the PC during drain cycle.
Image Notes
1. Total capacity of a new 2000 mAh Bat was 1580mAH!
2. When voltage drops bellow 950mV (for NiCD/NiMH) the load is removed (via
the FET)
3. Seconds
4. mV
Image Notes
1. Li-ION Battery graph
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
Image Notes
1. connector to LCD
2. ATMEGA168
3. Max232
4. This led indicates you want to vote for me :-) Does anyone even read all these comments?
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
Image Notes
1. This FET was removed from a TV set - it has 4mOhm on-resistance.cool!
2. 10W 2.2Ohm Resistor load
Step 5: The SW
So I also connected and LCD (which I took apart from some other junk) and found the data-sheet on the net + a cool driver from the Arduino web page and started coding
.
Auto detecting battery type by the voltage .
Image Notes
1. Testing voltage to deterim battery type
2. RS232 connector
3. Reset
4. Power On
5. Load is active (discharging)
6. Ventilation holes for the 10W resistor
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
Image Notes
1. Auto Detect Battery type by voltage
Step 7: Discharging...
The discharge can take anywhere from 30-120 minuets depending on batery capacity but at the end you get a true indication of battery capacity / quality .
Do you want to use that battery for your air-plain receiver or not ?
This is the diagram of the discharge circuit...
Image Notes
1. The discharge just started - the 1Ma will increase as time goes bye..
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
Image Notes
1. Connect to pin 19 of Atmega168
2. Battery to be tested
3. 10W load
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
Related Instructables
Rechargeable
Battery
Capacity Tester
by BrianH
SAFE
Recharging of
Exotic Batteries,
NiMH, LiPO and
complex battery
packs or
multiple cells.
by erckgillis
NiCd - NiMH PC
Based Smart
Charger Discharger by
hosam_eldin
Homemade
Cordless Drill
Battery Charger
by yeltrow
Increase battery
life for
electronics by
Plasmana
Comments
35 comments Add Comment
blast09 says:
paulryanmini says:
paulryanmini says:
hi
i copied the code above directly into ardunio 0022 program. i have the duemilanove clone.
it comes up with the following errors:
dunkbat.cpp:3:10: error: #include expects "FILENAME" or
dunkbat:3: error: 'LiquidCrystal' does not name a type
dunkbat.cpp: In function 'void CL2()':
dunkbat:23: error: 'lcd' was not declared in this scope
dunkbat.cpp: In function 'void setup()':
dunkbat:31: error: 'lcd' was not declared in this scope
dunkbat.cpp: In function 'void loop()':
dunkbat:76: error: 'lcd' was not declared in this scope
dunkbat:99: error: 'lcd' was not declared in this scope
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
paulryanmini says:
slvr00gt says:
slvr00gt says:
BatteryDischargeTester.ppt63 KB
paulryanmini says:
moris_zen says:
slvr00gt says:
arnefl says:
Sure I do :-)
slvr00gt says:
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
slvr00gt says:
moris_zen says:
moris_zen says:
OK .. correction - the voltage on the top of the resistor is the battery voltage - it is correct .
slvr00gt says:
slvr00gt says:
My second question is how do you get drain data from microcontroller board to PC?
moris_zen says:
TheBlackBird says:
moris_zen says:
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
TheBlackBird says:
Euphorbium says:
BatVoltage = sensorValue*4.887; Where does this 4.887 comes from? Is it some constant?
Madrias357 says:
mathman47 says:
moris_zen says:
moris_zen says:
guyfrom7up says:
moris_zen says:
moris_zen says:
cipriti says:
megapix says:
MattSum1 says:
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/
moris_zen says:
amidar says:
Hello,
just a simple question. :-)
What for is division with 3.6 in this formula ?
TotalCurrent=TotalCurrent+MillisPassed/1000*(BatVoltage-FetVoltage)/2.2/3.6;
moris_zen says:
amidar says:
I figured that just about 10ps after i pressed "post comment" button ! :-)
Anyway, here is one very instructive site releted to battery charging/recharging.
I learned a lot especially from schematic part of the project. :-)
www.avr-asm-tutorial.net/akkuload/en/index.html
http://www.instructables.com/id/Arduino-True-Battery-Capacity-Tester-Li-IonNiMH/