Hi , I would today to share my experiment with MP3 Shield from ELECHOUSE , this Shield have Inboard Keys which is can control the Audio file very easy , Support FAT16 And FAT32 , And can read MP3 , WAV Format from SD Card ,  U disk , and from Build in SPI Flash memory , that Give you an ability to save your Audio file on the Board and play it later, so no need to External Storage device .

as I mentioned before , this shield Has Inboard Keys to control the Audio file , and You can Control the Audio File by Programming from Arduino , You can program your Audio when it's begin , Switch between file and Control the Volume Up and Down very easy .

I want to Show you How we can Play Audio from SD Card and U Disk . 

The component that we need is : 

1)  Arduino Board .
2) Arduino USB-SD MP3 Shield From ELECHOUSE You can buy it from  here  .
3) SD Card With adapter.Or  USB Flash .
4) Speakers Or Headset .

Step 1: Arduino MP3 Shield

The Arduino MP3 Shield Have many Advantages such like   Control by Serial UART interface or keys onboard , Have Build in Audio Amplifier 3W , and has On board 64MBit SPI-FLASH, which you can Save Your Audio file , and play it later .

This Shield can controlled from Arduino By Hardware Serial "Rx  D0 , Tx  D1 " and  By Software Serial " RX  D7  , Tx  D8" So at first You can  Use Hardware serial , easy to use but you must remove the shield when you want to Upload new sketch .

You can change The Serial interface pin by solder tools , Just remove the solder from Upper 2 pads and solder a small bridge between the 2 pads below to active Software serial Pin . look to the image attached to see these 3 pads .  

You can also Bridge amplifier control bridge so you can turn on  or Off by solder Amplifier Control pin , so This pin attached to arduino D9 Pin , I didn't use it in this experiment 

You can also Solder Pin header on This shield "Look at the Picture" So You can connect Speakers to this shield 

<p>Thanks so much for all the info!<br><br>I am trying to make a super over engineered alarm clock.<br><br>Following your instructions I can get everything working just fine.<br><br>But I would like to make a certain .mp3 play at specific times...<br>Is there a command I can use to make a specific .mp3 to start playing in a if statement???<br><br>Cheers</p>
<p>hello so can I have the ardunio board call up a spesfic file from the sd and play it as part of my fuctions as in set it up so I have 3 tracks 3 buttons each button plays a spesfic track on the sd ?</p>
<p>hi man! good tutorial.</p><p>Can this shield play several audio files simultaneously?</p>
<p>hi, excellent tutorial. i have one doubt, have any possible to transform this shield in a hot swappable device? i have one, but when i unplug pen drive, the same stop playing, and when i reconnct, the shield doesnt start playing again, and then i have to reboot. have any thing that can i make to change this? thanks </p>
<p>Hello and thank you for your project, it is<br>clearer than the official manual! I want to put in a box the arduino , so is it possible to<br>add switches, through the other Arduino pins (through the shield), to control<br>with a code, play pause next volume functions? (in software serial mode).</p><p>Thank you for your answer.</p><p>Best.</p>
<p>Hi! I am new to arduino, I have a pretty good background in electronic in general, I've programmed automat in ladder and such, and decided to give a try to arduino. I was wondering if it is possible to connect this screen on top of the mp3 shiel, on top of the arduino: <a href="https://www.adafruit.com/products/1651" rel="nofollow"> https://www.adafruit.com/products/1651</a></p><p>So this way I could use a touch interface to tell the arduino board to control the volume and such from the mp3 shield. Could anyone confirm me that this is possible please?</p>
<p>Great tutorial</p><p>Is it possible to run through folders?</p>
<p>Hi. Can i know whether the bluetooth HC-05 module still can be attached to the arduino and mp3 shield? I want to use android phone to control and i saw mp3 shield has consumed the Tx and Rx pins. Sorry i am a beginner to this.</p>
great tutorial...is it possible to play specific musics automaticly for different sensors? im working on a project that for hot tempreture or cold tempreture i wanna have different set of musics played randomly..how would that work? thank you
<p>Curious if you found an answer. I am looking for something similar!</p>
<p>Sure, just program it into your .ino file. Only pins 7 and 8 are used, so put your sensors into other pins.</p>
<p>to play it in certain time like an alarm ?!</p><p>need help please</p>
<p>Very useful tutorial - the official instructions were crazy.</p><p>Still having trouble triggering specific tracks, but play pause next etc work.</p><p>Any idea about specific tracks - does this project do it (seems to)?</p>
<p>Arduino mega, I cannot run, could you help !!!</p><p>error code :<br>avrdude: stk500v2_getsync(): communicating with timeout programmer</p>
<p>try to press your reset button while uploading the code, also you could try reflashing the arduino bootloader. I got that error once. For me it was caused by overcurrent, i was trying to drive 1amp from the usb without an external psu which could cause that error. It can mean many things (your chip could be fried).</p>
Thank you for such a great tutorial! I am new to this and just installed my mp3 shield on my arduino UNO. I can't seem to get it to work. The user guide seems to suggest that an iSound.mp3 file needs to be the last file on the SD card. Is this correct? If so what text should be in the file? <br> <br>Do you have any other tutorials? Thanks again for your help.
You are welcome , you will find the answer in the step # 2 , just put your audio file and rename it as prefix from 0000 , 0001,0002,0003 and so on , the shield deal with the audio number , check it and let me Know your results :)
sir, thank you for this instructable.,i just want to ask if it is possible to use piezo sensors as triggers to play different audio files?thanks!
Yes , you can do it .
can an arduino mega handle multiple mp3 shields?, using jumpers....
Sure, Just replace Software serial library in The code By hardware Serial in the Mega and you can use up to 3 shields !

About This Instructable




Bio: Maker, PCB designer , electronics instructor from Jordan just one word ! I Adore electronics follow me on FB https://www.facebook.com/Mohannad-Rawashdeh-Raw-774983565988641/
More by Mohannad Rawashdeh:TTP224 Digital Touch Sensor Applications Using Arduino RF 315MHz/433MHz Wireless and Arduino...again! Motor Driver BTS7960 43A 
Add instructable to: