I want to find rpm of bicycle using accelerometer and gyroscope. I am using MPU6050 module. I attached the module to bicycle pedal and drawn the waveforms of the accelerometer and gyroscope values in processing. I applied low pass filter to the signals and drawn waveforms. I found one thing, accelerometer X and Z, gyroscope Y waveforms are like Sine waves. Speed of the pedal is proportional to frequency of the waves. My question is how to measure the frequency of the waveforms? can I use FFT ?
Below link is the image of waveforms.
The frequency of a repetitive signal in Hz is 1/(cycle repeat time) where time is measured in seconds.