Plug your FTDI board or cable into your computer. The drivers should install
automatically. If they don't, see the instructions at
for your computer
and operating system.
3. Install the LilyPad MP3 Player libraries.
Download the latest LilyPad MP3 Player software from the
at
SparkFun.com.
Open the archive, and drag the contents of the "Arduino" folder into your personal
Arduino sketches directory (this is usually called "Arduino" and will be in your
documents folder). This will install a "libraries" folder with several new libraries, and a
"LilyPad MP3 Player" folder with example code.
If it's running, restart the Arduino IDE.
4. Upload the "Player" sketch.
Connect a Lipo battery (or other power source) to the LilyPad MP3 Player.
Connect your 5V FTDI board or cable to the LilyPad MP3 Player. (The yellow "charge"
LED may light up, that's fine.)
Turn on the LilyPad MP3 Player's power switch. The red LED should light up.
Start the Arduino IDE, and load the "Player" sketch from the "LilyPad MP3 Player"
folder.
From the IDE's "Tools/Board" menu, select "Arduino Pro or Pro Mini (3.3V/8MHz)
w/ATmega 328"
From the IDE's "Tools/Serial Port" menu, select the port that your FTDI board or cable is
using. This is usually the highest number; you can be sure if you unplug the FTDI and
the number disappears.
Upload the "Player" sketch to the LilyPad MP3 Player. If you have compilation problems,
double-check that the required libraries were installed correctly from step 3 above.
Once the code is loaded and running, the RGB LED on the rotary encoder will blink if
there is no micro-SD card installed. This is normal.
5. Place the audio files of your choice on a micro-SD card.
The LilyPad MP3 Player understands a wide variety of
. The filenames can
be anything as long as they use one of the standard file extensions (MP3, WAV, AAC,
MID, etc.).
The only limit to the number of audio tracks you can have on your SD card is its storage
capacity.
Page 18 of 28