Log in to unlock Raspberry Pi 5 for $60 (was $80) with $100+ in eligible purchases.

TOP

DFPlayer - Mini MP3 Player for DIY Arduino / ESP32 Sound Project

$5.90
SKU: DFR0299
Volume Discount
  • $5.80 3+ items
  • $5.70 5+ items
  • $5.40 10+ items
Best-selling compact audio playback module for embedded projects. Supports MP3, WAV, WMA formats from a TF card (up to 32GB). Features a 3W mono amplifier and stereo DAC output. Control via serial UART (Arduino/ESP32)
Eligible for $60 Raspberry Pi 5 Special Add-On Deal
Purchase this product and earn 59 reward points, which are tied to VIP membership program. Learn More >
Don't Miss Top Accessories

Introduction

The DFPlayer Mini is the community's No.1 choice for adding audio to DIY electronics projects. This compact and powerful MP3 player module provides an easy way to play sound with an Arduino. It features a built-in amplifier for direct speaker connection, flexible control via Serial or I/O pins, and supports up to a 32GB TF card for various audio files. Ideal for building a talking robot, a custom music box, an interactive art installation, or adding sound effects to a model railway, the DFPlayer Mini is a reliable, cost-effective solution trusted by tens of thousands of makers, students, and engineers worldwide.


The NO.1 Choice for the Arduino Community

The DFPlayer Mini sound module is one of the most battle-tested and community-supported audio modules available. With a massive ecosystem of tutorials on YouTube, thousands of discussions on Reddit and the Arduino Forum, and countless open-source projects on GitHub, users can find support for nearly any issue. The dedicated Arduino library simplifies complex commands into easy-to-use functions like myDFPlayer.play(1);, saving hours of development time and allowing for a focus on creativity.


Get Sound in Minutes, Not Hours

Projects can be brought to life with sound—fast. The DIY Arduino sound module is supported with all the necessary resources to get started in under 5 minutes. The comprehensive Wiki includes a "GetStarted" example code that works right out of the box. Combined with a clear pinout diagram and best-practice wiring guides (including the crucial 1kΩ resistor!), common pitfalls can be avoided, leading straight to a successful result. No more frustrating "Failed to initialize" errors.


Flexible Control for Any Project

The DFPlayer Mini adapts to project needs with multiple control modes for every skill level:

  • Serial Mode: Allows for full programmatic control with an Arduino, ESP32, or other microcontrollers. Play specific tracks, adjust the volume to 30 different levels, loop folders, and more with simple commands.
  • Standalone (AD Key) Mode: No coding required! Simply connect buttons, a power source, and a speaker to create a standalone soundboard. Perfect for props, toys, and simple interactive displays where a microcontroller is overkill.

  • Built-in Amplifier, Speaker Ready

    Simplify designs and cut costs. The audio module features an integrated mono amplifier capable of directly driving a 3W speaker. This eliminates the need for an external amplifier board, saving precious space and money. Just connect a speaker to the SPK+ and SPK- pins to make some noise. For stereo output, the DAC_R and DAC_L pins can be used to connect to an external amplifier or headphones.


    Compact & Powerful for Seamless Integration

    Measuring just 20mm x 20mm, the DFPlayer Mini player is as small as a postage stamp, making it incredibly easy to embed in space-constrained projects. Despite its tiny footprint, it delivers high-quality audio playback, supporting sampling rates up to 48kHz and common formats like MP3, WAV, and WMA. It’s the perfect blend of size, performance, and reliability for any embedded audio application.

    dfrobot mp3 player application

    DFRobot MP3 Player Application

    Selection Guide

    MP3 Module Selection Guide

    Figure
    image
    image
    image
    SKU
    DFR0299
    DFR0768
    DFR0534
    Storage
    Storage Card Required
    128MB
    8MB
    Sound Channel
    Mono
    Dual-channel
    Mono
    Analog U-disk Support
    No
    Yes
    Yes
    ADKEY Control Support
    Yes
    Yes
    No
    On-board Power Amplifier Support
    Yes
    Yes
    Yes
    Audio Format
    MP3, WAV, WMA
    MP3, WAV, WMA, FLAC, AAC, APE
    MP3, WAV
    Communication
    UART
    UART
    UART
    Operating Voltage
    3.3V/5V
    3.3V/5V
    3.3V/5V
    Dimension
    20*20mm
    23*24.5mm
    22*30mm
    Features
    1. Small size 2. Support IO, serial port and ADKEY control 3. Maximum support 32G of the TF card, suitable for occasions in need of abundant audio files
    1. Stereo dual-channel output 2. Support four controlling modes: Arduino, AT command, on-board buttons, and ADKEY 3. On-board 128MB high-speed storage, perfect for occasions in need of storing small numbers of audio files 4. Support the USB cable to copy music 5. Can be used as a sound card for the PC or Raspberry Pi
    1. DF-Gravity interface, easy to connect 2. On-board 8MB storage 3.Support the USB cable to copy music 4. Suitable for playing sound effects and prompt sounds
    Add to Cart

    Features

    • Supports playback switching at the touch of a button
    • Support up to 32GB TF card driver
    • Support MP3, WAV, WMA audio formats
    • High support for 48KHz sample rate and 24-bit DAC output can be output to provide high-quality audio playback effect.

    Applications

    Interactive Props & Cosplay:

  • Talking Helmets & Weapons: Give a voice to a Star Wars helmet or make a sword that emits sound effects on impact.
  • Animatronics & Talking Figures: Create a talking skull for Halloween or a friendly robot that greets visitors.
  • Custom Escape Room Puzzles: Design puzzles that provide audio clues or sound effects when solved.

  • Smart Home & Custom Gadgets:

  • Custom Doorbell or Entryway Greeter: Have the doorbell play a favorite movie quote or a personalized welcome message.
  • Voice Alarms & Reminders: Build a system that gives verbal reminders, like "Time to take a break!" or a custom fire alarm sound.
  • Interactive Art Installations: Create art that responds to visitors with sound, music, or spoken words.

  • Models & Dioramas:

  • Model Train Soundscapes: Add realistic station announcements, train horns, and ambient sounds to a model railway layout.
  • Diorama Ambiance: Bring a miniature scene to life with background sounds, like jungle noises for a dinosaur diorama or city sounds for an urban model.
  • Scale Model Vehicle Sounds: Add engine start-up sounds, alarms, and horns to RC cars, trucks, or tanks.
  • Specification

    Audio Output

  • Direct 3W Speaker Drive (Mono)
  • Stereo DAC Output (for external amp/headphones)
  • Supported Sample Rates: 8kHz up to 48kHz
  • 24-bit DAC, 90dB Dynamic Range, 85dB SNR
  • File System

  • Supports up to 32GB TF/MicroSD Card (FAT16/FAT32)
  • Supported Formats: MP3, WAV, WMA
  • Up to 100 folders, with 255 tracks per folder
  • Control Modes

  • Serial UART Control (for Arduino, ESP32, etc.)
  • Standalone AD Key Mode (for button control without a MCU)
  • I/O Control Mode
  • Operating Voltage: 3.2V to 5.0V DC
  • Dimensions: 20mm x 20mm
  • Shipping List

  • DFPlayer Mini x1
  • Resource

    AllProjectsBlogTutorialCourseMedia
    Halloween trick or treat automata with Voice Recognition module

    Projects Halloween trick or treat automata with Voice Recognition module

    portrait
    RoniBandini
    Oct 16, 2023
    Arduino UNO Project

    Projects Arduino UNO Project

    portrait
    RiverTrue
    Feb 27, 2023
    How to Choose the Best MP3 Player Module for Your Arduino / DIY Project (2025 Selection Guide)

    Blog How to Choose the Best MP3 Player Module for Your Arduino / DIY Project (2025 Selection Guide)

    DFRobot
    Mar 29, 2021

    Review

    jean marie.MAHOT Aug 25, 2022

    perfect to me, I have been using that ones for years with arduino nano

    SPYROS.PAPAKONSTANTINOU Aug 22, 2022

    Perfect product, fast delivery, Perfect cooperation, I will place orders again

    Geoffrey. Feb 06, 2020

    One of the best player modules around-- low cost, high bandwidth, programmable (serial line) as well as hard switches. Mini SD card reader too! Use the stereo output for best quality. Use the speaker output for mono convenience. Watch power consumption for high volume speaker output.

    DFPlayer - Mini MP3 Player for DIY Arduino / ESP32 Sound Project
    $0.00