I am using MP3-TF-16P with Arduino mega and a 3W, 4ohm GIKFUN speaker without any amplifiers. I connected the six pins of MP3 to the mega and the speaker as required including the RX pin with a 1K resistor in series. I have tried both the hardware serial and the software serial methods. In both cases, the MP3 passes all the required tests, and it lights up as if it is playing the file from the micro-SD card, but no sound comes out of the speaker. Trying different speakers (3W, 4ohm and 2W, 8ohm) didn’t help. All the wires are checked for continuity. In fact, while the program is running, I measured the voltage across the speaker and it did change, but again no sound. I am using a very simple sketch shown below. Any help will be greatly appreciated.
I am using MP3-TF-16P with Arduino mega and a 3W, 4ohm GIKFUN speaker without any amplifiers. I connected the six pins of MP3 to the mega and the speaker as required including the RX pin with a 1K resistor in series. I have tried both the hardware serial and the software serial methods. In both cases, the MP3 passes all the required tests, and it lights up as if it is playing the file from the micro-SD card, but no sound comes out of the speaker. Trying different speakers (3W, 4ohm and 2W, 8ohm) didn’t help. All the wires are checked for continuity. In fact, while the program is running, I measured the voltage across the speaker and it did change, but again no sound. I am using a very simple sketch shown below. Any help will be greatly appreciated.
#include <SoftwareSerial.h>
#include <DFRobotDFPlayerMini.h>
//#include "mp3tf16p.h"
SoftwareSerial mySoftwareSerial(10, 11);
DFRobotDFPlayerMini myDFPLayer;
void setup() {
mySoftwareSerial.begin(9600);
myDFPLayer.begin(mySoftwareSerial);
myDFPLayer.volume(20);
myDFPLayer.loopFolder(1);
}
void loop() {
}
I am still trying to learn the software to draw the wiring diagram, but I am quite certain it is not the wiring diagram because there are only six connections which I have strictly followed. In any case, I will try to post the wiring diagram by tomorrow. Thanks for your reply.
If the Busy LED is coming on and you're seeing voltage changes across the speaker pins, then the problem is most likely in either the wiring to the speaker or the speaker itself. The module is apparently working. It's playing a track, and the output is making it to the speaker pins. The only things left after that are the speaker wires or speaker.
You almost certainly have a hardware problem, and yet you haven't shown us anything hardware related.
Using the multimeter, I have checked the connectivity of all wires, the supply voltage is 5V (checked). You are perhaps right the MP3 board may be at fault. I had three MP3 boards from the same supplier. I tried all three of them with the same result. I just ordered a DFPlayer from DFRobot. When it arrives, I will know if the MP3 board was the culprit. Thanks for your suggestions.
In the simple sketch that I am using for testing purpose is already asking to play track 1. I just tried grounding the ADKEY1 - it made no difference. I have also used a different SD card formatted in FAT32 format - this also did not help. Thanks for your suggestion.