The SD structureIn this post I'll try to explain a little the code of our 'Jukebox' Arduino hearted .
The main problem I found for this project, was the limitation SD library, with reduced FAT which only allowed the names in 8.3 format.
The solution was to create a small catalog in a text file from which to read the entries.
The directory structure on the SD has the following format:
raiz +-artistas.txt +-[ARTIST01] | +-album.txt | +-[ALBUM01] | | +-track.txt | | +-track001.mp3 | | +-track002.mp3 | | ..... | | +-track0nn.mp3 | +-[ALBUM02] | ....... | +-[ALBUMnn] +-[ARTIST02] ..... +-[ARTISTnn]
This means there are three levels: artist, album and track. Each level has a text file with the catalog entries (a line of text for each artist, album or song).
The names of the folders and files must be such as are in the scheme (you can always change the code).
It's a bit cumbersome to create the card, but ... worthwhile. I used a program that makes it much easier MP3Tag, enabling export to text tracks of a directory and rename mp3.
I present this new Arduino project: A full MP3 player based on Arduino.
As you can see in the photo, the idea was to build a standalone player, in the style of antique radios or 'tapes', in the age of Iphones ....
The player uses a small module based on the VS1002d chip (now discontinued, but who had a drawer). The module in question I bought at Futurlec . Currently you can get similar modules on ebay for a bit more than 10$, although the chip is the VS1003 o VS1053. You can also use a SparkFun MP3 shield, but significantly more expensive (this shield already includes an SD slot).
The three chips are quite compatible in terms of programming, and indeed almost all initialization the I have taken from the library to the SparkFun MP3 Shield ;-)
Adafruit (2) addressable led strip (2) Arduino (11) Arduino Pro Mini (2) Christmas (1) Control Remoto (1) DHT11 (1) DHT22 (1) DS1307 (1) DS3231 (1) FFT (2) led pixel (1) Led strip (2) Lights (5) Microphone (1) MOC3041 (1) MP3 (2) MP3 Player (2) Neopixel (1) Optocouplers (1) Power (1) Remote controller (1) RGB Led (5) SD (2) Triac (1) TSOP1738 (3) ULN2003 (1) vs1002 (2) vs1003 (2) vs1053 (2) WS2811 (3) WS2812 (4) WS2812b (3) Xmas (1)
Arduino Mp3 Payer II (code) > I present this new Arduino project: A full MP3 player based on Arduino . As you can see in...
Kaleidoscope with Arduino and RGB LED strips I present a new Arduino project : a Kaleidoscope (or something similar), with a list o...
Taking advantage of the previous post, we are going to add an IR receiver to the circuit so that we can vary the color and brightness of the...
< Arduino MP3 Player I (circuit) The SD structure In this post I'll try to explain a little the code of our 'Jukebox...
Christmas comes, and nothing more typical than riding a Christmas tree to give a bit of atmosphere. They come in many types, but this is ...
Candle with remote control and Arduino Pro Mini Here I present another project based on a addressable LEDs strip, based on WS...
<< Arduino light organ (I) - Introduction Arduino light organ (III) - Power stage >> Obtaining the signal As ...
Arduino light organ (II) - The circuit >> Introduction Those who have a few years as I, recall that back in the 1980s, in any di...
<< Arduino light organ (II)- The circuit WARNING: In this part is used mains voltage, which can carry risks. If you do not have en...
Well, let's start with a 'dumb' for begin. The idea is that a RGB LED simulate the effect 'Rainbow' as some by thems...
Powered by Blogger.