I guess that is why the authors of the report you first quoted chose to use Matlab for the analysis of the results which were collected from the accelerometer by the Arduino.
sossio89:
Could you clarify the concepts that are expressed in the video?
It's an example of the FFT capabilities of the Teensy3.1/SGTL5000 audio chip combination. As the Teensy is a lot faster than an UNO it can supposedly handle up to 512 bins with 43Hz step per bin so you could get a lot finer detail.
If I use a sample rate of 9000 hz and an FFT size of 512 bins. This means a signal from 0 to 4500 hz can be analyzed. Each FFT result bin will represent about 17 hz of frequencies (calculated by taking sample rate divided by FFT size).
If I use a sample rate of 9000 hz and an FFT size of 512 bins. This means a signal from 0 to 4500 hz can be analyzed. Each FFT result bin will represent about 17 hz of frequencies (calculated by taking sample rate divided by FFT size).
It's right?
No
The number of bins used in the calculation has to be real data not the combined real and imaginary.
You need two samples to recognise a frequency as at a sample rate of 9000 Hz the highest frequency you can detect is 4500Hz.
The Arduino Due and Zero as well as the Teensy are capable of doing this.
Can i tell to Arduino (DUE or Zero)" found this frequencies and if their level is above a limit call me!"?
Yes.
I would sample a buffer full of data and then run a band pass filter through it, one for each frequency you want to detect. The time is not important here, you could probably get a pass of all the frequencies about once every two seconds. A four pole recursive band pass filter should do it.
There is no need for an FFT.
@Grumpy_Mike: The filter page seemed interesting, but it does not work for me. I get this message in attempting to "design" a Hilbert Transform filter:
Bootleg
The page you have just come from is a bootleg copy of Tony Fisher's mkfilter page. It is out of date, unauthorized, and does not work. The real page is at:
Well, the afterlife, that's all superstition anyways, like Stevie Wonder sings "When you believe in things that you don't understand, Then you suffer, Superstition ain't the way.
Or as Mitsubishi advertised "Technically, Anything’s Possible".
Or as Nissan used to advertise "Oh, it's you Bob!"
Or my favorite, found on a meaning of names card in a Christian book shop (or similar) next to a children's clothing store we stopped in one time, and which I never let my wife forget, "Robert: Winner over all". Wish I'd managed to hang on to that one!