Dear Forum, my name is Piet.
Currently im working on a preconfigured project as i dont have any experience in electronics (coming from Software) and Arduinos at all but its fun!
Actually my DfPlayer (Mp3) is not powering at all,
these are the ErrorMessages:
Unable to begin:
- Please recheck connection
- Please insert SD-Card
Probably the voltage is to low?
How could i fix that?
Below is my Setup():
#include "Arduino.h"
#include "SoftwareSerial.h"
#include "DFRobotDFPlayerMini.h"
SoftwareSerial mySoftwareSerial(11, 10); // RX, TX
DFRobotDFPlayerMini myDFPlayer;
void printDetail(uint8_t type, int value);
void setup()
{
mySoftwareSerial.begin(115200);
Serial.begin(115200);
int value = analogRead(A0);
float voltage = value * 5.0/1023.0;
Serial.println(voltage);
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.
//----Read imformation----
Serial.println(myDFPlayer.readState()); //read mp3 state
Serial.println(myDFPlayer.readVolume()); //read current volume
Serial.println(myDFPlayer.readEQ()); //read EQ setting
Serial.println(myDFPlayer.readFileCounts()); //read all file counts in SD card
Serial.println(myDFPlayer.readCurrentFileNumber()); //read current play file number
Serial.println(myDFPlayer.readFileCountsInFolder(3)); //read file counts in folder SD:/03
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);
}
Actually i only can post one picture for now!
Probably you have an Idea what is the case here?
Thank you very much!