Easy vs1011e MP3 Test Code

newbie123's picture
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0



This project includes all of the code you will need to test a vs1011e mp3 decoder. The included hex file contains the MP3 file of a woman saying "hi" repeatedly every 2 seconds.

I am using a Sparkfun vs1011e breakout board with an atmega8515L running on the internal 8MHz clock. The atmega is running at 3V so there is no need for a logic level conversion circuit.

The circuit does not need external memory because the MP3 file is stored in the flash memory of the atmega8515 making it easy to breadboard and test.

You can hook up a set of headphones or a computer speaker with a built in amplifier to hear the sound. (See the vs1011e datasheet.)

The vs1011e datasheet is here:

The Sparkfun board I am using is here:

I also included a small utility to convert MP3 files (or any bin file) to asm format as in an include file for avrasm. Please read the readthis.txt file for all details.