DFPlayer Mini - Really low volume, almost non-existent

Hello everyone!
I'm seeking help regarding the DFPlayer Mini.
I have following the wiring guide as shown at the following website:
https://www.dfrobot.com/wiki/index.php/D ... KU:DFR0299
Whilst using the code below:
Code: Select all#include <SoftwareSerial.h>
#include <DFPlayer_Mini_Mp3.h>
//
void setup () {
Serial.begin (9600);
mp3_set_serial (Serial); //set Serial for DFPlayer-mini mp3 module
delay(1); // delay 1ms to set volume
mp3_set_volume (30); // value 0~30
}
//
void loop () {
mp3_play (1);
delay(6000);
Serial.print(mp3_get_volume ());
}
When sitting the next to my Arduino setup there is no audible noise coming from the setup. Once i place my ear directly by the speaker i can hear the music playing.
I have tried using two speakers. One 8Ohm 2W and another 8Óhm 0.25W, both speakers producing identical results.
Does anyone have any suggestions of what might be going on? Is the onboard amplifier broken maybe?
You can add a delay(500) after volume setting, this module would react slowly to some command, try it to see if it works:
mp3_set_volume (30);
delay(500);
If it can not be raised up any more, I think it has already been set to the loudest.


Without that, it still doesn't work. I tried added that in order to debug it.
#include <SoftwareSerial.h>
#include <DFPlayer_Mini_Mp3.h>
//
void setup () {
Serial.begin (9600);
mp3_set_serial (Serial); //set Serial for DFPlayer-mini mp3 module
delay(1); // delay 1ms to set volume
mp3_set_volume (30); // value 0~30
}
//
void loop () {
mp3_play (1);
delay(6000);
}
I still produces no sound, unless i but my ear directly on my speaker and then i can still barely hear it.

I can't compile your test code successfully, maybe the code is not correct. You need delete " Serial.print(mp3_get_volume ()); ", and then upload the code to Arduino. It should be noted that you need make a reset after change the volume value , then the volume will become larger or smaller.
