This nifty little MP3 player can take your projects up a notch by using sound or music as a form of output.
Don’t be scared by these pins! This is a very easy-to-use MP3 module. Even if you don’t have any coding skills, you can use it to play audio in seconds. It’s very suitable for makers to incorporate sounds or music into their project.
You will need an external device hooked up to the 3.5mm audio jack to hear the programmed sounds such as a speaker or headphones.
Before you start using it, here are some simple rules you need to follow, otherwise you might spend a long time debugging to no avail.
- It supports FAT/FAT 32 file system, SD card memory max. 16Gb.
- Audio sample rate supported: 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48 KHZ
Note: Higher sample rates may also work, but are not 100% supported.
- 3. Audio files must be stored in the following structure:
e.g. 001youcanputwhateveryouwant.mp3 or
And they MUST be in a folder called 01
- Supported audio file format: MP3, WAV.
How to use it:
Connection to Arduino
D0 - D8 (any digital port is OK)
By keeping LOW one of the module’s A0-A9 pins and the rest of the pins HIGH, the MP3 module will automatically play the LOW pin’s track. The A1 pin assigned to 001.mp2. A2 to 002.mp3… Just as simple as that! In this way, you can implement up to 9 tracks!