Introduction: ARDUINO WAV BOOMBOX.......

About: I am a 14 years old student. I have great passion against electronics and stuff.

HElloo guyz,,,,,,, Ever wanted to make your own semi portable boom box to play your mp3 files from your sd card via arduino......... Well you can actually play songs directly from your mobile , but what if u want more loudness and control over your music...... That is where this Arduino boom box comes into play, it has volume control and the volume and the quality of the sound is just outstanding just by adding an simple very low cost amplifier,,, which i will show you in this instructable also............

THIS IS GOING TO BE A PRETTY LONG INSTRUCTABLE SO LET ME GIVE YOU SOME JUMP AHEAD LINKS TO JUMP ONTO THE PAGE WHERE U NEED.......

1) PART LIST.. https://www.instructables.com/editInstructable/edit...

2) TOOLS LIST .. https://www.instructables.com/editInstructable/edit...

3) SOFTWARE REQUIREMENTS .. https://www.instructables.com/editInstructable/edit...

4) PREPARE YOUR microSDcard reader.. https://www.instructables.com/editInstructable/edit...

5) PREPARE TOUR Msd CARD .. https://www.instructables.com/editInstructable/edit...

6) PREPARE YOUR SPEAKER .. https://www.instructables.com/editInstructable/edit...

7) TEST PHASE - 1 .. https://www.instructables.com/editInstructable/edit...

8) NEXT STAGES .. https://www.instructables.com/editInstructable/edit...

9) AMPLITYING CIRCUIT .. https://www.instructables.com/editInstructable/edit...

10) TEST PHASE - 2 .. https://www.instructables.com/editInstructable/edit...

11) BUILD IT .. https://www.instructables.com/editInstructable/edit...

Step 1: PART LIST

1) Arduino Uno or any arduino which can read a sd card.

2) Arduino uno prototype board.

3) Micro SD card to SD card adapter.

4) MicroSD card.

5) Sd card reader

6) 8 ohms speaker 1w or 0.5 w. ( for better performance)

7) 2n3904 NPN transistor (any NPN transistor would do)

8) 220Ohms resistor.

9) 10 K Potentiometer.

10) 2 * Clear blue leds (or any color u would prefer,, but Blue = COOL).

11) 2* 9volt batteries ( one for powering the arduino and one more for the 2 leds).

12) 9 volt dc plug.

13) Jumper wires....

Step 2: TOOLS LIST

1) Soldering iron

2) 7* header pins

3) Solder flux

4) Solder led

5) Double sided tape

6) A third hand,,,,,,,,,,,,,,,, yup,,,,,,,,,,,,,,,,,, a third hand( Not your fathers hand,,, you could burn his if u do so)

Step 3: SOFTWARE REQUIREMENTS

1) Arduino I.D.E,,, you can get the latest version here.. http://www.arduino.cc/en/Main/Software

2) SimpleSD audio library ,,,, you can get the compatible version here.. http://hackerspace-ffm.de/wiki/index.php?title=Dat...

3) Soft DIV mp3 to WAV file converter.. Get it here, http://www.softdivshareware.com/mp3converter.html

NOTE: COPY THE EXTRACTED LIBRARY FILES TO C:\ PROGRAM FILES(PROGRAM FILES*86 on windows8)..\ARDUINO\LIBRARIES.

THEN CLOSE YOUR ARDUINO IDE IF OPEN AND OPEN IT AGAIN...

Step 4: OK NOW ONCE YOU HAVE ALL THESE THINGS ON YOUR TABEL.... IT's Time to First PREP Your Micro Sdcard Adapter..

So guys the time has come finally to heat your mega soldering iron and get some flux too...

1) Break away 7pins from your 40 pins header strip and line it on your microSdcard adapter so that the 1st pin( the one placed above all of the other pin) and the last pin are left over.......

2) Remember you should solder only 7 pins leaving the first and the last pin....

3) Apply flux to your headers and hold it with a helping hand and get soldering......

4) Solder it and let it cool for 5 seconds..

5) Now your microsdcard adapter to read any microSD card and play musicaa....!!!!

Step 5: PREPARE YOUR MICRO SD Card

1) The most important thing to do before anything else is to format your SD Card.

2) Then open Soft DIV converter and change the convert file format to WAV.

3) Then add your song and select it.

4) Navigate to settings and go to WAV setting.

5) Change the Attributes to 16,000Khz, 8 bit.

6) Choose MONO.

7) Convert the file and copy it to your sd card.

Step 6: PREPARE YOUR SPEAKER.

1) Break four header and solder your speakers leads to the outer two pins of the 4 headers..

2) Take a ribbon wire and strip two leads and expand them.

3) Connect a led's positve to the positive lead and another led's negative to the wire's negative lead.

4) Now solder a wire from led a's negative to led b's positive.....

5) Now stick the two leds in the right holes using superglue.

6) adjust the wires and bring them to the deck of your speakers.

7) NOW your speakers and light system are on fire....

Step 7: TEST YOUR CIRCUIT BEFORE PROCEEDING.

1) Connect your sd card as per given on the circuit diagram..

2) Open up your arduino ide.

3) Navigate to EXAMPLES- SimpleSD Audio - MostFunctionDemo.

4) Upload the code and wait.

5) open serial monitor.

NOTE: CONNECT THE 10th PIN TO 4th PIN AND NOT TO THE 10TH PIN....

Step 8: You Can Proceed to the Next Stages If U Get This Output

Well if u dont.....

CHECK IT...

CONNECTIONS

THE WIRE GOING TO 10th PIN ON THE CIRCUIT DIAGRAM SHOULD BE GIVE TO THE 4TH PIN INSTEAD OF THE 10th...

CHECK IF U ALEAST HAVE THE microSD card inserted... :p

Step 9: NOW THE SIMPLE AMPLIFYING CIRCUIT...

ps.... IF U WANT TO CONTROL THE VOLUME::

1) ADD a 10k POt between the signal input and the base of the transistor...

NOW CONNECT YOUR SPEAKERS AND TEST IF THE CIRCUIT WORKS..(circuit above)

NOTE: THE BOOM BOX WILL BE CONTROLLED BY THE SERIAL MONITOR ONLY>. I WILL CREATE A NEW INSTRUCTABLE WHERE IT WILL HAVE BUTTONS..TO CONTROL... YOU CAN IMPROVE THE SOUND QUALITY BY ADDING A 10uf Cap across the input signal and the resistor... or potentiometer..

Step 10: THE FINALE TEST.. !

1) Upload the program.

2) Open serial Monitor.

3) Select "NEWLINE".

4) INPUT THE FILE NAME ON THE SEND COMMAND BOX...

5) send p for play.

6) send s for stop.

7) send h for pause.

8) send d to safely remove sd card.

9) send f to sellect new file.

10) send v to vie status.

Step 11: AND IF EVERYTHING WORKS OUT,,, USE YOUR OWN CREATIVITY AND SET IT UP THE WAY U WANT...

I used double sided tape and stuck my arduino on the top of the speaker...

I even made a small pcb on a piece of perfboard and stuck it to the side of the speaker using superglue.

Now PUT your brain in creative mode and start working....Comment for any improvements or doubts and thanks for watching.............................................................. :