DFPlayer overheating, not working

Hello, I am a high school student working on arduinos for a school project. I am attempting to make a jukebox or karaoke machine using a DFPlayer Mini. My code will be more complicated in the future, but for now, I want my code to play one song on startup, and then move on from there. I am currently struggling with making the DFPlayer play any songs. Various iterations of my code have successfully made noise, but the noises that came out were static. The DFPlayer is also getting extremely hot within a few minutes, and I cannot figure out why. I have tried for weeks to make this work and have looked through multiple forums of other users experiencing the same problem, but I cannot seem to find any solutions for the issues I am facing. I would appreciate any advice, tips, or help that anyone has to offer. Attached is my current wiring and code. We are using a 1kohm resistor for both the TX and RX pins. Thank you!


#include <DFRobotDFPlayerMini.h>
#include <SoftwareSerial.h>
#include "Arduino.h"

const int rxPin = 6;
const int txPin = 7;

SoftwareSerial mySoftwareSerial(rxPin, txPin);  // RX, TX
DFRobotDFPlayerMini myDFPlayer;

void setup() 
{
  Serial.begin(9600);
  mySoftwareSerial.begin(9600);
  delay(10);

  Serial.println("Initializing DFPlayer...");

  // Initialize the DFPlayer Mini
  if (!myDFPlayer.begin(mySoftwareSerial, false)) 
  {
    Serial.println("DFPlayer Mini not detected. Please check connections and if SD card is inserted.");
 
  }
  Serial.println("DFPlayer initialized!");

  myDFPlayer.volume(15);

  myDFPlayer.playMp3Folder(1);

  Serial.println("Playing file #1");
}

void loop() 
{

}

How is the UNO powered? No power in the picture.
Using the controller 5 volt to power the player might be bad design. They are not built for powering peripherals consimg more current then a few LEDs.

Your drawing shows pins 2 and 3.

Set it up in I/O Mode for testing.

@strugglingstemstudent I was going to suggest the same as @xfpd regarding your schematic and code not matching.

Try one of the IDE's in built DFPlayer examples. In this code change the following line.

if (!myDFPlayer.begin(mySoftwareSerial, false)) 

to
if (!myDFPlayer.begin(mySoftwareSerial, /*isACK = */true, /*doReset = */true))


That surprises me. I must have posted scores of working DFR Player sketches in this forum, and so have others.

How are your files organised on the uSD?

Overheating is a sign of either a wiring error, or a defective module (possibly one damaged earlier, by a wiring error).

The UNO is powered by using the 5V from the UNO. I'm plugging it into my computer to power it at the moment, but it will later be powered by a different power source.

I changed it to pins 6 and 7, as shown in the code. The drawing wasn't updated to show that, sorry for missing that. I am new to arduino, so I apologize if this is a silly question, but what is I/O mode? Is it the pinMode command? I'm new to arduinos but familiar with C++, so I don't know much about arduino specific functions.

Thanks for the suggestion! The DFPlayer is now making noise, but it's making a squeaky noise instead of playing the full music file. Before, the blue indication light on the DFPlayer wasn't on, even though the DFPlayer initialized, but now the light flashes and plays the squeaky noise.

I have looked through multiple forums of others experiencing the same/similar issues as I am, but have been unable to find a full solution that fixes the issues I'm facing so far.

The SD is formatted to FAT32 and it's just an mp3 file. I don't have any folders either. The file is a song downloaded from YouTube and it's titled 0001.

I am currently testing my project with a variable external power supply, and the DFPlayer is no longer overheating, however, it's still overheating when plugging it into my computer for it's power supply. I won't be using my computer as my project's power source when it's complete, but would you happen to know why the DFPlayer is overheating when it's using my computer as it's power source but not overheating when using the variable external power supply? I am thinking that one of the modules I'm using might be defective.

Did you click the link and search the page for it?

A selfpowering board?

I apologize, I missed it, I really don't know how I did. Thanks for providing me that resource! I will look into it.

No, I was using my computer as the power source for the UNO. I'm going to end up using a variable external power supply as the power source for my final project design. Sorry if I was unclear.

What voltage did You use?

What's the specs of your speaker. A higher power speaker with a low impedance could draw a high current, which might cause the player to overheat. I generally use 1W 8 Ohm with DFplayer Mini.

Between 4.5V-5V.

I have classmates that are also using a DFPlayer and the same type of speaker for their projects and their DFPlayer and speaker are working as intended and not overheating. I have tried using their DFPlayer to see if there's an issue with the DFPlayer that I was provided, but theirs also overheated when I used it on my project.

Your solderless breadboard is bad.