Teach Your Kid Electronics

Advanced · Project 10

Reaction Timer Game

Play "Stop the Light". A light races along ten LEDs, and you must press STOP at the exact moment it reaches the green one. Hit it and the buzzer cheers. Built on the LED Chaser.

Build this only with an adult present. Before you start, read our safety notice and disclaimer.

Advanced⏱ About 40 min

🧰 What you need

  • 1×Full-size breadboardThe big brother of the half-size board: twice as long, with room for several chips.
  • 1×4×AA battery holder with wire leadsHolds four AA batteries for 6 volts. Used for the 555 timer chip, which needs a bit more push.
  • 4×AA batteryA regular household battery. Each one gives 1.5 volts.
  • 1×NE555 timer chipOne of the most famous chips ever made: it makes blinks, beeps and timers from a resistor and capacitor.
  • 1×CD4017 decade counterCounts clock pulses and turns on one of its ten outputs at a time, in order. Made for LED chasers.
  • 1×2N3904 transistor (NPN)A tiny electronic switch: a small current into its middle leg (base) controls a bigger current.
  • 1×Active buzzer, 5 VBeeps all by itself when you connect it to a battery. Long leg is +. (A "passive" buzzer only clicks.)
  • 1×Push button (tactile switch)A little button with 4 legs. It connects its two sides only while you press it.
  • 3×10 kΩ resistor — brown, black, orange, goldColors: brown, black, orange, gold.
  • 1×4.7 kΩ resistor — yellow, violet, red, goldColors: yellow, violet, red, gold.
  • 1×10 µF capacitor (can-shaped)A small can-shaped capacitor. The striped leg is −.
  • 10×5 mm LED (any color) — 9 red and 1 greenA tiny light that only lets current flow one way. The long leg is +.
  • 30×Jumper wireA short wire with stiff ends that push into the breadboard.

✨ The finished project

↔ Big board! Scroll sideways to see all of it.

Stop the Light: a reaction game on the LED Chaser. Hold STOP to freeze the light; freeze it on green and the buzzer sounds ++−−++−−aabbccddeeffgghhiijj115510101515202025253030353540404545505055556060 + 10µF NE555 CD4017 2N3904EBC 10 kΩ 10 kΩ 10 kΩ 4.7 kΩ + + + + + + + + + + AAAAAAAA4 × AA = 6.0 V+−
Stop the Light: a reaction game on the LED Chaser. Hold STOP to freeze the light; freeze it on green and the buzzer sounds ++−−++−−aabbccddeeffgghhiijj115510101515202025253030353540404545505055556060 + 10µF NE555 CD4017 2N3904EBC 10 kΩ 10 kΩ 10 kΩ 4.7 kΩ + + + + + + + + + + AAAAAAAA4 × AA = 6.0 V+−
Schematic: Stop the Light: a reaction game on the LED Chaser. Hold STOP to freeze the light; freeze it on green and the buzzer sounds DIS7THR6TRIG2OUT3VCC8RESET4GND1CTRL5NE555U1 + CLK14INH13MR15Q03Q12Q24Q37Q410Q51Q65Q76Q89Q911CO12VDD16VSS8CD4017U2 Q1 + +6.0V +6.0V +6.0V +6.0V STOP STOP STOP STOP 6.0 V 10 kΩ 10 kΩ 10 µF 0 1 2 3 4 5 6 7 8 9 STOP 10 kΩ 4.7 kΩ 2N3904 buzzer
The finished build. This picture is generated from the circuit itself and checked by computer, so every leg is in the right hole.

How fast are your reactions? In this game a light races along a row of ten LEDs, about five steps a second. The last LED is green. Press STOP at the exact moment the light is on green, and the buzzer sounds: you win! Press too early or too late and the light freezes on a red LED instead.

This project puts together pieces from four earlier ones: the LED Chaser (the running light), a pull-down resistor (from Logic Gate Puzzles), a transistor switch and an active buzzer.

How it works

Freezing the light. The CD4017 has a pin called INH (“inhibit”, meaning hold back). While INH is high, the counter ignores its clock completely, so the light stays where it is. In the LED Chaser, INH was wired to − so it always ran. Now a 10 kΩ pull-down holds it low, and the STOP button connects it to +.

The win buzzer is an AND. The buzzer must only sound if STOP is pressed and the light is on green. Two parts make that happen:

  • The buzzer’s + leg is on STOP’s side of the button, so it only gets power while STOP is held.
  • Its − leg goes through a transistor. Q9 (the green LED’s output) feeds the transistor’s base through a 4.7 kΩ resistor, so the transistor only completes the buzzer’s loop while the light is on green.

Both at once: BZZZT! You’ve built AND logic from a button and a transistor. It works just like the button lock in Secret Code Lock.

Build it

Start with a finished LED Chaser, then make these changes:

  1. Speed it up: swap the 22 kΩ resistor for 10 kΩ (same holes). The light now moves about 5 steps a second.

  2. Make the last LED green: swap the LED whose long leg is in j44 for a green one.

  3. Move the rail bridges to the far end: red T+61 → B+61 (bottom red + rail, column 61), black T-62 → B-62 (bottom blue − rail, column 62).

  4. INH to the STOP button: take out the black INH wire. White a17 → a53. STOP button in e53, f53, e55, f55. Red a55 → T+55 (top red + rail, column 55). 10 kΩ pull-down j53 → B-53 (bottom blue − rail, column 53).

  5. The win circuit: 4.7 kΩ resistor b44 (Q9, the green LED’s output) → b49. Transistor, flat side facing you: E d48, B d49, C d50. Black c48 → T-49 (top blue − rail, column 49). Active buzzer: + leg c53, − leg c50.

  6. Power: 4×AA. Watch the light run, and hit STOP when it’s on green! 🟢

The build check stepped the counter to the green LED, pressed STOP, and checked the buzzer sounded and the light stayed frozen through three more clock ticks. Then it checked that stopping on a red LED freezes it without a buzz.

Play!

  1. Watch the light go round a few times to get the rhythm.
  2. Press STOP when you think it’s on green. Hold it to see where you stopped.
  3. Let go, and it races on.
  4. Play first-to-three-wins with a friend.

Not working?

  • STOP doesn’t freeze the light? Check the white INH wire and the pull-down, and that the old black INH wire is gone.
  • The light never moves? INH is stuck high: check the pull-down goes to −.
  • Buzzer never sounds on green? Check the transistor’s legs and the buzzer’s + leg (it must be on STOP’s side).
  • Buzzer sounds on every LED? The 4.7 kΩ resistor must start in Q9’s column.

Try it!