DFRobot Original DFPlayer MP3 Mini Player for Arduino, ESP32 or Any Microcontrollers
مرجع داخلي:
KIT.MP3.M87
Product Description
The DFRobot DFPlayer Mini (DFR0299) is a compact MP3 audio playback module designed to add sound and music functionality to Arduino, ESP32, and other microcontroller-based projects. It supports playback of MP3, WAV, and WMA audio formats directly from a TF (MicroSD) card with a capacity of up to 32GB.
The module features a built-in 3W mono audio amplifier, allowing a speaker to be connected directly without requiring an external amplifier. It also provides stereo DAC outputs for connecting to an external amplifier or audio system.
The DFPlayer Mini supports multiple control methods, including UART serial communication, I/O control, and standalone AD Key mode. This allows it to operate either with a microcontroller or independently using buttons, making it suitable for a wide range of sound-related DIY electronics projects.
With its compact 20 × 20 mm design, adjustable volume, and flexible playback controls, the DFPlayer Mini is an ideal solution for talking robots, voice prompts, interactive toys, music players, alarms, and other embedded audio applications.
Specifications
| Parameter | Specification |
|---|---|
| Brand | DFRobot |
| Model | DFPlayer Mini |
| SKU | DFR0299 |
| Audio Formats | MP3, WAV, WMA |
| Storage Support | TF / MicroSD Card |
| Maximum TF Card Capacity | 32GB |
| Supported File Systems | FAT16 / FAT32 |
| Maximum Folder Count | 100 folders |
| Maximum Tracks per Folder | 255 tracks |
| Audio Output | Mono speaker output / Stereo DAC output |
| Built-in Amplifier | 3W mono amplifier |
| DAC Resolution | 24-bit |
| Dynamic Range | 90 dB |
| Signal-to-Noise Ratio (SNR) | 85 dB |
| Supported Sampling Rates | 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48 kHz |
| Control Interfaces | UART Serial / I/O / AD Key |
| Adjustable Volume | 30 levels |
| Equalizer | 6 levels |
| Operating Voltage | 3.2–5.0 V DC |
| Dimensions | 20 × 20 mm |
Technical Information
1. Audio Playback and File Compatibility
The DFPlayer Mini supports three common audio formats:
- MP3
- WAV
- WMA
Audio files are stored on a TF (MicroSD) card with a maximum supported capacity of 32GB. The module supports FAT16 and FAT32 file systems and can organize audio files into up to 100 folders, with a maximum of 255 tracks per folder.
2. Built-in 3W Audio Amplifier
The module includes an integrated mono amplifier capable of directly driving a speaker rated up to 3W. This eliminates the need for a separate amplifier module in many small audio projects.
For stereo audio output, the module provides separate DAC_L and DAC_R outputs that can be connected to an external amplifier or compatible audio equipment.
3. Multiple Control Modes
The DFPlayer Mini provides three main control methods:
- UART Serial Mode: Allows a microcontroller such as Arduino or ESP32 to select tracks, adjust volume, control playback, and manage audio files through serial commands.
- AD Key Mode: Supports standalone operation using push buttons and analog key inputs without requiring a microcontroller.
- I/O Control Mode: Provides input/output-based playback control for simple applications.
4. Adjustable Volume and Equalizer
The module supports 30 volume levels and a 6-level equalizer adjustment, allowing users to configure audio output according to their application requirements.
5. Audio Advertisement and Prompt Function
The DFPlayer Mini supports an audio advertisement function that allows a prompt or announcement to interrupt ongoing music playback. Once the announcement finishes, the previous music can continue playing.
6. Microcontroller Compatibility
The module can be integrated with Arduino, ESP32, Raspberry Pi, and other compatible systems. DFRobot provides an Arduino library and example programs to simplify serial communication and audio playback control.
Features
- Compact MP3 audio playback module for embedded electronics projects.
- Supports MP3, WAV, and WMA audio formats.
- Reads audio files from TF / MicroSD cards up to 32GB.
- FAT16 and FAT32 file system support.
- Built-in 3W mono audio amplifier for direct speaker connection.
- Stereo DAC outputs for external amplifier connections.
- UART serial, I/O, and AD Key control modes.
- Can operate independently without a microcontroller using buttons.
- 24-bit DAC with 90 dB dynamic range and 85 dB SNR.
- Supports sampling rates up to 48 kHz.
- 30-level adjustable volume.
- 6-level equalizer adjustment.
- Supports up to 100 folders and 255 tracks per folder.
- Compatible with Arduino, ESP32, and other microcontroller platforms.
- Small 20 × 20 mm form factor.
Applications
- Robotics: Adding voice announcements, sound effects, and interactive audio to robots.
- Talking Toys and Interactive Models: Playing recorded voices, music, and sound effects.
- Smart Home Systems: Voice alerts, doorbell sounds, and audio notifications.
- Alarm Systems: Audio alarms, warning messages, and equipment status announcements.
- DIY Music Players: Building compact standalone MP3 players with push-button control.
- Model Railways and Dioramas: Reproducing train sounds, announcements, and environmental audio.
- Interactive Installations: Adding sound effects and audio responses to art projects and exhibits.
- Industrial Equipment: Providing voice prompts, operating instructions, and fault notifications.
- Arduino and ESP32 Projects: Adding programmable audio playback to embedded systems.
Frequently Asked Questions (FAQ)
Q1: Which audio formats does the DFPlayer Mini support?
The module supports MP3, WAV, and WMA audio files stored on a compatible TF (MicroSD) card.
Q2: What is the maximum supported MicroSD card capacity?
The DFPlayer Mini supports TF / MicroSD cards with a maximum capacity of 32GB and FAT16 or FAT32 file systems.
Q3: Can the DFPlayer Mini drive a speaker directly?
Yes. It includes a built-in 3W mono amplifier, allowing a compatible speaker to be connected directly to the SPK+ and SPK- terminals.
Q4: Can I connect the module to an external amplifier?
Yes. The module provides stereo DAC_L and DAC_R outputs for connection to an external amplifier or compatible audio equipment.
Q5: Does the DFPlayer Mini require an Arduino or ESP32 to operate?
No. It can operate in standalone AD Key mode using push buttons, a power supply, and a speaker without requiring a microcontroller.
Q6: Can I control the DFPlayer Mini using Arduino or ESP32?
Yes. It supports UART serial communication, allowing compatible microcontrollers to control playback, select tracks, adjust volume, and manage other audio functions.
Q7: How many audio files and folders can it support?
The module supports up to 100 folders, with a maximum of 255 audio tracks in each folder.
Q8: What is the operating voltage of the DFPlayer Mini?
The module operates with a DC supply voltage between 3.2V and 5.0V.