Description: This Arduino project displays the approximate frequency of the loudest sound detected by a sound detection module. For this project, the analog output from the sound module detector sends the analog audio signal detected to A0 of the Arduino Uno. The analog signal is sampled and quantized (digitized). A Fast Fourier Transform (FFT) is then performed on the digitized data. The FFT converts the digital data from the approximate discrete-time domain result. The maximum frequency of the approximate discrete-time domain result is then determined and displayed via the Arduino IDE Serial Monitor.
- Arduino Uno
- DEVMO High Sensitivity Sound Detection Module for Arduino
- Solderless Breadboard
- Computer with Arduino IDE installed
- USB-A to B Cable
- Jumper Wires
Fritzing Diagram: Below is a Fritzing Diagram of the circuit constructed for this project.
Obtain the arduinoFFT Library: To obtain the arduinoFFT library, open your Arduino IDE.
- Go to Sketch>Include Library>Manage Libraries…(See Figure 2)
- Type fft in the search box and install arduinoFFT (See Figure 3)
Obtain the Code (aka Sketch): You may get the code by going to this page, Arduino Frequency Detector Code. Do not worry, it is free.