Adding quality audio to an electronic project is surprisingly difficult. Here is a shield for Arduino that solves this problem. It can play up to 22KHz, 12bit uncompressed audio files of any length. It's low cost and has an onboard DAC, filter and op-amp for high quality output.
Audio files are read off of an SD/MMC cardVolume can be controlled with the onboard thumbwheel potentiometer.
The shield comes with an Arduino library for easy use; simply drag uncompressed wave files onto the SD card and plug it in. Then use the library to play audio when buttons are pressed, or when a sensor goes off, or when serial data is received, etc. Audio is played asynchronously as an interrupt, so the Arduino can perform tasks while the audio is playing.
Features
- Can play any uncompressed 22KHz, 16bit, mono Wave (.wav) files of any size.
- Music, spoken word, or audio effects.
- Output is mono, into L and R channels, standard 3.5mm headphone jack and a connection for a speaker that is switched on when the headphones are unplugged
- Files are read off of a FAT16/FAT32-formatted SD/MMC card
- Included library and examples makes playing audio easy
Wave shield user manual and arduino tutorial