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