Project 6 — Make Your Own Sound (Passive Buzzer Tone Generator)
Text written by Claude Opus 4.8 (claude-opus-4-8).
Project 6 — Make Your Own Sound (Passive Buzzer Tone Generator)
The one idea: a passive buzzer can’t make a sound by itself — it needs to be pushed back and forth really fast. We’ll build a little machine that does the pushing, and a knob to change how fast.
Two companion explainers for the parent, worth reading before build day: the NE555 explainer — what the chip is inside and a derivation of the pitch formula (bachelor-level physics) — and the wiring explainer — breadboard anatomy, finding pin 1, reading resistor/capacitor markings, and a column-by-column build of this exact circuit (no prerequisites). Neither is required to run the project; both make it go smoother.
Active vs. passive — why this project exists
The doorbell in Project 2 used an active buzzer: it has its own oscillator inside, so you give it steady DC and it sings.
A passive buzzer (or a bare piezo disc) has no oscillator inside. Give it steady DC and you get a single click — the disc flexes once and stops. To make a continuous tone you have to flip the voltage on and off hundreds or thousands of times a second. That’s what we’ll build.
How to tell which you have: touch a passive buzzer straight across the 4.5 V battery — you’ll hear a faint tick and then silence. An active buzzer would hold a steady tone. If yours just ticks, you’ve got a passive one, and this is the project for it.
Warm-up (no new parts) — be the oscillator yourself
Before the chip does it, let the child be the oscillator:
- Wire the passive buzzer in a loop with the battery and tap one clip on and off quickly. Each tap is a click. Tap faster and faster — the clicks start to blur toward a buzz.
- Even better, drag a wire across the teeth of a metal comb or the thread of a screw in the circuit — each tooth makes and breaks contact, and you hear a rough buzzing tone. The faster you scrape, the higher the pitch.
This is the whole concept in their hands: fast on/off = a tone, and faster = higher. Human hands top out around a few taps a second, though — which is why we need the chip.
What you need
- 3×AA battery holder (4.5 V)
- The passive buzzer / piezo disc
- An NE555 timer chip (cheap; you’ll likely need to buy this)
- A capacitor, 10 nF to 100 nF (you probably have one)
- Two resistors — about 1 kΩ and 10 kΩ
- Optional but magical: a 10 kΩ potentiometer (a “knob”) in place of one resistor, to slide the pitch up and down
- Breadboard + jumper wires
Build it — the 555 astable oscillator
The 555 in “astable” mode flips its output on and off all by itself. (First time on a breadboard, or unsure which pin is pin 1? The wiring explainer walks this exact circuit column-by-column.) Wiring (pin numbers are the 555’s standard pinout):
+4.5V ──┬──────────────┬──────── pin 8 (V+) ┐
│ │ pin 4 (reset)┘ (both to +4.5V)
[R1] │
│ │
├──────────────┤ pins 7 (discharge) ── R1 to +, R2 down to 6/2
[R2] │
│ │
├──── pins 6 & 2 (threshold + trigger, tied together)
│
[C] ── from pins 6/2 down to GND
│
GND ────┴──────────────────────── pin 1 (GND)
pin 3 (output) ──► [passive buzzer] ──► GND
In words:
- Pin 8 and pin 4 → battery +. Pin 1 → battery − (GND).
- R1 from + to pin 7.
- R2 from pin 7 to pins 6 and 2 (tie 6 and 2 together).
- Capacitor C from pins 6/2 down to GND.
- Pin 3 (output) → one leg of the passive buzzer → other leg to GND.
Power it up and it sings a steady tone — the 555 is switching pin 3 on and off thousands of times a second, driving the buzzer for you.
Add the pitch knob
Replace R2 with the 10 kΩ potentiometer (use the wiper and one end). Now turning the knob changes the pitch — a slide whistle / siren the child controls. Six-year-olds will play with this for a long time.
What to say to the child
“Remember when you tapped the wire to make clicks? This buzzer needs someone to tap it thousands of times every second — way too fast for us. So this little black chip is a tireless tapper: it switches the electricity on-off-on-off super fast, and that makes a real tone. And this knob? It changes how fast it taps — turn it and the sound goes higher and lower. You’re playing an instrument you built!”
For you — the physics
This is the payoff of Project 4’s capacitor: the pitch is the RC time constant, now audible. (The condensed version follows; the full derivation from the chip’s internals is in the NE555 explainer.)
The 555 charges C through (R1 + R2) and discharges it through R2, swinging the capacitor voltage between ⅓ and ⅔ of the supply. Two internal comparators flip the output each time C crosses those thresholds. The oscillation frequency is
So bigger R or bigger C → slower charge/discharge → lower pitch — the same that set the LED’s fade time now sets the note. With kΩ, kΩ, nF you get roughly 6–7 kHz; bump C to 100 nF and you drop about a decade to a few hundred Hz. Turning the knob (R2) sweeps continuously between.
Worth surfacing if the moment allows:
- Why it sounds buzzy, not flute-pure: the 555 output is a square wave, which is the fundamental plus a stack of odd harmonics — rich and reedy rather than a clean sine.
- Duty cycle: because charge goes through R1+R2 but discharge through R2 alone, the on/off times aren’t equal. Making R1 ≪ R2 gets it close to a square, symmetric wave.
Try next
- Optical theremin: swap R2 for a light-dependent resistor (LDR) — wave a hand over it and the pitch follows the shadow. (Needs an LDR.)
- Two-tone siren: a second slow 555 (or just a big-RC version) nudging the first one’s control voltage (pin 5) gives a wee-woo siren.
- Play a tune: pre-pick a few resistor values that hit recognisable notes and let the child swap them to “play” three- or four-note songs.
- Gate the buzz-wire game: feed this tone generator into Project 5 so an accidental touch triggers a real tone instead of a click.
← Back to Read Me First.