March 13, 2014

Playing .wav files with an Arduino and minimal hardware

Creating sounds more complex than piezo-generated beeps and tunes will often require external shields, kits or complex MP3-decoder shields. However if your needs are simple in that you just want to play short sound effects or audio clips, a method documented by Husham Samir will be of interest.

By using an inexpensive SD card module, simple circuitry and the Arduino TMRpcm library, mono 16 kHz .wav files can easily be played. This could be used for more detail alerts or adding features to toys and games. The basic system is demonstrated in the following video:

As you can see and hear, the system works quite well. For more details including the required code and example schematic, visit Husham's Instructable page. And for more, we're on facebookGoogle+, and twitter - so follow us for news and product updates as well.

If you're looking for an Arduino Uno-compatible board for various projects, choose what tens of thousands of others have done and use our Freetronics Eleven - the Arduino-Uno compatible with low-profile USB socket, onboard prototyping space and easy to view LEDs: 

Leave a comment

Comments have to be approved before showing up.