NOTE! This Arduino Battery Capacity Tester has been updated!
See the new, improved and simplified version of the New Battery Capacity Tester!
To automate the testing of (camera)batteries and to make the tests repeatable I came up with a small circuit controlled by a Arduino microcontroller – you can see the UPDATED battery capacity tester circuit on the left. (If anyone is interested I can put up the Arduino program that controls it.) I have used this on my tests of camera batteries – check them out!
Someone was! 🙂 (Interested in the Arduino program!) Link at the bottom of this post! The program outputs measurements to the serial monitor. I just copy it from there to Excel and do the calculations and graphics in Excel.
After some consideration about the measurement process I decided to try to approximate the real world picture-taking – but I also wanted a repeatable and reasonable easy and quick way of comparing different batteries. The circuit I decided on can handle the three most common batteries: 1.2 V NiMh, 3.7 and 7.4 V Li-ion by changing the load resistor. I wanted the load to mimic the actual taking of pictures by applying the load for a number of shorter times – like taking pictures.
For the 3.7 V Li-ion batteries on test here I decided that, as the battery according to Canon should give about 300 pictures, I would apply the load in around 300 short intervals. That ideally translated to a 5.2 ohm resistor giving around 500 mA load for 16 seconds each. Settled for a more standard resistor of 5.6 ohm. The load in this case is around 2.5 watts so use an appropriate resistor – with higher rating unless you want it to get very hot! 🙂 I also decided to let the battery “catch its breath” for 16 seconds between each “picture” – again mimicking (very oversimplified) the real world behaviour while keeping the time down. Initially I wanted to follow a “real” standard like the CIPA one – but it was much to complicated for me and would involve far too much manual work. More to read about battery measurement in the CIPA document – but be warned it is very technical!
PEPs This 16 second 5.6 ohm load followed by a 16 second rest period just had to have a name so I called it Photoman Equivalent Picture samples (PEPs) – cool eh? 😉 NOTE that this is not real pictures taken but gives a good enough approximation – especially for comparing batteries! . The circuit takes into account the resistance of the MOSFET transistor used – just below 0.4 ohm – but it lowers the load a little bit. Running through the whole test takes about 3 hours per battery. Cut off voltage is 3.0 V for Li-ion batteries so that is where I stopped the tests. (This goes well with my Canon S95 that signals empty battery at that voltage.)
mAh My testing method also gives the capacity in mAh under the above “simulated real world picture-taking” conditions. Note that under other (“laboratory”) conditions these batteries can give other mAh capacities – but as I do it the same way in all my tests you can compare the results between the batteries that I test.
Here is a link to the Arduino program: BatteryCapacityTester
NOTE: Right click on the link and select “Save target as…” Due to limitations with WordPress this Arduino source code file has been given the extension “.doc”. After saving this to your disk rename the extension to “.ino”.
As usual if anything goes wrong or gets broken by using this information I am sorry – but all the decisions are yours!