DFPlayer Mini MP3 Player Module
Components

DFPlayer Mini MP3 Player Module

4.6(16)
31
DFPlayer Mini is a highly capable and compact sound module for adding music and sound effects to projects. It plays MP3 and WAV files from a memory card (maximum 32GB, FAT16/FAT32 format) inserted in the MicroSD card slot. The biggest advantage is the built-in 3W amplifier, which allows you to directly connect a small speaker (e.g. 8 ohm, 3W) without the need for an external amplifier. By communicating with Arduino and ESP series boards via serial communication (UART / RX-TX); all controls such as playing, stopping and adjusting the volume of the desired track can be done in software. It also has the ability to work directly with buttons (stand-alone) without any microcontroller. It is a perfect solution for smart home voice announcement systems, talking robots and interactive toy projects. (Note: When communicating with 5V systems, connecting a 1K ohm resistor to the RX line prevents interference to the sound).

Projects using this component

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)
AR-174Intermediate
Premium

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)

A robot that stays quiet while nobody is around and talks with a real voice when someone comes closer. The HC-SR04 measures the distance and the DFPlayer Mini plays MP3 files from a microSD card through a speaker: "Hello! I'm the BlueGrays robot." at 150 cm, "You're a bit close." at 60 cm, "Too close, step back!" at 20 cm and "See you!" when you leave. Each band has two sentences that take turns. A median filter and hysteresis stop it chattering at a border.

Arduino MP3 Player: A Music Player With Buttons and a Volume Knob (DFPlayer Mini + Potentiometer + Speaker)
AR-175Intermediate
Premium

Arduino MP3 Player: A Music Player With Buttons and a Volume Knob (DFPlayer Mini + Potentiometer + Speaker)

An MP3 player for your own music with three buttons and a volume knob. The DFPlayer Mini plays MP3 files from a microSD card through a speaker. The previous, play/pause and next buttons move between tracks, and the potentiometer sets the volume from 0 to 30. When a track ends the next one starts, and after the last it goes back to the first. A long press on play turns on shuffle. The Serial Monitor shows the track and the volume.

Arduino Talking Thermometer: A Device That Says the Temperature at the Push of a Button (DS18B20 + DFPlayer Mini + Speaker)
AR-180Intermediate
Premium

Arduino Talking Thermometer: A Device That Says the Temperature at the Push of a Button (DS18B20 + DFPlayer Mini + Speaker)

Press the button and hear the room temperature in a real voice: "Temperature, twenty-three degrees." The DS18B20 measures it, the DFPlayer Mini plays an MP3 file from the microSD card through the speaker. Every degree has its own sound file (-20 to 50) and the code finds the right one by its number. Above 35 degrees it warns "Too hot!", and it says so when the sensor is missing.

Arduino Welcome Door: A Sensor That Greets Everyone Who Walks In (PIR + DFPlayer Mini + Speaker)
AR-181Intermediate
Premium

Arduino Welcome Door: A Sensor That Greets Everyone Who Walks In (PIR + DFPlayer Mini + Speaker)

When someone walks through the door, a real voice says "Welcome!" The PIR sensor catches the motion and the DFPlayer Mini plays an MP3 sentence from the microSD card through the speaker. Three greetings take turns and the same one never repeats; while the person is inside the sensor keeps seeing motion but the code stays quiet, and after 5 seconds without motion the next arrival is greeted again. Anyone who stayed longer than 45 seconds gets a goodbye.

Arduino Quiz Buzzer: First Press Wins, Voice Referee (3 Buttons + DFPlayer Mini + Speaker)
AR-182Intermediate
Premium

Arduino Quiz Buzzer: First Press Wins, Voice Referee (3 Buttons + DFPlayer Mini + Speaker)

A quiz night at home or in class: the host presses a button, the speaker says "Question!", the first of three players to press lights their LED and the DFPlayer Mini announces "Player one!"; the other buttons lock at that instant. A short host press means "Correct!" and a point, a long press means "Wrong!" and the round reopens for the rest. Pressing before the question gets a "Too early!" warning. Scores show in the Serial Monitor; 5 points win.