DFPlayer Mini
Introduction
The DFPlayer Mini MP3 Player is a small and low-cost MP3 module with a simplified output directly to the speaker. The module can be used as a stand alone module with attached battery, speaker and push buttons or used in combination with an ESP8266/ESP32 via RX/TX.
For more details see this link: https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299
Building
Steps to test this sample:
Connect DFPlayer Mini using RX/TX pins to TX/RX pins respectively of ESP8266.
Copy one or more mp3 files to your SD card. The example playes one file for some time and moves to the next one.
Insert your SD card in the slot of the DF Player module.
Flash and run the sample code.
References
SoC support
esp32
esp32c2
esp32c3
esp32s2
esp32s3
esp8266
host
rp2040