Go Down

Topic: ELM Chan's FFT Library for Arduino (Read 8735 times) previous topic - next topic

neurostar

Mar 23, 2011, 11:11 pm Last Edit: Mar 23, 2011, 11:14 pm by neurostar Reason: 1
I'm planning to make my version of "color organ". http://neuroelec.com/2011/03/fft-library-for-arduino/
I tried couple of FFT code for Arduino and found ELM Chan's works best for me. It seems accurate and faster than others.
So I just more less package the library. All credit should go where it belongs.

Original Fixed point FFT library is from ELM Chan, http://elm-chan.org/works/akilcd/report_e.html
A way to port it to the Arduino library and most demo codes are from AMurchick http://arduino.cc/forum/index.php/topic,37751.0.html
Processing app is based on codes from boolscott http://boolscott.wordpress.com/2010/02/04/arduino-processing-analogue-bar-graph-2/

FFT Library and Processing code download : http://code.google.com/p/neuroelec/downloads/list

Code : http://code.google.com/p/neuroelec/source/browse/#svn%2Ftrunk%2Fffft

Here is a demonstration video comparing FFT from Arduino and Ocilloscope

http://www.youtube.com/watch?v=drYWullBWcI


If you have any suggestion, let me know.

loss1234

whenever I run this I keep getting this error

"FFT_ N" was not declared in this scope.

i am running visualizer in the same dir as FFFT.h and FFFT.s but when i run the visualizer, i only get one additional tab
and that is for FFFT.h

any ideas?

thanks


Sounds like a great idea.  I'm just starting out working with the Arduino and am using this FFT library as well. 

For anyone having trouble getting this to compile due to the Assembly file or any other problems, just extract the 'ffft' folder from ffft_Library.zip to <Arduino_Dir>/libraries/.  Run the Arduino IDE and click File -> Examples -> ffft -> Examples -> visualizer.  Either compile or upload to test the files out.

I need some help... how to do for 3 analog sensors from accelerometer.. I mean x, y & Z using FFT. but I need to watch the graph in processing..

Go Up