DFPlayer - Mini MP3 Player

SKU: DFR0299

The article delves into the DFPlayer Mini MP3 Player Module, a small and affordable MP3 module that offers a simplified output directly to a speaker. It can function as a standalone module with an attached battery, speaker, and push buttons, or be used with microcontrollers like Arduino, ESP32, and Raspberry Pi. The DFPlayer Mini is ideal for projects requiring embedded audio, thanks to its compatibility with devices that use UART communication. This makes it a versatile choice for hobbyists and developers looking to integrate audio into their electronic projects.

Overview of DFPlayer - Mini MP3 Player (UART, Mono Channel, Supports 32GB SD card)

Downloadable Resources

  • Docs
  • Tech Specs
  • Projects
  • Specification

    Parameter Details
    Sampling rates (kHz) 8/11.025/12/16/22.05/24/32/44.1/48
    DAC output 24-bit, support for dynamic range 90dB, SNR support 85dB
    File system support Fully supports FAT16, FAT32 file system, maximum support 32G of the TF card, support 32G of U disk, 64M bytes NORFLASH
    Control modes A variety of control modes, I/O control mode, serial mode, AD button control mode
    Special function Advertising sound waiting function, the music can be suspended when advertising is over in the music continue to play
    Audio data management Audio data sorted by folder, supports up to 100 folders, every folder can hold up to 255 songs
    Volume and EQ 30 level adjustable volume, 6-level EQ adjustable
    Working voltage DC3.2~5V
    Size 20mm*20mm
    Weight 20g

    Pinout

    DFR0299 PIN MAP

    DFR0299 PIN MAP

    Dimensions

    Work Mode

    1. Serial Mode

    Support for asynchronous serial communication mode via PC serial sending commands
    Communication Standard:9600 bps
    Data bits :1
    Checkout :none
    Flow Control :none

    • Instruction Description

    DFR0299 instructiao

    • Serial Control Cmd

    DFR0188 control cmd

    • Serial Query Cmd

    DFR0299 query cmd

    2. AD KEY 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, 20 key resistance distribution.

    Get AD Button from DFRobot Store or DFRobot Distributor.

    • Refer diagram
    DFR0299 adkey_control

    3. I/O Mode

    Here comes the most simple way to use this module.

    • Refer diagram
    DFR0299 speaker

    note: short time press means pre/next,and long time press means vol- ,vol +

    FAQ

    • What should I check if there is no sound or playback issues?

      Check power supply (5V recommended) and speaker wiring.

      Ensure volume is not set to 0.

      Verify TF card file naming and playback order.

      Confirm amplifier and DAC connections are correct.

    • Why is serial communication unstable or noisy, and how can Arduino control issues be resolved?

      Add a 1kΩ resistor between Arduino TX and DFPlayer RX for signal conditioning.

      DFPlayer Mini operates at ~3.3V while many MCUs use 5V; the resistor helps with level compatibility and reduces noise.

    • What TF card size is supported, and can I hot-plug the card?

      Supports up to 32GB, formatted as FAT16 or FAT32.

      Hot-plugging is not recommended; may cause malfunctions or file corruption.

      Ensure proper formatting, capacity, supply voltage, and card contact for reliable operation.

    • Can DFPlayer Mini drive speakers directly and be controlled by buttons?

      SPK1/SPK2 can drive speakers under 3W directly. DAC outputs can be connected to an amplifier or headphones.

      Supports IO mode and AD key mode for play, next, previous, etc.

      Can also be controlled via UART by Arduino, ESP32, etc.

    Explore More Related Questions >

    Was this article helpful?

    TOP