can't make player mp3 working

Hi there !
I recently bought a DFRduino Player MP3 SKU: TOY0008
Refering the wiki page https://www.dfrobot.com/wiki/index.php/ ... U:_TOY0008 I tried a very simple test but it seems I am missing something because no sound is playing
What I did :
- power player with an extern power supply 5V/2A
- pin wiring :
- no pin for OI
- TX to arduino mega RX
- RX to arduino mega TX
- no pin for 5v and GND (as I already power with external power supply)
- put an mp3 file named track.mp3 in the root directory of a Scandisk 4GB micro SD HC card
- wiring only one speaker
- SD card led is green
Here is the simple code for testing :
Hope you'll be able to help me
Thanks
Jean
I recently bought a DFRduino Player MP3 SKU: TOY0008
Refering the wiki page https://www.dfrobot.com/wiki/index.php/ ... U:_TOY0008 I tried a very simple test but it seems I am missing something because no sound is playing
What I did :
- power player with an extern power supply 5V/2A
- pin wiring :
- no pin for OI
- TX to arduino mega RX
- RX to arduino mega TX
- no pin for 5v and GND (as I already power with external power supply)
- put an mp3 file named track.mp3 in the root directory of a Scandisk 4GB micro SD HC card
- wiring only one speaker
- SD card led is green
Here is the simple code for testing :
Code: Select all
I can hear a white noise through the speaker void setup()
{
Serial.begin(19200);
delay(2000); //Wait for initialization
Serial.println("\\:v 100"); //Set the volume, from 0 (minimum)-255 (maximum)
delay(2000);
Serial.println("\\track.mp3");
}
void loop()
{
delay(100);
}
Hope you'll be able to help me
Thanks
Jean
2017-06-19 23:02:31 Hi
Please use the code follows to test:
void setup() {
Serial1.begin(19200);
delay(2000); // Wait for initialization
Serial1.println("\\:v 10"); // Set the volume, from 0 (minimum)-255 (maximum)
delay(50);
}
void loop() {
delay(50000); // the delay needs to be long enough to
Serial1.println("\\:n"); // play next
}
robert.chen
Please use the code follows to test:
void setup() {
Serial1.begin(19200);
delay(2000); // Wait for initialization
Serial1.println("\\:v 10"); // Set the volume, from 0 (minimum)-255 (maximum)
delay(50);
}
void loop() {
delay(50000); // the delay needs to be long enough to
Serial1.println("\\:n"); // play next
}
