How to Make Small and Low-Cost Audio Player

Here I have made the one of the world’s smallest audio player and it is working without Arduino or any other microcontroller board.

Karthick Nagarajan
3 min readMay 9, 2022


Banner Image for DFPlayer
The output of my product

Introduction — DFPlayer Mini

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

DFPlayer Mini module is a serial MP3 module that provides the perfect integrated MP3 and WMV hardware decoding. While the software supports the TF card driver, supports FAT16 and FAT32 file systems. Through simple serial commands to specify music playing, as well as how to play music and other functions, without the cumbersome underlying operating, easy to use, stable and reliable, are the most important features of this module.

Specification of DFPlayer

  • Support Mp3 and WMV decoding
  • Support sampling rate of 8KHz, 11.025KHz, 12KHz, 16KHz, 22.05KHz, 24KHz, 32KHz, 44.1KHz, 48KHz
  • 24-bit DAC output, dynamic range support 90dB, SNR supports 85dB
  • Supports FAT16, FAT32 file system, maximum support 32 GB TF card
  • A variety of control modes, serial mode, AD key control mode
  • In the broadcast language spots feature, you can pause the background music being played
  • Built-in 3W amplifier
  • The audio data is sorted by folder; supports up to 100 folders, each folder can be assigned to 255 songs
  • 30 levels volume adjustable, 6 levels EQ adjustable.

How to use DFPlayer in Application?

DFPlayer has awesome features so we can use this module for the following applications.

  • 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.

DFPlayer’s Circuit diagram and PIN options

DFPlayer Mini — karthick Blog
DFPlayer’s PIN diagram

Here is the detailed PIN usage.

DFPlayer Detailed PIN options
DFPlayer Detailed PIN options

Work Mode

DFPlayer has multiple work modes. But I have chosen the best of the two. Let's see what it is.

  • I/O Mode
  • AD Key Mode

I/O Mode

Here comes the most simple way to use this module. I have used the exact same way with one new option. That is the Play/Pause button.

DFPlayer’s I/O Mode


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 and 20 key resistance distribution.

DFPlayer AD KEY Mode
DFPlayer’s AD KEY Mode

Making Video

Here is the Output of my product and check my channel for more new IoT ideas. Also support my channel, Do subscribe, like and share.

Making video for small MP3 Player

This product was created by Karthick Nagarajan. Any questions, please feel free to comment below!

Please don’t hesitate to reach out on Twitter Linkedin YouTube or through Email!



Karthick Nagarajan

Data Scientist | Author of PyTorch