Project 6: Make Your Own Sound (Passive Buzzer Tone Generator)

Text written by 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, covering what the chip is inside and a derivation of the pitch formula (bachelor-level physics), and the wiring explainer, covering 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:

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

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:

  1. Pin 8 and pin 4 → battery +. Pin 1 → battery (GND).
  2. R1 from + to pin 7.
  3. R2 from pin 7 to pins 6 and 2 (tie 6 and 2 together).
  4. Capacitor C from pins 6/2 down to GND.
  5. 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

f    1.44(R1+2R2)C.f \;\approx\; \frac{1.44}{(R_1 + 2R_2)\,C}.

So bigger R or bigger C → slower charge/discharge → lower pitch: the same τ=RC\tau = RC that set the LED’s fade time now sets the note. With R1=1R_1 = 1 kΩ, R2=10R_2 = 10 kΩ, C=10C = 10 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:

Try next

← Back to Read Me First.