Arduino Mp3 Player - Arduino Jukebox

Saturday, November 10, 2012 0 Comments:

Arduino MP3 Project!

A jukebox in the age of Ipods!

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 ;-)

Elements of Arduino mp3 player :
  1. Arduino
  2. Mp3 module based on chip VS 1XXX
  3. SD Module (It is also available on ebay)
  4. 4x20 characters  LCD
  5. Small amplifier
  6. 2 speakers.
Both the SD as the MP3 module are connected to the Arduino using the SPI bus. The LCD is connected in 4 bits mode to save Arduino pins.
This is a table with the connections between  Arduino and the other components. In parentheses, the name of the individual connections on modules (and the pin in the SD card). 

PIN Arduino MP3 ModuleSD CardLCDButtons
4---- ENABLE  --
6CS (XCS)------
7DCS (BSYNC)   ------
8------Encoder A
9--CS (CD/DAT3-1)   ----
10------Encoder B
11MOSI (SI)MOSI (CMD-2)----
12MISO (SO)MISO (DATO-7)----
13CLK (SCLK)CLK (5)----

Both the MP3 module and SD card work with 3.3 V, making it necessary adjust the levels to make them compatible with the Arduino 5V. The simplest option is to use voltage dividers with a pair of resistors. For the signals to the micro is not necessary, the 3.3 V are interpreted as high level without problem.

The schema is as follows:
Arduino MP3 Player Schema
According to the modules that you use for MP3 and SD, you will have to set the pins of the connectors (the order shown in the diagram does not correspond to any particular module).

If you use the SparkFun MP3 shield, Read  the documentation to set the pins for both CS and for SD MP3 and modify it as necessary in the source code.

Arduino MP3 Player VS1002 VS1003 VS1053

In the next post the code ...

Hope you enjoyed, please comment! :)


Post a Comment

Hope you enjoyed :)


©Copyright 2011 PHIFLOW PLATFORM | TNB