fitting FFT into Arduino

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

fitting FFT into Arduino

Post by didier »

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.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: fitting FFT into Arduino

Post by adafruit_support_bill »

I saw this one a few months ago - (but no source code):

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

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 :wink:

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: fitting FFT into Arduino

Post by adafruit »

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

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

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 ? :mrgreen: )

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: fitting FFT into Arduino

Post by adafruit »

please do, we are really really interested in it

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

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 :wink:

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

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 :wink:
Kind regards

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: fitting FFT into Arduino

Post by adafruit »

we just wanted to blink some LEDs :D dont worry about it. its a future future project. it just happened we were looking for it.

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

well... :|

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: fitting FFT into Arduino

Post by adafruit »

we were going to make a spectrum display on a graphic LCD too. umnm. its not that exciting :(

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

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 :wink:

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

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?

User avatar
didier
 
Posts: 115
Joined: Mon Nov 17, 2008 6:14 am

Re: fitting FFT into Arduino

Post by didier »

Honk honk! Could someone help me gathering links related to grphic LCDs?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: fitting FFT into Arduino

Post by adafruit »

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!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”