Datasheet
Make sure you have a good quality SD card, some cheap SD cards won't work, causing
confusion! Especially 'non-brand' knockoffs.
Simple Audio Player Sketch
Connect the Arduino to your computer with a USB cable and plug your headphones into the
headphone jack. Select File->Examples->Adafruit_VS1053_Codec->player_simple
to load the example code.
You should hear your MP3 files in the headphones.
You can also run File->Examples->Adafruit_VS1053_Codec->player_interrupts.
This example demonstrates playing files in the background using interrupts. This allows you
to do other things in your sketch while the music plays!
With both examples, you can change the file names in the code to play different files - or
even extend the code to search the SD card for files to play.
For the Micro:
Frank Cohen has submitted a wiring diagram for the FilePlayer example on a Micro. See his
code posted here as well: http://votsh.files.wordpress.com/2014/02/vs1053-arduino-micro-
connections.pdf
© Adafruit Industries
https://learn.adafruit.com/adafruit-vs1053-mp3-aac-ogg-midi-wav-
play-and-record-codec-tutorial
Page 14 of 32