Uno + Adafruit VS1053 (mp3 doesnt play)

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Kanthonylawler
 
Posts: 10
Joined: Mon Dec 26, 2016 2:31 pm

Uno + Adafruit VS1053 (mp3 doesnt play)

Post by Kanthonylawler »

Morning!
Had issues with this chip being recognized by the UNO, but after a good solid solder, that issue was fixed.

Currently however the serial monitor is telling me that its playing the mp3 files, but I'm not receiving any audio.
I checked the solder and my connections are good, power is being supplied by the arduino, yet no audio.

As an FYI, my mp3 files are about 20 seconds long, but in the serial monitor it looks like it "plays" track001.mp3 for a fraction of a second before moving on to track002.mp3, which it "plays" for the same amount of time and then indicates that its done playing music. So the entire program runs for about 1 second before finishing. So if it is actually initializing the mp3 files, its only doing it very very briefly, which might be the issue.

Included are my photos so you can see the connections I have.
Tracks in the SD card are labeled correctly.
The SD card I'm using is a "SanDisk Ultra 64GB Micro SDXC".
Thank you for your fast response.
Attachments
15784856_10211873276411095_22202622_o.jpg
15784856_10211873276411095_22202622_o.jpg (272.79 KiB) Viewed 196 times
15749162_10211873276451096_1493573435_o.jpg
15749162_10211873276451096_1493573435_o.jpg (221.1 KiB) Viewed 196 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Uno + Adafruit VS1053 (mp3 doesnt play)

Post by adafruit_support_rick »

Well, the most likely reason for it to stop playing like that would be that there's something wrong with your mp3 files. Do they play correctly on your computer? What sample rate are they?

If you run the SD library listfiles example, are the files listed properly? Are the filenames in 8.3 format?

When you run the player_simple example, do the test tones come out?

Can you post the output of Serial Monitor?

User avatar
Kanthonylawler
 
Posts: 10
Joined: Mon Dec 26, 2016 2:31 pm

Re: Uno + Adafruit VS1053 (mp3 doesnt play)

Post by Kanthonylawler »

I am hearing tones in the headphones very briefly (kind of...more like a "hazy" have beat). So I assume those are the test tones you are speaking of. I also ran the SD Library test files and it appears good there also (screen shot included here), also here is the serial screen shot of the simple test as well.
Attachments
SerialMonitorTest.JPG
SerialMonitorTest.JPG (30.56 KiB) Viewed 156 times
SDLibraryList.JPG
SDLibraryList.JPG (31.52 KiB) Viewed 156 times

User avatar
Kanthonylawler
 
Posts: 10
Joined: Mon Dec 26, 2016 2:31 pm

Re: Uno + Adafruit VS1053 (mp3 doesnt play)

Post by Kanthonylawler »

Additionally I re-formatted the SD card and uploaded two new .mp3 files with the same results. These mp3 files came from a BARE electronics default sounds, so I know they are acceptable.
Any additional thoughts would be helpful.

Do you this an 64 GB SD card could be the problem? I don't see why though.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Uno + Adafruit VS1053 (mp3 doesnt play)

Post by adafruit_support_rick »

The test tone should be a clear sine wave, as I recall.

In your screenshot of SDLibraryList, the file names don't appear to be 8.3 format. That's why you're seeing the '~' in the names. Make sure the file names are 8.3, and the folder names are 8 characters or less. No spaces, either.

Do you have any wav files you can test with?

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”