Question
I don't need the whole thing solved, just need an idea of where I would start with each step such as building the circuit and
I don't need the whole thing solved, just need an idea of where I would start with each step such as building the circuit and coding in MATLAB.
Build an FFT with the Arduino Nano which will sample audio signals from a source and display the detected musical note on 8 different LEDs, ignoring sharps and flats. The range of notes will be middle C (261.626 Hz) to high C (523.251 Hz). Any unamplified instrument may be used, a cell phone can be used to play a test sequence of musical notes, or the included LM386 can be connected to the Arduino to provide testing tones.
Requirements
- Each of the 8 notes, reasonably in tune (+/- 5%) , must turn on only one LED. Computation can be performed on the Arduino or in MATLAB, but the LEDs must be controlled by the Arduino.
- The audio source must be more than 10 feet away from the audio amplifier microphone supplied in the 341 kit.
- Audio amplifier must have a signal with more than 1 volt of amplitude when stimulated with an audio source.
- Audio amplifier must have less than 0.2 volts of amplitude when not stimulated with an audio source.
- More than 20 samples must be acquired for the detected period.
- At least 3 periods of acquired audio data must be graphed in MATLAB. This is not required to be done during a live session. CSV data can be recorded and then post processed for this requirement.
- Compute the SNR (Signal to Noise Ratio) of the sampled audio signal in MATLAB. The SNR must be at least 20.
- Plot the spectrum of Power vs Frequency in MATLAB. Plot at least 3 harmonics of the signal on the frequency graph.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started