Pages: [1]   Go Down
Author Topic: Audio Sampling Rate  (Read 849 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 631
Posts: 34493
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: September 11, 2013, 07:35:47 am by Grumpy_Mike » Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 97
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: