ArduinoGeneral

DFRobot-Mini-Player PRO Not Connecting

userHead edwardbrugel 2021-08-28 02:54:00 1137 Views2 Replies
I've now purchased 15 of these DFRobot_Mini_Pro mp3 players. I did get one to work using DFRobot_Play_IIC.
However, all the others have failed to connect?
I've tried every pin combination 2,3 & 6,7 & 10,11 with TX and RX
I've tried every combination of TX/RX and Pins with no success.
I did get one to work on a breadboard, but not when soldered.
All soldered connection had continuity and the Accelerometer works just fine.
I'm using genuine Arduino Nano's.
When I connect most of the units to windows they do react in slave mode and pressing the button plays the files nicely.
Apparently, the DFRobot_Play_IIC.h is the only library that works with the Mini-Pro' Is this correct?
I'm hesitant to reload the one that works in fear that it will not work again.
I've literally spent days on this and it's killing my project.

Apparently, the DFRobot_Play_IIC.h is the only library that works with the Mini-Pro' Is this correct.
Any help from anyone would be appreciated.

Thank you
Ed
2021-08-28 05:09:43 The problem appears to be with the DFRobot_PLAY_IIC.h
The Example called "Play" does not even have a #include Library call???
See below code snippet
I really need some help here as the standard Mini mp3 Libraries do not appear to be able to control the RO"

#include
DFRobot_PLAY_IIC DF1201S;
void setup(void){
Serial.begin(115200);
while(!DF1201S.begin()){
Serial.println("Init failed, please check the wire connection!");
delay(1000);
}
/*Set volume to 20*/
DF1201S.setVol(/*VOL = */20);
Serial.print("VOL:");
/*Get volume*/
Serial.println(DF1201S.getVol());
/*Enter music mode*/
DF1201S.switchFunction(DF1201S.MUSIC);
/*Wait for the end of the prompt tone */
delay(2000);
/*Set playback mode to "repeat all"*/
DF1201S.setPlayMode(DF1201S.ALLCYCLE);
Serial.print("PlayMode:");
/*Get playback mode*/
Serial.println(DF1201S.getPlayMode());
userHeadPic edwardbrugel
2021-08-28 02:58:50 I tried using DFRobot DFPlayer Mini Demo, RX-11 and TX-10
This is the output
Initializing DFPlayer ... (May take 3~5 seconds)
DFPlayer Mini online.
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
Time Out!
userHeadPic edwardbrugel