Electronic circuits · no code

Chip-Free Alternating Police Light

A red LED and a blue one that alternate quickly, like a patrol-car beacon, built with just two transistors and two capacitors. It is the same multivibrator as the blinker, but with smaller capacitors.

  • LevelBeginner
  • Time25 min
  • Power6 V DC (4 AA batteries)
  • CategoryLights & LEDs

Bill of materials

Everything you need to build it, with the reference you will see on the schematic.

Bill of materials
Qty Part Ref.
1 270 Ω resistor (red-violet-brown) R1
1 red LED D1
1 220 Ω resistor (red-red-brown) R2
1 blue LED D2
1 18 kΩ resistor (brown-grey-orange) R3
1 22 kΩ resistor (red-red-orange) R4
2 BC547 NPN transistor Q1, Q2
2 10 µF electrolytic capacitor C3, C4
1 Holder with 4 AA batteries (6 V) BT1
1 Breadboard (400 tie-points or more)
12 Jumper wires

Missing parts? The kits recommended by Impeca Tech include almost all of them. See the kits

Schematic & wiring

On the left, the circuit diagram; on the right, the same circuit built on a breadboard. Both connect exactly the same things.

Circuit diagram of “Chip-Free Alternating Police Light”
Circuit diagram
Breadboard layout of “Chip-Free Alternating Police Light”
Breadboard layout

Wire it step by step

  1. Place the components
    • 270 Ω resistor R1 (bands: red, violet, brown, gold): one leg in 3f and the other in 6f (either way round).
    • red LED D1: the long leg (+, anode) in 6g and the short leg (−, cathode, flat side) in 7g.
    • 220 Ω resistor R2 (bands: red, red, brown, gold): one leg in 8f and the other in 11f (either way round).
    • blue LED D2: the long leg (+, anode) in 11g and the short leg (−, cathode, flat side) in 12g.
    • 18 kΩ resistor R3 (bands: brown, grey, orange, gold): one leg in 13f and the other in 16f (either way round).
    • 22 kΩ resistor R4 (bands: red, red, orange, gold): one leg in 26f and the other in 22f (either way round).
    • BC547 transistor Q1 with the flat face (the one with the text) towards you, left to right: collector (C) in 18f, base (B) in 19f, emitter (E) in 20f.
    • BC547 transistor Q2 with the flat face (the one with the text) towards you, left to right: collector (C) in 23h, base (B) in 24h, emitter (E) in 25h.
    • 10 µF electrolytic capacitor C3: the leg marked with the stripe and the − sign in 22g and the other leg (+) in 21g. Reversed, it can be damaged.
    • 10 µF electrolytic capacitor C4: the leg marked with the stripe and the − sign in 16g and the other leg (+) in 17g. Reversed, it can be damaged.
  2. Add the jumper wires
    • Red wire: from 3j to the + (red) rail.
    • Red wire: from 8j to the + (red) rail.
    • Red wire: from 13j to the + (red) rail.
    • Red wire: from 26j to the + (red) rail.
    • Orange wire: from 18j to 7j.
    • Turquoise wire: from 18i to 21j.
    • Purple wire: from 12j to 17j.
    • Pink wire: from 12i to 23j.
    • Lime green wire: from 16j to 19j.
    • Black wire: from 20j to the − (blue) rail.
    • Black wire: from 25j to the − (blue) rail.
    • Sky blue wire: from 22j to 24j.
  3. Connect the battery
    • Connect the holder with 4 AA batteries (6 V): the red lead to the + (red) rail and the black one to the − (blue) rail. Do this last, once everything else is in place.
  4. Test the circuit
    • With the 4 AA pack connected, the red and the blue should alternate very fast, about 5 times a second, with neither one staying on. In a dark room the effect is very striking.

How to read the holes: the letter is the row and the number is the column of the breadboard (for example 7f). The red (+) and blue (−) rails are the two long lines along the edge.

How does it work?

  1. 1One transistor conducts and lights its LED
  2. 2Its capacitor switches the other transistor off
  3. 3The capacitor charges quickly (10 µF)
  4. 4The LEDs alternate about 5 times a second

It works exactly like the two-transistor blinker: each collector is tied to the other transistor’s base by a capacitor, and when one conducts it switches the other off until its capacitor charges. The difference is the speed: the capacitors are 10 µF instead of 47 µF and the base resistors are 18 kΩ and 22 kΩ, so the change happens about every 0.1 s and a full cycle lasts only about 0.2 s, the pace of a patrol-car light. The red LED has R1 of 270 Ω and the blue one R2 of 220 Ω, because the blue LED needs more voltage to light, and with these resistors both carry between 13 and 15 mA. With bigger capacitors the flashing gets slower.

Testing & troubleshooting

What you should see

Running on its own (hands off)
Time for one full cycle (red + blue)≈ 0.21 V
Current of the lit red LED≈ 15 mA
Current of the lit blue LED≈ 13 mA

Approximate values, calculated with typical parts. With real parts they can vary by 10 % or more.

If something does not work

Both LEDs look lit at the same time?

It is an illusion caused by the speed: the eye cannot clearly tell 5 changes a second apart. To see it better, swap C3 and C4 for 47 µF and the pace becomes about 5 times slower.

It will not start or one LED stays on?

Check the polarity of C3 and C4 (long leg + towards the collector) and that the base resistors are 18 kΩ and 22 kΩ (brown, grey, orange and red, red, orange). A very different value stops the back-and-forth.

Want to automate this circuit with code?

Learn how to program sensors and custom schedules in our e-book “Arduino from Scratch”.