DFP Mini Player

DFP Player setup

The DFPlayer Mini MP3 Player is a small and low price MP3 module with an simplified output directly to the speaker. The module can be used as a stand alone module with attached battery, speaker and push buttons or used in combination with an Adruino or any other with RX/TX capabilities.



Simple Arduino connection


Notes and things

  • DFPlayer Mini read both MP3 and WAV files.
  • All audio files must be placed under /mp3 folder.
  • Audio file must be named 0001.mp3, 0002.mp3…..0255.mp3 (4 letters not 2 or 3 letters)
  • Audio file names can have any characters after 4 digits, such as 0001_Bruno_Mars_Count_On Me.mp3
  • Tested few under 1 second WAV files and they did not work
  • If one of the audio file is removed from SD cared, DFPlayer still can find it and play it! Weird! In the end, I formatted the SD card to make DFPlayer to play the music I specified.
  • Delay(seconds); You have to specify number of seconds delay for the audio file to play completely or the next audio file might be started before current audio is over!
  • The alternate to including a delay(xx) command is to connect the busy line to a spare Arduino digital input and wait for it to go high before trying to play the next sound. Note the busy line seems to ‘open collector’ so needs a pullup resistor to work or you can use the internal ones on the Arduino
  • mp3_play (74); means play audio file 0074.mp3
  • Make sure the you connect tx on the DFF player to rx on the Arduino and visa-versa  !


Useful links

https://www.dfrobot.com/blog-277.html               (is the basis of most of my notes)

http://www.rhydolabz.com/wiki/?p=17661            (this is where I go my DFP players from

https://www.gilderfluke.com/index.php?main_page=westminster  Westminster clock chimes

Detailed Info

Instruction Description


Serial Control Command


Serial Query Command