Beetle ESP32 C3 DFR0868 with DFPlayer Pro

userHead CoolAsLife 2023-08-16 00:05:07 262 Views1 Replies

I am trying to get the DFPlayer Pro to work with the Beetle ESP32 C3.  The DFRobot wiki page for the DFPlayer Pro only provides an example working the Arduino with the built in Software Serial library (https://wiki.dfrobot.com/SKU_DFR0868_Beetle_ESP32_C3)

 

I get an error when compiling the example sketch (softwareserial.h not found) as the sketch is designed for Arduinos.  

 

Googling the issue just returns result for an ESP32 working with the older DFPlayer Mini and not the Pro version of the DFPlayer.

 

Could someone kindly share an example sketch of the DFPlayer Pro with an ESP32 please?

 

 

2023-08-22 15:35:08

Hi, 

 

The "softwareserial.h" cannot be used in esp32. 

 

This example sketch is for DFPlayer Pro and ESP32, please download it from github.

https://github.com/zzzqww/DFRobot/tree/main/esp32-c3_DFPlayer-pro

 

 

userHeadPic Afra