0

Music Maker MP3 Shield
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Music Maker MP3 Shield

by garyallen on Mon Jun 17, 2019 4:38 pm

The SD card I'm using is:
https://www.samsung.com/us/computing/me ... me32ga-am/

It was purchased for this project and is new. I do not know about its filesystem format and can't seem to find a reference to that.

The sketch is the example I downloaded from adafruit VS1053 library; "player_interrupts" and I've also used "player_simple".
The only changes I made were those recommended by support.
I am unable to get anything to play.

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit_support_carter on Mon Jun 17, 2019 5:03 pm

Stick with "player_simple" for testing. I just tested that here with the MP3 I linked and it works OK. Once you've renamed the MP3 to track001.mp3 and copied it to the SD card, run "player_simple" as is with the only change being to comment out the line for breakout and the uncomment the line for the shield here:
https://github.com/adafruit/Adafruit_VS ... le.ino#L41

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker MP3 Shield

by garyallen on Mon Jun 17, 2019 11:26 pm

Albert Einstein: The definition of insanity is doing the same thing over and over and expecting different results.

And yet, I keep doing the same thing over and over. Maybe 8 times. Always with the same result. No music from my Music Maker.
If I mailed it back could someone see if there is a defect or if I didn't assemble properly? My digital multimeter says that my soldering job is good.

Thank you for your help. Gary

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit_support_carter on Tue Jun 18, 2019 12:59 pm

Sorry, yes, the progression of things has been a bit repetitive. But there have been some confusing results in the steps taken. You were trying two different examples and getting slightly different output and error messages. So sticking with just one example is best for troubleshooting. Then there was a typo you made in modifying that one example where you left off the filename extension. So wanted to make sure we focused on just one example without any typos - the "player_simple" example.

If you make sure the file is named "track001.mp3" then the only change should be to comment/uncomment the lines needed to use the shield.

The two general issues you've seen are:
Could not open
Code: Select all | TOGGLE FULL SIZE
Adafruit VS1053 Library Test
VS1053 found
SD OK!
TRACK0~1.MP3 6833297
TRACK0~2.MP3 9150484
Could not open file track001.mp3


Just didn't play
Code: Select all | TOGGLE FULL SIZE
Adafruit VS1053 Simple Test
VS1053 found
TRACK0~1.MP3 14005206
Playing track 001
Playing track 002
Done playing music


So it seems like some progress has been made. Now it at least tries to open the file. It's reporting the file size as expected (I get same thing when I run the example -> 14005206). Agree, your soldering seems fine.

Just to make 100% sure where we are at:
  • You are using the example MP3 linked previously
  • You renamed that to track001.mp3
  • You are running the player_simple.ino example
  • You changed the lines as needed for using the shield
  • The output does *not* complain about being able to open the file, but nothing plays
Is that all correct?

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker MP3 Shield

by garyallen on Wed Jun 19, 2019 9:33 pm

Yes. That is correct.

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit_support_carter on Thu Jun 20, 2019 4:19 pm

If you have another SD card, try it just as a quick sanity check.

Changing focus back to a possible hardware issue. What are these left over soldering bits from?
shield.jpg
shield.jpg (75.96 KiB) Viewed 258 times

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker MP3 Shield

by garyallen on Thu Jun 20, 2019 5:24 pm

I attached pins there in anticipation of using those for other functions (servos). When things didn't work, I removed them.

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit_support_carter on Thu Jun 20, 2019 6:12 pm

Were servos ever used on those pins? Or anything else?

What are you using to listen to the output with?

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker MP3 Shield

by garyallen on Sat Jun 22, 2019 3:12 pm

Earbuds.

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit_support_carter on Mon Jun 24, 2019 12:47 pm

Earbuds should be fine.

Were servos ever used on those pins with the left over soldering? Or anything else?

Do you have a multimeter?

adafruit_support_carter
 
Posts: 12991
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker MP3 Shield

by garyallen on Mon Jun 24, 2019 5:54 pm

When things didn't work the way they were supposed to I removed the pins I had soldered on since I thought they may be the source of the problem. They were never used.
I do have a mulimeter and I did use it to check the soldering that I did to attach the pins. It seemed to be OK.

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit2 on Mon Jun 24, 2019 9:29 pm

hihi, if you hear the tone, then the VS1053 is working. it could be something with your file naming/filesys

get a different SD card, run SDFormatter on it https://www.sdcard.org/downloads/formatter/
dont use the OS formatter, only that tool.
then copy over track001.mp3 and track002.mp3 and do not change them or rename them in any way

then run
https://github.com/adafruit/Adafruit_VS ... simple.ino
and *only* change these lines
Code: Select all | TOGGLE FULL SIZE
Adafruit_VS1053_FilePlayer musicPlayer =
  // create breakout-example object!
  Adafruit_VS1053_FilePlayer(BREAKOUT_RESET, BREAKOUT_CS, BREAKOUT_DCS, DREQ, CARDCS);
  // create shield-example object!
  //Adafruit_VS1053_FilePlayer(SHIELD_RESET, SHIELD_CS, SHIELD_DCS, DREQ, CARDCS);


and paste the *full* output on the serial monitor

adafruit2
Site Admin
 
Posts: 18664
Joined: Fri Mar 11, 2005 7:36 pm

Re: Music Maker MP3 Shield

by garyallen on Mon Jun 24, 2019 11:11 pm

I don't know what this means:
"and paste the *full* output on the serial monitor"
What's the *full* output? How would I paste it on the serial monitor? Pardon my ignorance.

I did reformat my sd card, copied track01.mp3 on to it and ran the sketch from the link as instructed. No change. Still not making music.
I don't have another card but I guess I could buy another one. I don't mind but I would be surprised if that solved the issue. It would be nice if it was that simple.

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Re: Music Maker MP3 Shield

by adafruit2 on Tue Jun 25, 2019 11:49 am

the full output, is: you open the serial monitor after uploading and take all the text there, copy it, and paste it here. please do so

adafruit2
Site Admin
 
Posts: 18664
Joined: Fri Mar 11, 2005 7:36 pm

Re: Music Maker MP3 Shield

by garyallen on Tue Jun 25, 2019 8:21 pm

With the player_interrupts sketch I get:
Adafruit VS1053 Library Test
VS1053 found
SD OK!
TRACK0~1.MP3 14005206
Could not open file track001.mp3

With the player_simple sketch I get:
Adafruit VS1053 Simple Test
VS1053 found
TRACK0~1.MP3 14005206
Playing track 001
Playing track 002
Done playing music

garyallen
 
Posts: 22
Joined: Mon Jun 10, 2019 11:42 pm

Please be positive and constructive with your questions and comments.