Having trouble with firebeetle esp32-e/dfplayer pro

userHead Levi 2022-12-19 02:51:13 173 Views2 Replies

Trying to get the dfplayer pro play sample to work with firebeetle esp32-e with arduino, I have it wired the same as the wiki (https://wiki.dfrobot.com/DFPlayer_PRO_SKU_DFR0768) (currently only using 1 speaker though). When using pins d2/d3 im getting the “Init failed, please check the wire connection!” from the play sample, when i use the RX/TX pins on the firebeetle the error goes away but nothing plays. If I manually click the play button on the dfplayer it plays the files, clicking the play button also sends a symbol to the serial monitor. Any ideas on why it is not working and playing through the sample play?

2023-01-31 16:29:01



The pin between Arduino UNO and ESP32-e could be different. You can try to modify this part of the code.

change 2, 3 to d2, d3, see how it's works.

For the serial port part, it looks strange, seems that your code is not uploaded to this board. Could you please share a screenshot of your IDE and serial monitor?


Hope it can help!

userHeadPic Tonny12138
2022-12-21 13:42:56

I'm trying to write my first programs to my firebeetle ESP32-E V1.0 board but I am struggling to get it to upload, I am using Platformio and trying to follow dronebot workshop's starting out tutorial.

When trying to upload I get the error message:

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html https://www.developerbook.net/*** [upload] Error 2

 [FAILED] Took 10.78 seconds

The terminal process "C:\Users\files\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.

I've followed the link and tried to draw GPIO0 to ground to write it to upload mode, I have installed the CH340K Driver and I'm at a bit of a loss, any help is much appreciated! Let me know if I've missed any info you need to help.

Product Wiki: https://chatrandom.download https://wiki.dfrobot.com/FireBeetle_Board_ESP32_E_SKU_DFR0654#target_7

Platformio.ini file:

[env:firebeetle32]platform = espressif32board = firebeetle32framework = arduino

Main.cpp file

// LED on GPIO2int ledPin = 2;

void setup(){   // Set LED as output   pinMode(ledPin, OUTPUT);

   // Serial monitor setup   Serial.begin(115200);}

void loop(){   Serial.print("Hello");   digitalWrite(ledPin, HIGH);


   Serial.println(" world!");   digitalWrite(ledPin, LOW);


Tutorial video i am trying to follow:https://www.youtube.com/watch?v=xPlN_Tk3VLQ&t=1356s

userHeadPic MatrickEganlan