Part 1: DF Player Mini – a mini cheap mp3 player
I am fascinated how easy it is to build an mp3 player using a DF Player Mini. DF Player mini is a cheap mp3 player.

MATERIALS:
1. DF Player mini
2. Breadboard
3. Battery / power supply
4. Speaker
5. A couple of jumper wires
6. A micro SD card with some mp3 files loaded.
HARDWARE INSTRUCTION:
1. Insert the micro SD card to the DF player mini.
2. Place the DF player mini to the breadboard.
3. Connect power supply +5V to VCC pin (pin 1, please refer to below picture)
4. Connect power supply ground to GND pin (pin 7).
5. Connect the speaker – pin to SPK_1 (pin 6) and speaker + pin to SPK_2 pins (pin 8).
6. Connect a jumper wire to GND pin (pin 10)
BASIC OPERATION:
So basically, IO_1 and IO_2 is used as follows:
1. short press IO_1: play previous
2. long press IO_1: volume down
3. short press IO_2: play next
4. long press IO_2: volume up
SCHEMATIC DIAGRAM:

VIDEO DEMONSTRATION:
CALL TO ACTION:
If you have any concern regarding this lesson, be sure to write your message in the comment section.
You might also like to support me on my journey on Youtube by Subscribing. Click this link to SUBSCRIBE to TechToTinker Youtube channel.
May you have a blessed day.
Thank you,
George Bantique | tech.to.tinker@gmail.com
Hi, I have a question concerning this first tutorial.
I have build the circuit as follows:
VCC to 3,3 V
GND on pin 7 to GND
SPK1 and SPK2 to the speaker (speaker has its own power supply).
Then I attached pin 11 (IO2) to a NC of a relay.
This relay is an ESP01-relay module, which is programmable.
The relay itself is attached to GND and 5V.
The program is written that on a certain signal the relay goes high or low. My thought is that when the NC port = 0V, IO2 is 0V and thus the next song will be played. But that is not what is happening. If I detach the GND line from the breadboard and I touch IO2 for a short period of time, the next song is played. But then why doesn't it play when I use NC for half a second (make it low and after half a second high again). Do you have any suggestion for me what to do?
Or do you know a solution.
I understand that I can use buttons, but my purpose is that when the door opens, the song will be played. Thank you very much for your help.
Yvonne
Hi @yvonne, is your grounds connected on a common ground (all grounds should be tied up)? Also, try to check your relay if it actually changing its value.
Hello George,
Thank you for your reply.
I have checked what you suggested. The grounds are connected and the relay is changing its value. It seems to me that on pin 11 there is a delay. So you have to wait and it only works when you connect the pin to pin 10 or 7. Or you must do it with programming NodeMCU, but this also is not working for me as expected. The nice thing about this mp3 player is that it has an amplifier. I hope you have a great idea. But really thank you for your comment. Kind regards, Yvonne