Module – DFPlayer Mini – MP3 Speler



Informatie (ENG):

The DFPlayer Mini MP3 Player For Arduino 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 Arduino UNO or any other with RX/TX capabilities.


  • supported sampling rates (kHz): 8/11.025/12/16/22.05/24/32/44.1/48
  • 24 -bit DAC output, support for dynamic range 90dB , SNR support 85dB
  • fully supports FAT16 , FAT32 file system, maximum support 32G of the TF card, support 32G of U disk, 64M bytes NORFLASH
  • a variety of control modes, I/O control mode, serial mode, AD button control mode
  • advertising sound waiting function, the music can be suspended. when advertising is over in the music continue to play
  • audio data sorted by folder, supports up to 100 folders, every folder can hold up to 255 songs
  • 30 level adjustable volume, 6 -level EQ adjustable


  • Car navigation voice broadcast;
  • Road transport inspectors, toll stations voice prompts;
  • Railway station, bus safety inspection voice prompts;
  • Electricity, communications, financial business hall voice prompts;
  • Vehicle into and out of the channel verify that the voice prompts;
  • The public security border control channel voice prompts;
  • Multi-channel voice alarm or equipment operating guide voice;
  • The electric tourist car safe driving voice notices;
  • Electromechanical equipment failure alarm;
  • Fire alarm voice prompts;
  • The automatic broadcast equipment, regular broadcast.

Seriele Communicatie

De module werkt via asynchrone seriële communicatie

  • Standaard: 9600 bps
  • Data bits: 1
  • Checkout: none
  • Flow Control: none

Instructie opbouw:

Seriële commando’s:


We use the AD module keys, instead of the traditional method of matrix keyboard connection, it is to take advantage of increasingly powerful MCU AD functionality, Our module default configuration 2 AD port, 20 key resistance distribution.

I/O Mode

Here comes the most simple way to use this module.

Versie 1 (DFPlayer mini)

YX5200-24SS chip: MP3 decoding serial chip
The YX5200 is an MP3 chip that provides a serial port, which is a perfect integrated hard decoding of MP3 and WMV. Simultaneously The software supports TF card driver and supports FAT16 and FAT32 file systems. Complete the broadcast with a simple serial command Put the specified music, and how to play music, etc., without the cumbersome underlying operation, easy to use, stable and reliable It is the biggest feature of this product. In addition, the chip is also a deeply customized product, designed for USB card readers, USB sound A low-cost solution developed in the field of cards and fixed voice playback

8002 chip: Versterker

The 8002 is an audio power amplifier primarily designed for demanding applications in low-power portable systems. It is capable of delivering 3 watts of continuous average power to an 3Ω BTL load with less than 10% distortion (THD) from a 5VDC power supply. the 8002 does not require output coupling capacitors or bootstrap capacitors, and therefore is ideally suited for mobile phone and other low voltage applications where minimal power consumption is a primary requirement.the 8002 features a low-power consumption shutdown mode.the 8002 contains advanced pop & click circuitry which eliminates noise which would otherwise occur during turn-on and turn-off transitions. The 8002 is unity-gain stable and can be configured by external gain-setting resistors.

Versie 2 (MP3-TF-16P)

FN5201-24SS chip: MP3 decoding serial chip (kloon?)

8002 chip: Versterker

Andere Versies (DFPlayer mini kloon)

AA1828CJ5M2U chip: MP3 decoding

AA1752CJ2R3R chip: MP3 decoding

onbekende chip: Versterker


SD Kaart

NOTE: The order you copy the mp3 into micro SD card will affect the order mp3 played , which means play(1) function will play the first mp3 copied into micro SD card.

For Mac User

NOTE: If you are using Mac OS X to copy the mp3, the file system will automatically add hidden files like: “._0001.mp3” for index, which this module will handle as valid mp3 files. It is really annoying. So you can run following command in terminal to eliminate those files.

Please replace the <SDVolumeName> to the volume name of your SD card.


Sluit de module aan volgens onderstaand overzicht:


Wat heb je nodig?

werkt met DFRobotDFPlayerMini bibliotheek.

werkt met DFPlayer_Mini_Mp3 bibliotheek.

DFRobotDFPlayerMini bibliotheek

Deze code laat om de 3 seconden een nummer spelen.

DFPlayer_Mini_Mp3 bibliotheek

Uitgang voor versterker

Het is ook mogelijk de “versterker” uitgangen te gebruiken, het schema:

Storingen en brommen voorkomen

Het kan veel voorkomen dat er ongewenste storingen of brommen te horen zijn, mogelijke oplossingen:

  • Gebruik voor zowel RX en TX een 10K weerstand (seriële communicatie is 3.3V)
  • Ontkoppel USB aansluiting (met een computer (via arduino))
  • Voed de module extern met tenminste 5v 100mA
  • Zorg voor een goede aarding (GND)


Arduino Library

Installatie van Arduino IDE libraries: Arduino info

DFRobotDFPlayerMini bibliotheek

This example shows the all the function of library for DFPlayer.

Created 2016-12-07 By Angelo qiao

GNU Lesser General Public License. See for details. All above must be included in any redistribution

Notice and Trouble shooting

This code is tested on Arduino Uno, Leonardo, Mega boards.

Download @

DFPlayer-Mini-mp3 bibliotheek

DFPlayer_Mini_Mp3, This library provides a quite complete function for DFPlayer mini mp3 module.

Download @