Has anyone tried to fit an FFT into Aduino?
I am investigating the possibility of adding a frequency analyser probe to my arduino based data logger. Very helpful for diagnosing defective pipes, valves and taps.
fitting FFT into Arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: fitting FFT into Arduino
I saw this one a few months ago - (but no source code):
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
Thanks arduwino! It looks like the frequency spectrup is reversed (low frequency on the right)...
Any way, I found what I needed, and it is even simpler than the VB.NET code I had to write for that. Pending publication of a PlainFFT libray on my blog
Any way, I found what I needed, and it is even simpler than the VB.NET code I had to write for that. Pending publication of a PlainFFT libray on my blog
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: fitting FFT into Arduino
we were just looking into this so you're in luck
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1262129475
see also elmchan's FFT
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1262129475
see also elmchan's FFT
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
Thanks Limor,
I knew about this post. the Goertzel algorithm is very interesting, but I really wanted to get a spectrum representation. I am quite happy with my early code which is quick and compact. I will now refine it with some windowing and release it soon.
I will then probably try a graphic LCD, and add some specific spectrum analysis routines (peak picking, spectrum comparison, etc.)
in a separate library (PlainDSP ? )
I knew about this post. the Goertzel algorithm is very interesting, but I really wanted to get a spectrum representation. I am quite happy with my early code which is quick and compact. I will now refine it with some windowing and release it soon.
I will then probably try a graphic LCD, and add some specific spectrum analysis routines (peak picking, spectrum comparison, etc.)
in a separate library (PlainDSP ? )
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: fitting FFT into Arduino
please do, we are really really interested in it
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
FFT topic started! http://didier.longueville.free.fr/arduinoos/?p=1022
The first application will consist in a tone decoder (my youngest daughter will be able to fine tune her guitar now!)
Specifications are:
High speed signal sampling (Pending, not an issue at all)
Windowing (Done)
FFT (Done)
Converting complex to real (Done)
Peak picking (Done, simplified version from my Panorama tool box)
Peak apex interpolation (Done)
And again with the least number of extra components
The first application will consist in a tone decoder (my youngest daughter will be able to fine tune her guitar now!)
Specifications are:
High speed signal sampling (Pending, not an issue at all)
Windowing (Done)
FFT (Done)
Converting complex to real (Done)
Peak picking (Done, simplified version from my Panorama tool box)
Peak apex interpolation (Done)
And again with the least number of extra components
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
By the way...
What are you interested in precisely? My pesonnal project is ready now, and I did prepare half a dozen posts which are in the pipe, ready for continuous publication. I would be glad to contribute to your projects as long as I know a little bit more about them
Kind regards
What are you interested in precisely? My pesonnal project is ready now, and I did prepare half a dozen posts which are in the pipe, ready for continuous publication. I would be glad to contribute to your projects as long as I know a little bit more about them
Kind regards
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: fitting FFT into Arduino
we just wanted to blink some LEDs dont worry about it. its a future future project. it just happened we were looking for it.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: fitting FFT into Arduino
we were going to make a spectrum display on a graphic LCD too. umnm. its not that exciting
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
I see ! I just ordered a bunch of components including an LCD graphic display... Any hint/ideas/recommandations related to this type of displayshall be welcomed
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
The libray shall be issued on publication of the last post on this subject by the end of the week. Next will start an other subject related to repeat acquisitions, so as to say scanning an adc port for wave capture. And next should come a subject on displaying 2D signals and spectra on a graphic LCD. Who did work on that?
- didier
- Posts: 115
- Joined: Mon Nov 17, 2008 6:14 am
Re: fitting FFT into Arduino
Honk honk! Could someone help me gathering links related to grphic LCDs?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: fitting FFT into Arduino
we have two in our shop. we rather like the serial one but it takes a lot of ram. the KS0108 one is very popular!
Please be positive and constructive with your questions and comments.