Escolar Documentos
Profissional Documentos
Cultura Documentos
Art
Craft
Food
Games
Green
Home
Kids
Life
Music
Offbeat
Outdoors
Pets
Photo
Ride
Science
Tech
Table of Contents
Rechargeable Battery Capacity Tester . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 8: Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
Load resistor
The resistor needs to dissipate a bit of power, so size does matter in this case. Testing NiCd and NiMH batteries (1.2 volts) the power dissipation is under 1 watt, so
choose a sufficiently large resistor, or several resistors in parallel. With the relatively large current, be sure to use thick wire for the discharge path.
I considered allowing testing of type 14500 Li-Ion batteries since they are AA size too, but the load resistor would need to be changed to a larger value to accommodate
the higher voltage. When the battery is inserted, the program checks the battery voltage, and does not perform the test if detects a Li-Ion battery. If I didnt do this, the
load resistor would draw over 1400 milliamps, which is way over the maximum recommended discharge current of 450 milliamps. The resistor would (in theory) dissipate
about 6 watts, and the aroma of smoke would fill the room. This emphasizes the need for your code to test and handle unexpected conditions! I could have designed a
circuit to allow testing of Li-Ion batteries by adding an additional FET and load resistor, but I didnt need this feature.
Power MOSFET ( FET)
This component is like a switch. The output from the microcontroller controls the switch. When the output is high to the gate of the FET, it allows current to pass from the
positive terminal of the battery, through the resistor, and the FET then completes the path back to the negative terminal. This discharges the battery over a period of time.
I used a FET I salvaged from an old PC (partnumber IRL3103S). Any similar device should work as long as the Drain-to-Source On-Resistance is low. The 2M ohm
resistor ensures the voltage read from an empty battery holder is zero volts. Without it, the A/D input will produce unpredictable results.
Display
I used a LCD from a old Nokia 5510 cell phone which was a pain to wire up, but the good news is that the display is available in an easy to use board from Sparkfun along with the other materials. The Arduino is running at 5 volts, but the display and the control lines need no more than 3.3 volts. There are several ways to accomplish
this I chose using resistors to form a voltage divider. The 1800 ohm and 3300 ohm resistors form a pair that divide the 5 volt outputs from the Arduino to the desired 3.3
volts. In the standalone version I kept the design the same. I could have lowered the microcontrollers voltage - the AVR chip will run at a lower voltage - but that would
cause other design changes, so I kept the same design. The display has a back light, so I wired it up through a current limiting resistor. The Nokia display is a bit mapped
display, so I took advantage of that and made animated battery icons to show the status of the three cells. The PCD8544 library makes controlling the display a snap
http://code.google.com/p/pcd8544/
The following is a simplified schematic showing one of the discharge circuits controlled by the Arduino.
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
Image Notes
1. The signal from the Arduino controlls the FET which acts as a switch
2. FET (or MOSFET) acts like a switch that allows cirrent to pass from Drain to Source when the Gate is 'high'
3. The Load resistor 'burns off' the charge from the battery. This circuit could dissipate up to 1 Watt, so be sure to get a resistor that can handle the load.
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
Image Notes
1. The 2 mega-ohm resistor was needed to ensure that the analog input would
read zero volts when the battery was removed. In Engineer speak, "the input is
no longer floating".
2. Current limiting resistor for the backlight LEDs
3. Voltage divider resistors ensure that the 5V output from the Arduino is
reduced to 3.3V for the LCD. THe top is 3300 ohms, the bottom one is 1800
ohms
Image Notes
1. Voltage divider resistors ensure that the 5V output from the Arduino is
reduced to 3.3V for the LCD. The top is 3300 ohms, the bottom one is 1800
ohms
2. Voltage divider resistors power the 3.3V LCD. The top is 3300 ohms, the
bottom one is 1800 ohms
3. Voltage Regulator provides clean 5V DC to the Arduino
4. ATMega 168 or ATMega 328p
5. The 2 mega-ohm resistor was needed to ensure that the analog input would
read zero volts when the battery was removed. In Engineer speak, "the input is
no longer floating".
Image Notes
1. The Arduino has a 3.3V supply, so you can use that to supply the LCD
directly. The standalone design does not have a source for the 3.3V, so I used a
voltage divider instead.
File Downloads
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
Image Notes
1. Back cover - routed out to allow room for components
2. ATMega microcontroller
3. Voltage regulator
4. Three MOSFETs
5. Load resistors several in parallel to make the 2.5 ohm resistance and at least one watt of dissipation.
6. Back side of battery holder. Yes - I know a four cell battery tester would be 'nicer', but I ran out of A/D ports on the ATMega168.
7. Input power connector
8. Hole to mount circuit board to front
Image Notes
1. Connector is from a PC power supply. The connector and wire need to be able to handle the current without significant resistive loss.
2. Sub-c battery with solder tabs
3. Leave these two empty while testing external batteries
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
Step 8: Video
Image Notes
1. No Battery installed in slot #3
2. Battery in slot #2 is being detected.
3. Battery in slot #1 has been detected and is being discharged.
Image Notes
1. When testing is complete this reports the results of the three batteries
2. In this test, the third battery was not installed as indicated by the icon
Related Instructables
Arduino True
Power your
Battery
Arduino/AVR
Capacity Tester with a Hand(LiCranked Battery
Ion/NiMH/NiCD/Pb)by nevdull
by moris_zen
Simple LED AA
Battery Tester
by
misteravocado5
Self Sufficient
Arduino Board
by p2man
Playmobil 3V
LED Tester by
Brennn10
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
Easily recharge
alkaline
batteries! by
CalcProgrammer1
Comments
20 comments Add Comment
paulryanmini says:
newrev426 says:
BrianH says:
newrev426 says:
duncan_a says:
arnefl says:
eBay item 200399485981 from seller szdigitalsquare $8.00 and free shipping. It also has an adapter PCB
BrianH says:
Sparkfun.com sells them for $9.95 and ships internationally. They also have other related goodies.
http://www.sparkfun.com/products/10168
Their display is a lot easier to work with. I had to carefully cut the circuit board that was in the phone and solder small wires to make the display usable.
But since I had it on hand I made use of it.
augur45 says:
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
KT Gadget says:
BrianH says:
ironsmiter says:
ok, so Quick note for some of us... .PDE files open well in "wordpad" on windows systems.
Was just trying to look at the code, to determine what, if anything, would need to be changed besides the FET and load, to change it into a 18650 capacity
tester.
AA batteries are nice, but nothing says power to weight like good, used laptop battery cells.
As a note, contrary to the code notes... a fully charged Li-Ion will read 4.2V NOT 3.6.
I'll have to dissect the code when I'm not so tired, unless you already have it sitting around? ;-)
I have a feeling there's going to be more to it than swapping 2 components, and a few variables. I think it best to simplify, and use a separate tester, instead
of trying to cram all the functions into one little PIC. But I could be wrong. I don't have much experience with micros, other than burn-and-play with other
peoples code.
BrianH says:
ironsmiter says:
jimk3038 says:
cachehiker says:
0.95 Volts.
It's a constant defined in the first page of code.
Spokehedz says:
jrossetti says:
roycepipkins says:
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/
JoshuaZimmerman says:
SinAmos says:
Oh, I like this and need this or do I?
http://www.instructables.com/id/Rechargeable-Battery-Capacity-Tester/