Build a MP3 player with DFPlayer and an Arduino

Using the DFPlayer

It is quite easy to build your own MP3 player with an Arduino and a DFPlayer miniDFPlayer module.

You can buy the DFPlayer module on aliexpress or ebay for about 1,5 Euro.

I wanted he player to start playing the music as soon I connected the power on the setup, without pushing any buttons.
For this the DFPlayer has the busy pin. This pin will become HIGH when the player is idle. As soon as the player is playing music the pin will become low.

I used the DFPlayer_Mini_Mp3 control library from github. (see the program code below for the details.)

The code used

The connections

Below the schematic I used for the connections between the arduino and the DFPlayer.
Connecting the DFPlayer mini

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.