Level 5 · Control · project 4 of 4 · 25 min · ●●●○○

The Zener Battery Tester

A zener in series with an LED makes it ignore the first 3.3 V. A fresh 9 V lights it; a run-down battery barely can. A sharper gauge than a bare LED.

new here? Start with First Light — one battery, one resistor, one LED. It teaches the loop, LED direction, and why the 220 Ω resistor matters.

You'll make a press-to-test battery checker
You'll learn a series zener subtracts a fixed 3.3 V
Watch for zener stripe toward +; bypass switch open when testing a 9 V

What you need

🔧 Try before wiring →

you'll learn: Voltage regulation · Ohm's law · Series & parallel

Circuit map

The circuit you'll build, running on the Workbench right now — shown with the switch closed and the buttons held.

simulating…

If it doesn't work

The boring ways this circuit actually breaks — check these first before you unwire everything.

  • LED dark even on a fresh 9 V. Measure across the LED with TEST held. A large negative reading means the LED is backwards: long leg toward the zener. Nothing anywhere means the button or a resistor is in the wrong row.
  • LED very bright on the 9 V and still lit on the AA pack. The zener is in forwards (stripe toward −) and only takes 0.7 V. Turn it round. Also check the bypass switch is open.
  • A faint glow on the AA pack with the bypass open. Normal for a real 1N4728A: below a milliamp it leaks rather than switching off cleanly. Compare it with the bypass closed. The difference is the point.
  • LED lit without pressing TEST. The button is turned 90° so its legs are always connected. Rotate it so the legs that switch sit in different rows.

What you're building

A battery tester you hold a button to read. Press TEST on a fresh 9 V battery and the LED lights bright. Press it on a battery that has lost half its push and the LED stays dark. Between the two, the brightness falls off fast, so you can see how much life is left.

You could test a battery with just a resistor and an LED. The trouble is that an LED lights on almost anything over 2 V, so a bare LED shines nearly as bright on a tired 9 V as on a fresh one. The fix is one part: a zener diode, wired backwards in series with the LED.

A zener in series: a voltage toll

You met the zener in The 3.3-Volt Rule, wired across a node to hold it steady. Here it sits in line, between the resistors and the LED, with its striped end (the cathode) toward +. Below 3.3 V it blocks completely. Above 3.3 V it conducts and keeps about 3.3 V across itself, whatever current flows.

Now add up what the chain needs before any current can flow:

zener 3.3 V + red LED 2.0 V = 5.3 V

That's the toll. A battery under 5.3 V can't pay it, and the LED stays dark. Whatever the battery has above 5.3 V goes across the resistors, and Ohm's law turns that leftover into current.

Fresh 9 V

The resistors are a 220 Ω and a 100 Ω in series, 320 Ω. At about 11 mA the zener sits at 3.36 V (a little over 3.3 V, because current is flowing) and the LED at 2.01 V. The battery's own resistance is about 1 Ω. So:

I = (9 − 3.36 − 2.01) ÷ (320 + 1) ≈ 11.3 mA

Bright, and under the LED's 20 mA rating. The Workbench reads 11.3 mA. Why 320 Ω and not just the 220? With 220 Ω the current would be 3.63 ÷ 221 ≈ 16 mA, and a fresh 9 V that reads 9.5 V would push that to about 19 mA, right at the LED's limit. The 100 Ω buys margin.

A run-down battery

A 9 V battery is called flat at around 6 to 7 V. You can't dial a battery's voltage on the Workbench, so the second lane uses the 4.5 V AA pack as a stand-in for a 9 V battery that has lost half its voltage.

4.5 V is less than the 5.3 V toll. The zener and the LED share the 4.5 V between them, both well below their turn-on points, and the current is around a tenth of a microamp: dark. Now close the slide switch across the zener, which takes it out of the chain:

I = (4.5 − 2.0) ÷ 321 ≈ 7.8 mA

The same battery lights the LED fine. So a bare LED would have told you a half-flat battery was "OK". The zener is what makes the tester honest.

Why it's a sharper gauge

Do the math at a few voltages, with the zener in and with it bypassed. (These use 3.3 V and 2.0 V; at low current both sit a little lower, so treat the small numbers as rough.)

Battery With zener Bare LED
9 V (fresh) ≈ 11 mA ≈ 22 mA
7 V ≈ 5 mA ≈ 16 mA
6 V ≈ 2 mA ≈ 12 mA
5 V dark ≈ 9 mA

Going from 9 V to 7 V, the bare LED loses under a third of its current: hard to see. With the zener it loses more than half. The zener has subtracted a fixed 3.3 V, so the LED only sees the top of the battery's range, and that's the part that changes as the battery dies.

Physics honesty: real zeners are soft

The 1N4728A is rated 3.3 V at 76 mA. At a few milliamps a real one sits lower, and below a milliamp it doesn't switch off sharply; it leaks. So on a breadboard the 4.5 V test may show a faint glow instead of true dark, and the 9 V test may read a little brighter than 11 mA. The Workbench uses a sharper zener. The comparison still holds: hold the half-flat and fresh readings side by side, then flick the bypass and see how much the zener was hiding.

Build it

  1. The chain, top to bottom in free rows: a row for + in → push button → 220 Ω → 100 Ω → zener with its stripe toward the 100 Ω → LED long leg; LED short leg to a row for − in.
  2. The bypass: the slide switch with one leg in the zener's stripe row and one in its plain-end row. Leave it open.
  3. Test the 9 V: clip it on, red to + in, black to − in. Hold TEST: the LED lights. Let go: dark. Unclip it.
  4. Test the AA pack on the same two rows. Hold TEST: dark (or a faint glow; see above). Close the bypass and hold TEST again: lit.

The tester only takes current while you hold the button, so it never runs the battery down sitting on the bench.

Debug like an engineer

Hold TEST on the 9 V and measure across the zener. About 3.3 V with the LED lit: it's doing its job. About 0.7 V and the LED very bright: the zener is in forwards and acting as an ordinary diode. Put the stripe toward +. Now measure across the LED. About 2 V is right. Most of the battery, reading negative, with the LED dark: the LED is backwards and blocking the chain. Turn it round soon; an LED is only rated to take about 5 V backwards.

🧠 Your challenge

No single right answer. That's the point.

  • Fill in the table for 8 V and 5.5 V, zener in and bypassed. At what battery voltage does the zener lane carry exactly 1 mA? Would you still see it?
  • Make the toll bigger. Put a second red LED in series with the first. What is the new toll, and what does a fresh 9 V give now (keep 320 Ω)? Is that a better or worse tester for a 9 V battery, and why?
  • Design a tester for the AA pack (4.5 V fresh, flat at about 3.3 V). The 3.3 V zener plus an LED is too big a toll. What could you put in series with the LED instead, from parts you own, to make the LED dark at 3.3 V but lit at 4.5 V?
  • Harder: you can't change the Workbench battery's voltage, but you can change the resistance in front of the tester. Replace the 220 Ω with a 10 kΩ pot and find a setting where a fresh 9 V gives the same current as a "7 V" battery through 320 Ω. What does that tell you about using brightness alone to judge a battery?

For grown-ups: safety notes

  • A 9 V battery can't shock you, but shorting its snaps with a key or a stray wire makes it hot. Clip it on last and unclip it first.
  • Check the zener's stripe before you test. Backwards, it acts as an ordinary diode, the LED takes about (9 − 0.7 − 2.0) ÷ 320 ≈ 20 mA, right at its limit, and the LED looks very bright. That's the warning: unclip and turn the zener round.
  • Never close the bypass switch while testing the 9 V. Without the zener, 9 V through 320 Ω pushes about 22 mA, over the LED's 20 mA rating.
  • The tester only draws current while TEST is held. Don't wedge the button down and walk away.

Checked against

Keep building