Arduino MP3 Alarm Clock
![2015-08-22 10.38.03.jpg](/proxy/?url=https://content.instructables.com/FDK/101O/ILMNF96P/FDK101OILMNF96P.jpg&filename=2015-08-22 10.38.03.jpg)
A while ago, I stumbled over a component called DFPlayer. It's a tiny component that allows to play mp3 from an micro SD card (for less that 10€!).
http://www.dfrobot.com/wiki/index.php/DFPlayer_Min...
Since I was sick of using my smartphone as an alarm clock just to have music to wake me, I decided to build an alarm clock with it.
Required Components
![56e2fd1d67400c52e400126f.jpeg](/proxy/?url=https://content.instructables.com/FBJ/IVPI/ILMNFAPZ/FBJIVPIILMNFAPZ.jpg&filename=56e2fd1d67400c52e400126f.jpeg)
- 1x DFPlayer (7,80 Euro)
- 1x Arduino UNI (20 Euro)
- 1x LCD Display (20x4, ~10 Euro)
- 4x 10k Resistors
- 2x 1k Resistors
- 1x 10k Poti
- 1x Rotary Encoder (1,50 Euro)
- 3x Push Buttons
- 1x Visaton FRS 8 Speaker (10 Euro)
- Some cables for wiring and circuit board(s)
Additionally you may want an adjusting knob for the rotary encoder, a frame for the display and a case. My father made an oak case for me which looks pretty nice.
Arduino Setup
- Connect the Arduino via USB to your PC.
- Make sure that you have the Arduino IDE installed.
- Download the .ino the attached .ino file and the additional 3x zip files
The Arduino IDE provides a wizard where can select the zip file to include a new library.(Sketch -> Include Libraries ...): Install all 3x libraries using this wizard
The .ino file should compile now and you can upload it to your arduino.
Wire Components
![layout.png](/proxy/?url=https://content.instructables.com/FTM/GW8J/ILMNF96T/FTMGW8JILMNF96T.png&filename=layout.png)
Before soldering everything together, I recommend using a breadboard to prototype everything.
I created a fritzing image to help with that. You should check the correct wiring of the DFPlayer by using the provided link. You can find a description of the DFPlayer's pins there, but assuming the 5V+ pin is in the upper left corner, the wiring should match as shown on the picture.
Build Everything Into the Case
![2015-08-08 11.48.46.jpg](/proxy/?url=https://content.instructables.com/F5J/G9I2/ILMNF8MK/F5JG9I2ILMNF8MK.jpg&filename=2015-08-08 11.48.46.jpg)
![2015-08-08 12.01.07.jpg](/proxy/?url=https://content.instructables.com/FWJ/A8L0/ILMNF8MM/FWJA8L0ILMNF8MM.jpg&filename=2015-08-08 12.01.07.jpg)
![2015-08-08 12.29.36.jpg](/proxy/?url=https://content.instructables.com/FA9/8GHT/ILMNF8MQ/FA98GHTILMNF8MQ.jpg&filename=2015-08-08 12.29.36.jpg)
![2015-08-08 14.27.02.jpg](/proxy/?url=https://content.instructables.com/FLZ/3JRW/ILMNF8NJ/FLZ3JRWILMNF8NJ.jpg&filename=2015-08-08 14.27.02.jpg)
![2015-08-08 15.04.54.jpg](/proxy/?url=https://content.instructables.com/F6M/QFGD/ILMNF8TD/F6MQFGDILMNF8TD.jpg&filename=2015-08-08 15.04.54.jpg)
![2015-08-14 14.33.37.jpg](/proxy/?url=https://content.instructables.com/F98/Z3Q1/ILMNF8VX/F98Z3Q1ILMNF8VX.jpg&filename=2015-08-14 14.33.37.jpg)
![2015-08-14 14.33.42.jpg](/proxy/?url=https://content.instructables.com/F2K/7CLN/ILMNF8XU/F2K7CLNILMNF8XU.jpg&filename=2015-08-14 14.33.42.jpg)
![2015-08-21 16.09.09.jpg](/proxy/?url=https://content.instructables.com/FYJ/KP59/ILMNF8YV/FYJKP59ILMNF8YV.jpg&filename=2015-08-21 16.09.09.jpg)
![2015-08-21 16.17.18.jpg](/proxy/?url=https://content.instructables.com/F45/W4M0/ILMNF911/F45W4M0ILMNF911.jpg&filename=2015-08-21 16.17.18.jpg)
![2015-08-21 16.47.58.jpg](/proxy/?url=https://content.instructables.com/FYU/PSQ0/ILMNF933/FYUPSQ0ILMNF933.jpg&filename=2015-08-21 16.47.58.jpg)
![2015-08-21 16.48.16.jpg](/proxy/?url=https://content.instructables.com/F0S/TAY7/ILMNF94V/F0STAY7ILMNF94V.jpg&filename=2015-08-21 16.48.16.jpg)
The step varies depending on what case you have chosen to use. I've added some pictures here to show the steps I've done to wire everything into my oak case. I decided to build smaller circuits on smaller circuit boards to have checkpoints where I can verify that everything is still working.