My robotics team needs a little help. We have an Arduino Uno and a Duemilanova. We also have an SD card reader. What we want to to is put some sound files on the SD card and play a specific file when a button is pressed. The goal is to create an interactive display where people can press a button and get information. What would be the best format to use, WAV, MP3 or something else? The information will be spoken. Also, what size SD card can the Arduino recognize? We have almost everything from 2gb to 16gb. Will any work or just a certain size? Any links to code would be greatly appreciated.
You need an MP3 shield, one that allows you to enter the track number and play it. You can do a search for Arduino MP3, and your mostly likely going to either get a shield or a small chip like board. If the vender is nice, they will have a sample code you can look at before you buy the part. Shields tend to be the easiest to program, but if you already have multiple things running off the Arduino, your more likely to have complications with pin usage. So check the schematics and data sheets on what pins the shield takes up before hand.
So, something like this SparkFun MP3 Player Shield - DEV-12660 - SparkFun Electronics from Sparkfun or anyplace really? My assumption is then have the arduino wait for a button press and then it can "play track 3" or "play track 1". Basically that's it, right? Since children will be able to access this, how could we address multiple button presses? Like some kid presses 3 buttons at once. Is there a way to code for that?
I looked at the Simple SDA Library. That looks sort of complicated. My students (and I) are new to the whole Arduino platform. I think we will go with a MP3 shield. I found a couple on Amazon that are in our price range. If we get something working, pictures and an update. We may need help along the way. I will be sure to ask. Thanks!