I like to push the limits of the ATMega328P micro controller used in the Arduino UNO.
I had an idea to build a device that would record audio and then play it back. Something to amuse the grand kids, press the start button, say something, press the stop button and the recorded audio would play back to them.
I wanted to use the ATMEga328P; and yes I know this is not new, and yes there are many devices that do just this, cheaply and accurately. Anyway … the record side works well, the audio output no so. This will discuss only the record side.
My circuit uses :-
UNO
Electret Microphone Amplifier - MAX9814 (SKU: ADA1713I)
MicroSD card breakout board (SKU: ADA254)
The code digitizes audio at 22191Hz and saves it to the SD card as a .wav file. It allows up to 100 different files to be recorded. Replaying the .wav files on a PC produces a good quality representation of what was recorded. I am happy with the way this part works.
I thought I would put this here for others who may be interested in a similar project.
Yes, the UNO can be used to record Audio, accurately and reliably.
I am happy to share the code if anyone asks. It is modification of code from :-
APC magazine - Arduino Masterclass
Project #18 - Digital Audio Recorder v2.0
Darren Yates - 11 April 2014










