MP3 player shield from Sparkfun

Have anyone ever use this MP3 player? I got one of them and tried all 3 sample codes from their site with their sample MP3s but seems not working from my arduino. I am sure the SD card can be read cuz no error massege shows when i run the code.

Also search on the net but all I found are onlne stores or topics with no solutions. or any suggestions for other easy to use MP3 players?

I might have it.

My experience with SD-based, WAV players and MP3 players is that the sample rate affects a lot. As just “something to try”, I would play around with the actual MP3 files you are using. Use different bitrates, as well as all the other “quality” adjustments and see if that gets you anywhere.

Also, a lot of robot brains do not seem to get along well with SD cards bigger than 1 or 2 gig.

CTC is right. Play around

CTC is right. Play around with sample bit rates, channels (use mono if you have only one speaker). My guess however is that it is in your SD Card. What are the formatting requirements? Usually small embedded projects use RAW or FAT16 or some older file system while your computer is using FAT32 or NTFS. This could make it incompatible. If none of this helps try a different uSD card. I have heard of programmers having issues because ther card would support only SD mode or SPI mode but not both (technically all SD cards must conform to both but some cheap ones don’t and still brand it as SD cards).

Yeah, my SD is 2G and

Yeah, my SD is 2G and re-format as FAT32. I will try those combonations and playing around the bitrates. Gee, MP3 doesn’t really just play as simple as I thought. Thanks guys for all the inputs.

After scanning the information found via sparkfun

CtC’s concern about high capacity cards should be a moot point. The sdfatlib states that it is for FAT16/FAT32 formatted cards and  is supposed to support both sd and sdhc cards. BTW most 2gig cards anymore are sdhc IIRC.

You did look at both of the code examples on sparkfun’s site right? The one called MP3_Player_Example.pde has a few more notes and explains that you need to make an adjustment to one of the header files that come with the sdfatlib. The adjustment is to allow for access to the CS pin on the controller chip that is on the shield.

Scanning through the posts on the sparkfun page for the shield I noticed the comment about bitrates:

skater_j10 | June 12, 2011 at 12:45 AM

Just wanted to post about a few issues I ran into to help anyone else out there in the same boat.

After downloading the Sdfat library I forgot to switch the uint8t const SSPIN to 9 in the Sd2PinMap.h file and ended up getting random audio cutout because of it. The tracks would only play briefly then drop out.

After solving that issue I then placed the sample tracks (track001.mp3 and track002.mp3) on my microSD and they played great under the provided MP3PlayerExample.pde code. But whenever I loaded up my own .mp3s I would get a audio spike about every second. It sounded like an CD skipping (not buffering properly). Using Audacity I found that my .mp3s had 44100Hz, 32-bit, Stereo encoding and the sample tracks had 22050Hz, 32-bit, Mono. I messed around a bit and found that I could get the best quality sound by using 44100Hz, 24-bit, Stereo encoding. All I did was open my .mp3 clicked the track drop down -> selected Set Sample format -> 24-bit, waited a few seconds for it to finish and then exported (with LAME MP3 exporter installed).

Now the shield works wickedly, thanks for another great breakout Sparkfun!

Yeah, I did see that post

Yeah, I did see that post too. He was able to pay a bit briefly then drop out. Mine doesn’t hear any sounds. I didn’t switch the pin, will try it tonite again. Thanks for post :slight_smile:

None of them works. This is

None of them works. This is what I am afraid of. If this is a hardware problem. Anyway I can fix it or determine where goes wrong? I know sparkfun is very poor in customer services. Don’t think they gonna help~