Dfplayer refuses to work!

hello,
I'm trying to use a dfplayer mini but it won't work! i've done everything! used sdcardformatter, reformatted EVERYTHING! does anyone know how to fix this? If so please reply :slight_smile:

do you think you gave us enough information? my crystal ball is broken...

oh yeah forgot :). sorry about that! please tell me if this is enough!

`/***************************************************
DFPlayer - A Mini MP3 Player For Arduino
https://www.dfrobot.com/product-1121.html


This example shows the basic function of library for DFPlayer.

Created 2016-12-07
By Angelo qiao

GNU Lesser General Public License.
See http://www.gnu.org/licenses/ for details.
All above must be included in any redistribution
****************************************************/

/Notice and Trouble shooting****
1.Connection and Diagram can be found here
https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299#Connection_Diagram
2.This code is tested on Arduino Uno, Leonardo, Mega boards.
****************************************************/

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

SoftwareSerial mySoftwareSerial(10, 11); // RX, TX
DFRobotDFPlayerMini myDFPlayer;
void printDetail(uint8_t type, int value);

void setup()
{
mySoftwareSerial.begin(9600);
Serial.begin(115200);

Serial.println();
Serial.println(F("DFRobot DFPlayer Mini Demo"));
Serial.println(F("Initializing DFPlayer ... (May take 3~5 seconds)"));

if (!myDFPlayer.begin(mySoftwareSerial)) { //Use softwareSerial to communicate with mp3.
Serial.println(F("Unable to begin:"));
Serial.println(F("1.Please recheck the connection!"));
Serial.println(F("2.Please insert the SD card!"));
while(true){
delay(0); // Code to compatible with ESP8266 watch dog.
}
}
Serial.println(F("DFPlayer Mini online."));

myDFPlayer.volume(10); //Set volume value. From 0 to 30
myDFPlayer.play(1); //Play the first mp3
}

void loop()
{
}

Your SD needs to be less than 32GB

what's your Arduino ? how did you wire and power the DFPlayer?

my sd card is 8gb, im using an arduino uno and here is the schematic:

how is the Arduino powered ? I don't see ground connected.

have you tried without the resistor ?
what do you see in the Serial console

You might want to try also with this library:

oh yeah I did connect ground I just looked for the same schematic lol. No I have not tried without the resistor. I see "Unable to begin". i'll try without the resistor and i'll report back here.

a picture of a hand drawn schematic as things are (and how it's powered) would go a long way compared to the theoretical ugly fritzing ....

From your Fritzy thing the problem is clear. There's no power going to the DFMini. Or to anything else. No power, no working.

Steve

oh yeah I did connect ground and vcc I just looked for the same schematic lol

So when you say "the same schematic" you mean a useless picture which is NOT a schematic of your system. So you still haven't posted a schematic or even said what you connected "ground and vcc" to. Good luck - I'm out.

Steve

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.