MP3 trigger board SD card problem

Hello,

I have an MP3 QWIIC trigger board and I am using it for the first time. I have put together a code based on examples, copied mp3 files on sd card and it worked quite well. Today it stopped working correctly. I have uploaded an kitchen sink example sketch and it says :

Qwiic MP3 is missing its SD card. Freezing…

But when I plug in USB cable, I am able to see content of the card on my PC, delete it or upload new ones which is weird. Can please somebody help me with it? Thank you.

The exact version of this board is: SparkFun Qwiic MP3 Trigger DEV-15165

It sounds like the card might have become corrupted. Do you have a second SD card that you could use to test?

It also might help to start over from the beginning of our hookup guide https://learn.sparkfun.com/tutorials/qw … 1615791300 - try flashing/formatting the SD card first, and perhaps see if you can get a response from:

GET_CARD_STATUS 0x0B - Returns a byte indicating card status. 0 = OK, 5 = SD Error. Once the command is issued the MP3 Trigger must be given 50ms to acquire the card status before it can be queried with an I2C read.

I have tried 4 different cards (different sizes and differnet brands). Sometimes it plays the first file (short bell) but it does not see any other files (I have 6 mp3 files).

Also, for that example, please confirm the settings mentioned in the notes:

"Hardware Connections:

Plug in headphones

Make sure the SD card is in the socket and has some MP3s in the root directory

Don’t have a USB cable connected right now

If needed, attach a Qwiic Shield to your Arduino/Photon/ESP32 or other

Plug the Qwiic device onto an available Qwiic port

Open the serial monitor at 9600 baud"

Are the files in the root directory and USB disconnected?

Yes they were. I have today find out that when I push the metal SD card connector case it sometimes play something. So I have removed the connector and soldered SD card directly onto the PCB and it works now. There had to be some bad connection or damage on the connector but it is weird that it worked as a card reader when connected to PC. Anyway this is solved for me with happyending. Thank you Russel for your help.