Show Posts
Pages: [1]
1  Using Arduino / Audio / Re: Create MP3 player on: February 20, 2013, 06:00:58 pm
(...) And if you are using an MP3 shield, you have complete control. You have to load the file off the SD card and stream it to the MP3 decoder, so you can open whatever file you want. (...)

Ok, awesome! The thing is; I thought working with the Adruino Uno and the ethernet shield were pretty easy, for several reasons: I got experience with php, javascript and HTML so I pretty much understand the logic of the codes and I understood the html and also there were a lot of tutorials and example codes available.

Now I want to work with a mp3 shield but I can't find a lot of information on this when working from scratch. Where should I start, what should I read?
2  Using Arduino / Audio / Re: Create MP3 player on: February 20, 2013, 04:44:07 pm
You will need an MP3 Shield of some kind to do the decode.  Google can help there.

Since you talk about a browser you will also need some kind of network access.  That can be an Ethernet Shield if you have an Ethernet outlet handy.  The Ethernet Shield also has an SD (or Micro-SD) car slot for file storage.

If you need to use a USB Thumb Drive instead of an SD card you will need something like a USB Host Shield.

Once you add all this additional hardware you might be better off getting something like the DUE or even the RaspberryPie.

I found several MP3 shields, this one for example has an USB-port. The point is that I can't find any tutorials/example code on how to create a proper media player that allows me to play a certain file instead of skipping through all files (any suggestion as to where I can find this information?)

I got an ethernet shield, so that shouldn't be the problem... Once I know how to play a specific file it won't be too much work to do that by user input through the browser...

Let's say I got a 3 mp3 files on a thumbdrive connected to the music shield: CrossRoads.mp3, johnwasser.mp3 and niellles.mp3. I'd like to write a code that can do something like this:

play(c) (where c is the filename)

Instead of all the examples that I found so far where the files would be named : 001CrossRoads.mp3, 002johnwasser.mp3 and 003niellles.mp3. Arduino would start playing at 001CrossRoads.mp3 and I can only skip through the files.

As I said; I'm pretty new to this stuff so I hope that you guys understand what I'm trying to say...

I thought about the RaspberryPie but that doesn't seem the best solution. Do you mean the Arduino Due with "Due"? What would be the advantages of this board?

Yours,

Niels
3  Using Arduino / Audio / Create MP3 player on: February 20, 2013, 03:19:10 pm
Hi there,

I'm pretty new to Arduino and I really enjoy experimenting with it. At this point I got the basics; make some simple circuits, make some stuff blink, switch relays, control some stuff via a browser (using a ethernet shield).

The next thing that I'd like to create is a MP3 player that streams music to my amplifier (3.5mm jack), this seems more complicated than I had imagined. First of all; which Audio-shield would you guys recommend - there are so many different shields available?

I'd like to do the following:
List all available in a certain directory (preferably on a thumbdrive) in the browser, then play a selected file. So far I've only seen codes that just put all available files in one playlist and let you skip through that, I want to play specific files. I couldn't find any good tutorials on the internet.

Any thoughts on whether this is possible or any good tutorials? (Can I use my Arduino Uno for this, especially when I want the same board to switch 1 or 2 relays?)

Thanks in advance,

Kinds regards,

Niellles
Pages: [1]