Go Down

Topic: Need To Use SD Card On Music Shield? (Read 1 time) previous topic - next topic

Artie

I'm going to either use a VS1053 MP3 breakout board or a VS1053 MP3 shield with my Uno board. I only need one song for the program. Will I still need to use an SD card to play that one song, or can I upload it onto the Uno board itself? Thanks

johnwasser

The Seed Studios Music Shield 2.0 uses that chip and just copies data from the SD card to the chip a buffer at a time in the MusicPlayer::playSong() function.  If your music will fit in FLASH (PROGMEM) you should be able to send it to the chip a block at a time.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Artie

Thank you for your response. We are trying to put together an Arduino package for highschool students and want to use MP3 shields. I was hoping to cut costs by not having to purchase any SD cards to go with the music shield, but it seems like the shield will need an SD card at some point. Am I correct?

johnwasser


but it seems like the shield will need an SD card at some point. Am I correct?


That depends. How many bytes in your MP3 file?  Which Arduino are you using?
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Artie


johnwasser


7MB on an Uno board.


Hmmm.  The ATmega328P on the Arduino UNO only has 32K of FLASH/PROGMEM.  You will definitely need some kind of external storage for a 7 MB file.  The SD card is probably the cheapest and easiest way to go. 
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Artie

Ok, no problem. I appreciate your help. Thank you

Go Up