Teach Your Kid Electronics

Intermediate · Project 10

Light Theremin

Turn the 555 blinker into a musical instrument you play by waving your hand over a light sensor.

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

Intermediate⏱ About 25 min

🧰 What you need

  • 1×Half-size breadboardA board full of little holes with metal clips inside, so you can build circuits without soldering.
  • 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×1 kΩ resistor — brown, black, red, goldColors: brown, black, red, gold.
  • 1×Light sensor (LDR / photoresistor)A resistor that changes with light: lots of resistance in the dark, little in bright light.
  • 1×0.1 µF capacitorA tiny charge bucket. Fills and empties thousands of times a second in a tone circuit.
  • 1×100 Ω resistor — brown, black, brown, goldA small resistor. Colors: brown, black, brown, gold.
  • 1×Passive buzzerA tiny speaker. It needs a fast on-off signal (like from a 555 chip) to make a tone.
  • 9×Jumper wireA short wire with stiff ends that push into the breadboard.

✨ The finished project

A light theremin: NE555 timer with a light sensor sets the pitch of a passive buzzer ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 0.1µF NE555 +passive 1 kΩ 100 Ω AAAAAAAA4 × AA = 6.0 V+−
A light theremin: NE555 timer with a light sensor sets the pitch of a passive buzzer ++−−++−−aabbccddeeffgghhiijj115510101515202025253030 0.1µF NE555 +passive 1 kΩ 100 Ω AAAAAAAA4 × AA = 6.0 V+−
Schematic: A light theremin: NE555 timer with a light sensor sets the pitch of a passive buzzer DIS7THR6TRIG2OUT3VCC8RESET4GND1CTRL5NE555U1 + + +6.0V +6.0V 6.0 V 1 kΩ light sensor 0.1 µF 100 Ω passive buzzer
The finished build. This picture is generated from the circuit itself and checked by computer, so every leg is in the right hole.

🔣 New schematic symbols

This project’s schematic has some symbols you haven’t seen before. Here’s what they mean.

  • Passive buzzer (speaker)

    Drawn like a little loudspeaker cone. Unlike a buzzer it has no beep of its own: it plays whatever note the circuit wiggles it at.

A theremin is a real musical instrument you play without touching it: you wave your hands in the air near it! Ours uses light: shade the sensor with your hand and the pitch (how high or low the note is) drops; move away and it rises. 🎵

Sound is vibration

When the 555 blinked an LED about once a second, you could see each flash. Now imagine it blinking hundreds of times a second into a tiny speaker. The speaker’s disc jumps back and forth so fast that it pushes the air into waves, and your ears hear a tone. More vibrations per second means a higher note.

To make it faster, we use a capacitor 100 times smaller (0.09999999999999999 µF) and a smaller resistor (1 kΩ). Instead of the 47 kΩ resistor, we use a light sensor, so the light decides the pitch:

  • 🔦 Bright flashlight: the sensor drops to about 1 kΩ, which gives about 4800 vibrations a second. High!
  • 💡 Room light: about 20 kΩ, which gives about 351 a second.
  • ✋ Hand covering it: 200 kΩ or more, which gives about 36 a second: low clicks.

Build it

It’s the 555 Blinker layout with three swaps. If you still have it built, just change the parts marked ✱.

  1. The chip: across the gap, notch on the left: pins 1–4 in f10–f13, pins 8–5 in e10–e13.

  2. Bridges, power, reset: red T+21 → B+21, black T-22 → B-22; red a10 → T+9; black j10 → B-10; red j13 → B+13.

  3. ✱ 1 kΩ resistor: stand it between a11 and T+11 (top red + rail, column 11).

  4. ✱ Light sensor: c11 to c7, where the 47 kΩ resistor was.

  5. Timing wires: blue b12 → b7, blue d7 → g7, blue i11 → i7.

  6. ✱ 0.09999999999999999 µF capacitor: a7 to T-7 (top blue − rail, column 7). If yours has a stripe (a polarized one), the striped leg goes to the − rail.

  7. ✱ Speaker: 100 Ω resistor i12 (OUT, pin 3) → j16; passive buzzer + leg g16, other leg g19; black wire j19 → B-19 (bottom blue − rail, column 19).

  8. Power: 4×AA red into T+1, black into T-2. Now wave your hand over the sensor and play! 🎶

Not working?

  • Silence? Check pin 3 → 100 Ω → buzzer → − rail. Make sure the light sensor is in the right two holes and the chip’s notch is on the left.
  • Only slow clicking? Your room may be dark. Shine a flashlight near the sensor.
  • Too loud? Use a bigger resistor (220 Ω or 470 Ω) in place of the 100 Ω.

Try it!