Hi all,
I do not want to post my code because it is not important for now.
I wan to use Tennsy 4.0 and ADXL1005 (eval board) to measure mm/s.
I will read samples from pin A0 to buffer of size 16384. (every reading every 50 micros)
I will use alpha low and alpha hight to have filter bandpass 10-1000Hz.
I will use Arduino FFT library and process the buffer with Hanning window.
Then I will calculate m/s2 for every frequency and then total m/s2
BUT - arduino FFT library calculate magnitude - no amplitude - and the result is not ok.
How to calculate amplitude?
Any suggestion for this case?
Thak you!
Michal
I do not want to post my code because it is not important for now.
I wan to use Tennsy 4.0 and ADXL1005 (eval board) to measure mm/s.
I will read samples from pin A0 to buffer of size 16384. (every reading every 50 micros)
I will use alpha low and alpha hight to have filter bandpass 10-1000Hz.
I will use Arduino FFT library and process the buffer with Hanning window.
Then I will calculate m/s2 for every frequency and then total m/s2
BUT - arduino FFT library calculate magnitude - no amplitude - and the result is not ok.
How to calculate amplitude?
Any suggestion for this case?
Thak you!
Michal