Tuesday, 18 February 2014

audio - Maximum sample rate of Arduino Duemilanove?


G'day all!



I have an Arduino Duemilanove hanging around spare at the moment and thought I might try a few audio interfacing projects. I'm just wondering what sort of sampling frequency I can achieve using a single analog input and applying some simple algorithms on chip, then reporting using a few digital outputs tied to LEDs.


I'd like to sample in at ~44.1 kHz if possible.


For reference the first thing I want to try is a simple guitar tuner.



Answer



I don't think you can sample that fast at full resolution. The ATMega168 can only sample at 15 ksps at its full resolution.


Having said that, you should be able to get a suitable sample rate to get a functioning guitar tuner. 44.1 kHz is most likely a fair bit faster than you will need given that the fundamental of the high E string an a guitar is around 330 Hz.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...