Go Down

Topic: Audio Sampling Rate (Read 925 times) previous topic - next topic

Bob_the_Palace

I note from the Reference that "analogRead()" can only deliver ~10ksps. I have a requirement to sample at 200ksps, which I understand is well within the silicon's capability. Has anybody explored this area?

Grumpy_Mike

#1
Sep 11, 2013, 02:31 pm Last Edit: Sep 11, 2013, 02:35 pm by Grumpy_Mike Reason: 1
Quote
which I understand is well within the silicon's capability.

You sure?
Yes it can go faster but the resolution suffers.

Quote
Has anybody explored this area?

Yes simply googel:-
arduino fast analog read

or start here:-
http://forum.arduino.cc/index.php/topic,6549.0.html

g_u_e_s_t

200kHz is the reccomended fastest ADC clock speed, not the ADC sample rate.  the ADC needs at least 13 clocks to take a sample, so its more like 15ksps.  but, you can go faster with slight bit depth/resolution tradeoffs.  these are all documented here:

http://www.openmusiclabs.com/learning/digital/atmega-adc/
http://www.openmusiclabs.com/learning/digital/atmega-adc/in-depth/

i find the 38ksps rate to be the sweet spot for best audio performance.

Go Up