Project: battery tester

Project · 25 min

Project: a battery tester

Build a tester for 9 V batteries that shows, at a glance, whether one is good, weak or flat.

LEDs litMeansBattery under load
green, yellow, redgoodabove 8.7 V
yellow, redweak6.9 V to 8.7 V
red onlyflatbelow 6.9 V

The display is built, on the far side of the board: three LEDs, with the green and yellow ones each switched by a switch block like the night light's (on when its IN is above 2 V). The red one is always on while a battery is connected.

Your job is the part that decides. But first: why must the tester measure the battery under load?

  • A worn battery can read nearly 9 V with nothing connected; its high internal resistance only shows when it supplies current
  • So the LEDs have something to light
  • A battery's voltage can't be measured without a load

Add the test load: a 470 Ω resistor across the battery, drawing about 20 mA, with wires from the + rail and to the − rail.

Each switch block turns on at 2 V. To light the green LED only above 8.7 V, its IN needs a divider that gives exactly 2 V when the battery is at 8.7 V: an output of 2 ÷ 8.7, or 23%, of the battery.

If the divider's resistors add up to 10 kΩ, how big is its bottom resistor?

Answer in Ω.

You could build two dividers, but one ladder of three resistors does both: top, middle and bottom in series from + to −, with two taps.

  • the lower tap (between middle and bottom) is 23% of the battery: it goes to the green block's IN (column 22);
  • the upper tap (between top and middle) is 29%: it goes to the yellow block's IN (column 26).

Pick three resistors from the drawer and build it. The tester is checked with three batteries: good, weak and flat.

Try it: click the battery and turn its voltage down, and watch the lights drop out one by one.

A weak battery reads 8.4 V with nothing connected. Why does your tester call it weak, not good?

  • Its internal resistance drops about a volt at the test current, pulling it below 8.7 V
  • 8.4 V is below 8.7 V anyway
  • The LEDs are too dim

Your battery tester:

  • a test load, so the battery is measured while it works;
  • one ladder of three resistors setting two thresholds, 8.7 V and 6.9 V;
  • switch blocks lighting a bar of LEDs: three for good, two for weak, one for flat.

That's the end of DC circuits. Everything in it, from Ohm's law to Thévenin, went into these two projects.