Pages: [1]   Go Down
Author Topic: ELM Chan's FFT Library for Arduino  (Read 7347 times)
0 Members and 1 Guest are viewing this topic.
Texas, USA
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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




If you have any suggestion, let me know.
« Last Edit: March 23, 2011, 05:14:19 pm by neurostar » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

 
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Veracruz, México
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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..
Logged

Pages: [1]   Go Up
Jump to: