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!
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.
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.
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'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.
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.