maltepöggel.de

Battery capacity meter

Measures the capacity of 12V batteries

For tinkering and mobile power supply I have an older car battery in the garage. But now the question came up, what capacity it has left at all. The cheapest method would be to connect a lamp and stop the time until the battery has reached the final discharge voltage. However, if you take into account that the voltage (and thus the load) decreases during the discharge process, this method is quite inaccurate.

Picture: Test setup

So something better is needed. A microcontroller that monitors and calculates all values seems to be more suitable.

The only raw data we need to measure and process are current and voltage. In addition a time measure is needed which the controller generates itself. (per second)

The milliampere hours that have to be added per second (more precisely: milliampere seconds) are calculated from the formula I (current in mA) / 60 / 60. So with a discharge current of 1000mA, 0.27 mA would be taken per second.

The measurement circuit looks as follows:

Picture: Circuit for current measurement with a microcontroller

Depending on the current, the voltage at the output increases. The voltage is later converted to a digital value by means of an analog-to-digital converter.

Picture: Circuit for voltage measurement with a microcontroller

Voltage is measured by a small voltage divider.

Picture: Test run of the software
Picture: AD converter test run

First tests with the calculations and experiments with the analog to digital converter.

Picture: Test run in the garden

Test run of the software / hardware in the garden.

Picture: Cooling of the load resistor

Cooling for the load resistor and increased load. (85 watts)

March 2007:

Picture: Serial port upgraded

Minor improvements: Serial port (To log discharge curve with PC), status LEDs, fan that cools load resistor during discharge.

Downloads