Projects / Ideas / Goertzel tone detector

Goertzel tone detector

AdvancedAudio & MusicIdeaReviewed
In short

How do you build a goertzel tone detector?

A microphone listens and a Goertzel calculation tells how strong one chosen pitch is, such as 1 kilohertz, lighting an LED when it hears that tone and ignoring other sounds. It is the small cousin of a full spectrum analyser, and shows how a Nano can find a single note in noise. You need Arduino Nano, MAX4466 microphone module, LED 5 mm red, Resistor 220 Ω, SSD1306 OLED Display, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

Level
Advanced
Time
About 120 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Light an LED when one particular tone is heard.

How to build it

  1. Sample the microphone at a steady rate
  2. Run the Goertzel calculation on a block
  3. Compare the strength with a threshold
  4. Light the LED on a match
  5. Try different tones from a phone

Related projects

Common questions

What parts do I need for the goertzel tone detector?

Arduino Nano, MAX4466 microphone module, LED 5 mm red, Resistor 220 Ω, SSD1306 OLED Display, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

How long does the goertzel tone detector take to build?

About 120 minutes for a advanced maker.