Level 1 · Light · project 24 of 25 · 15 min · ●●○○○

Polarity Probe

A red LED and a green LED wired back to back behind one 220 Ω. Whichever way the battery faces, exactly one lights, so the colour tells you which wire is +.

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 probe that shows which wire is +
You'll learn LEDs are one-way doors
Watch for the two LEDs point opposite ways — long legs on different strips

What you need

🔧 Try before wiring →

you'll learn: LED polarity · Series & parallel · Ohm's law · Circuits are loops

Circuit map

The circuit you'll build, running on the Workbench right now.

simulating…

If it doesn't work

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

  • Both LEDs light at the same time. You can't get that from this circuit, so the LEDs aren't actually in parallel: one of them is probably on a different strip, in series with something else, or you have two separate loops. Trace both LEDs: one leg of each in strip P, the other leg of each going to the − rail.
  • Red lights, but reversing the battery lights nothing. The green LED is facing the same way as the red one. Pull it and turn it round: its short leg goes in strip P, its long leg toward the − rail.
  • Nothing lights either way. The loop is open: check that the pack has its own switch on, that the slide is on, and that the 220 Ω and the − rail jumpers are fully pushed in. Then try each LED alone in First Light to make sure neither is dead.
  • The lit LED is very dim. Check the resistor bands. Red-red-brown is 220 Ω; brown-black-red (1 kΩ) would give about 2.5 mA, and brown-black-orange (10 kΩ) a faint glow.

What you're building

A tool that answers one question: which of these two wires is +? You'll need it the first time you find a battery clip with two black wires, a salvaged toy motor lead, or a pack whose red wire has been snipped off.

The probe is a 220 Ω resistor and two LEDs, a red one and a green one, standing side by side but pointing in opposite directions. Engineers call that back to back or anti-parallel. Connect it to a battery one way and red lights. Swap the two wires and red goes dark while green lights. One part never lights at all: the one you'd expect if you didn't know what a diode does.

The big idea: an LED is a one-way door

An LED is a kind of diode, a part that lets current through in one direction only. Current goes in at the anode (the long leg) and out at the cathode (the short leg, next to the flat spot on the rim). Push the other way and the door stays shut: almost no current flows, and the LED stays dark.

Put two LEDs across the same two rows, pointing opposite ways, and whichever direction current arrives from, one door is open and the other is shut:

  • Resistor side is +: current flows into the red LED's anode. Red lights. Green is facing backwards, so it blocks.
  • Resistor side is −: now the green LED's anode is the high side. Green lights. Red blocks.

There is no position where both light, and (as long as the battery is connected and the parts are in) no position where neither does. That is what makes it a probe: one glance, one answer.

Do the math

Battery the normal way round (red lights):

  • Battery push: 4.5 V
  • A red LED at about 11 mA holds about 2.0 V across itself (its forward voltage, the price it charges to let current through).
  • Left for the 220 Ω: 4.5 − 2.0 = 2.5 V
  • Current: I = V ÷ R = 2.5 ÷ 220 ≈ 11.3 mA. Bright, and well under the 20 mA limit.

Battery reversed (green lights):

  • A green LED charges a bit more, about 2.1 V.
  • Left for the 220 Ω: 4.5 − 2.1 = 2.4 V
  • Current: 2.4 ÷ 220 ≈ 10.9 mA

The simulator agrees with both numbers to within a tenth of a milliamp. Green is a hair dimmer on current, but green light looks brighter to your eyes, so the two colours end up looking about even.

Why the backwards LED is safe

An LED's datasheet lists a maximum reverse voltage, the most you may push against the shut door. For an ordinary 5 mm red LED it is 5 V (Kingbright's WP7113ID sheet, linked below). Past that the door can break down and the LED is damaged.

Here's the neat part. The backwards LED sits across the same two rows as the forwards one, so it sees exactly the voltage the lit LED holds: about 2.0 V when red is lit, about 2.1 V when green is. The lit LED clamps the voltage, so its partner never sees more than 2.1 V backwards, less than half its limit.

Now picture building the probe with only the green LED. Connect it the "wrong" way and nothing conducts, so nothing drops any voltage: the full battery lands across that one LED backwards. On 4.5 V that's under the 5 V limit, but on a 9 V battery it's nearly twice the limit. The second LED isn't just a second colour; it's what keeps the first one safe.

Build it

  1. Power. Battery pack + (red wire) to the top of column 1, − (black wire) to the bottom rail.
  2. Slide switch. Across from the + column to the next strip. In a real probe this is just you touching two probe wires to a battery; the switch makes the touch repeatable.
  3. 220 Ω (red-red-brown) from the switch's other side to a fresh strip. Call that strip P.
  4. Red LED: long leg in strip P, short leg in a strip that jumpers to the − rail.
  5. Green LED, the other way round: short leg in strip P, long leg in a strip that jumpers to the − rail.
  6. Slide the switch on. Red lights, green stays dark.
  7. Now reverse the battery: swap the pack's two wires at the breadboard. Red goes dark, green lights. On the Workbench, tap the battery to flip it.

To turn this into a real tool, replace the battery connection with two long jumper wires (the probe tips) and tape a label next to the red LED: "red = the tip on the resistor side is +."

Where you'll see this

  • Two-lead bicolour LEDs. Some LEDs hide a red and a green chip back to back in one case with just two legs. The colour tells you which way current is flowing: the same trick, factory-made.
  • Polarity testers and "which way is the supply" indicators on bench power supplies and model-railway controllers, where the track polarity sets the train's direction.
  • Protection diodes. Engineers put a diode backwards across sensitive parts so a reversed or kicked-back voltage gets clamped to a diode drop, the same clamp you just saw. You'll meet it again at Level 4, across a motor.

🧠 Your challenge

No single right answer. That's the point.

  • Take the green LED out. Keep only the red one, then reverse the battery. What do you see, and how much voltage is now pushing backwards across the red LED? Why is that fine at 4.5 V but not at 9 V?
  • Make it work on a 9 V battery. Which resistor would keep the lit LED between 8 and 15 mA at 9 V? Show the math, and check whether the backwards LED is still safe.
  • What reads "nothing connected"? With the probe tips touching nothing, both LEDs are dark. With them on a flat battery, both are dark too. Can you think of a way to tell "no battery" from "dead battery" with the parts you own?
  • Swap the red LED for a second green. Now both directions light green. What did you lose, and is the probe still useful for anything?
  • Probe a running circuit. Touch the probe tips across a battery that is also powering a First Light loop. Does that loop's LED get any dimmer while the probe is on? Estimate the extra current the battery has to supply, and decide whether it matters.

For grown-ups: safety notes

  • Batteries only. This probe is sized for a 3×AA pack (4.5 V). Never touch it to a wall socket, a mains adapter's insides, or anything plugged into the wall.
  • Keep the 220 Ω in. Without it, whichever LED conducts sees the whole battery with nothing to limit the current and burns out in a moment.
  • Above 4.5 V, recompute first. On 9 V the 220 Ω lets about 32 mA through, over the 20 mA limit. Use the challenge to pick a bigger resistor before you probe anything bigger than the AA pack.
  • Reversing the pack is safe here because the circuit always has an LED to conduct and a resistor to limit it. That isn't true of every circuit: a buzzer or a chip connected backwards can be damaged, so only swap the wires on this probe, not on your other projects.
  • Small parts stay away from pets and toddlers.

Checked against

Keep building