Project 9 — The Speedometer You Can Hear

Text written by Claude Fable 5 (claude-fable-5).

Project 9 — The Speedometer You Can Hear

The one idea: a spinning wheel pokes the invisible eye many times a second — each poke is a click, fast clicks blur into a tone, and the pitch is the speed. You will hear the motor speed up and slow down as a rising and falling note.

Project 6 taught “fast on/off = a tone, faster = higher.” There the 555 chip did the switching. Today the motor does it, by spinning a slotted disc through the invisible eye from Project 7 — and suddenly you own a laboratory instrument: this is exactly how a bike computer, a printer, and a computer mouse wheel measure rotation. The dignified name is rotary encoder. Yours is cardboard.

What you need

Build it — stage 1: the chopper disc

  1. Cut a cardboard disc, ~6–8 cm across. Find the centre honestly (trace something round, fold-crease twice — the creases cross at the centre).
  2. Cut 8 slots around the rim: each ~5 mm wide and ~10 mm deep, evenly spaced. Even-ish is fine; the ear won’t audit. (A marker-drawn “pizza with 8 bites taken out of the crust” is the right mental picture for the child.)
  3. Push the disc onto the motor shaft through a snug centre hole (or a blob of hot glue / a taped-on bottle cap as a hub). It should spin without wobbling into things.
  4. Mount motor and optointerrupter (blu-tack is fine) so the rim runs through the slot: cardboard blocks the beam, each cut-out slot lets it flash through.

Build it — stage 2: the ear

This is literally Project 7 stage 1, unchanged — beam blocked = transistor on — except the buzzer is now passive, so instead of one long BZZZT you get a click at every transition:

  1. + → 220 Ω → opto LED → GND.
  2. + → 10 kΩ → phototransistor collector; emitter → GND. The junction is the signal node.
  3. Node → 10 kΩ → NPN base; emitter → GND; passive buzzer from + to the NPN collector. Add the LED + 470 Ω in parallel with the buzzer.

Turn the disc slowly by hand first: click… click… click… — one per slot, and the LED blinks along. The child should own this moment: the eye sees the beam appear and vanish, and each change is one click.

Now power the motor. The clicks vanish — into a tone. That tone is the speedometer.

Play with it (this is the actual lesson)

Measure it — the party trick for the parent

The pitch doesn’t just indicate the speed; it equals it, via

f  =  NRPM60,f \;=\; N \cdot \frac{\text{RPM}}{60},

with N=8N = 8 slots. Open any guitar-tuner or spectrum app on your phone, hold it near the buzzer, and read ff. Then:

RPM  =  60f8  =  7.5f.\text{RPM} \;=\; \frac{60 f}{8} \;=\; 7.5\,f.

A little motor humming at f=400f = 400 Hz is doing 3 000 RPM — fifty revolutions every second, measured with cardboard, a phone, and one transistor. Log pitch vs. battery count, or pitch vs. finger pressure, and you’re doing real experimental physics.

What to say to the child

“Remember the chip that tapped the buzzer super fast to make a note? Today the motor is the tapper. Every slot in your wheel lets the secret light wink at the eye — wink, click, wink, click. Spin it slow with your finger: you can hear every single wink. Now let the motor spin it… hear that? The clicks got so fast they melted into a note! Higher note = spinning faster. Press your finger on it, gently… hear the note fall? You just heard how fast something is spinning. Cars know their speed exactly this way — a little wheel with slots, winking at an eye.”

For you — the physics

Try it with the Arduino — a real tachometer

Feed the signal node (before the NPN) into pin 2 — common GND with the sensor supply — and count pulses:

const byte SLOTS = 8;
volatile unsigned long pulses = 0;
void tick() { pulses++; }

void setup() {
  pinMode(2, INPUT);
  attachInterrupt(digitalPinToInterrupt(2), tick, FALLING);
  Serial.begin(9600);
}

void loop() {
  pulses = 0;
  delay(500);                        // count for half a second
  Serial.println(pulses * 120UL / SLOTS);   // RPM
}

Numbers update twice a second; print to a 7-segment/LCD if you have one wired. Cross-check the Arduino’s RPM against the tuner-app method — two independent instruments agreeing is the most scientist-feeling moment in this series.

Try next

← Back to Read Me First.