Thanks for your answer, @Harald Kapp. That problem is solved, now we'are thinking about how to calculate the frequency having this output sine wave. Do you have any idea?
The output wave: https://www.dropbox.com/s/9ce297vr7b77d19/out.png?dl=0
Moderators note : embeded reduced image
Hi there!
I'm building a frequency meter using as input a sine wave between 0.05V-0.55V (from a peak detector) and a frequency range between 5Khz-10Khz. I tried to change the sampling rate (I need at least 20Khz) to 76Khz (setting 16 prescaler from ADCSRA register), but the resulting data from...