PropMP3 : The Propeller Powered MP3 Player
Kit Morton
Posts: 39
Hi all,
Here is my first Propeller project.
The Prop MP3. An (almost) portable mp3 player controlled by the Propeller.
The PropMP3 player uses the uOLED96 and 9 buttons to display song the current song information and browsing a song database.
The mp3 files are read off an SD Card using a slightly modified version of the fsrwFemto object. The data is then sent to a vs1002 mp3 decoder chip that decodes and amplifies the music. The song database is set of five binary files that are stored on the SD Card, and copied to the EEPROM at runtime. This allows access to the song database even when it is reading mp3 data from the SD Card. The database stores the song name, genre, artist, album, track number, and track length. The database can be sorted by genre, artist, or album. The player allows for control over display contrast, audio balance, Left Channel Inversion (used to emulate surround sound), and random playback.
The main board is a custom circuit board that I had made by [noparse][[/noparse]url = http://www.pcb-pool.com/ppuk/info.html]PCB Pool. This circuit board integrates with a stripped down MODMP3 board for mp3 playback and a uOLED-96 for display. Due to a few mistakes in the circuit board it required 5 volt power from a external source, but hopefully I can fix this problem with a new board.
More pictures can be found here picasaweb.google.com/kitmor/PropMP3.
I have attached a copy of the code. It probably isn't much good if you don't have the hardware, and it certainly isn't the prettiest or the most efficient code, but maybe someone can get some good out of it.
Lastly I would like to thank parallax for giving us such a great microcontroller. Also I would like to thank everyone on this forum for helping me get on my feet with the propeller, it is so great to have such a helpful community around this awesome microcontroller.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PHRED, FIRST Team 847, Member
Go -> PHRED
Post Edited (Kit Morton) : 4/13/2008 3:32:49 PM GMT
Here is my first Propeller project.
The Prop MP3. An (almost) portable mp3 player controlled by the Propeller.
The PropMP3 player uses the uOLED96 and 9 buttons to display song the current song information and browsing a song database.
The mp3 files are read off an SD Card using a slightly modified version of the fsrwFemto object. The data is then sent to a vs1002 mp3 decoder chip that decodes and amplifies the music. The song database is set of five binary files that are stored on the SD Card, and copied to the EEPROM at runtime. This allows access to the song database even when it is reading mp3 data from the SD Card. The database stores the song name, genre, artist, album, track number, and track length. The database can be sorted by genre, artist, or album. The player allows for control over display contrast, audio balance, Left Channel Inversion (used to emulate surround sound), and random playback.
The main board is a custom circuit board that I had made by [noparse][[/noparse]url = http://www.pcb-pool.com/ppuk/info.html]PCB Pool. This circuit board integrates with a stripped down MODMP3 board for mp3 playback and a uOLED-96 for display. Due to a few mistakes in the circuit board it required 5 volt power from a external source, but hopefully I can fix this problem with a new board.
More pictures can be found here picasaweb.google.com/kitmor/PropMP3.
I have attached a copy of the code. It probably isn't much good if you don't have the hardware, and it certainly isn't the prettiest or the most efficient code, but maybe someone can get some good out of it.
Lastly I would like to thank parallax for giving us such a great microcontroller. Also I would like to thank everyone on this forum for helping me get on my feet with the propeller, it is so great to have such a helpful community around this awesome microcontroller.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PHRED, FIRST Team 847, Member
Go -> PHRED
Post Edited (Kit Morton) : 4/13/2008 3:32:49 PM GMT
zip
509K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley
Traffic is slow at times, but Parallax orders·always get here fast 8)
-Kit
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PHRED, FIRST Team 847, Member
Go -> PHRED
Nice job integrating everything. If future versions wanted to build off a uOLED-PROP-96 then perhaps they could use a uOLED-IOC from Brilldea (shameless plug, I know). For your design, how many lines of the properller would you say are "High speed" where you wouldn't want to run the data through a GPIO expansion chip? Nice graphics on the display too!
The little project I am working on right now (to be revealed in two weeks) would allow your MP3 player to be even more iPOD like.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter
www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
www.tdswieter.com
One little spark of imagination is all it takes for an idea to explode
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PHRED, FIRST Team 847, Member
Go -> PHRED
The uOLED-IOC, if configured in extended mode, would leave four I/O pins that are unspecified, and two that are also used for Tx/Rx that could beused used for "high speed". The GPIO would have another 16 pins. If I was to re write the driver for the GPIO so that it was ASM, then perhaps the speed of the update on the GPIO chip would be suitable.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter
www.brilldea.com·- check out the uOLED-IOC, an I/O expansion for the uOLED-96-PROP
www.tdswieter.com
One little spark of imagination is all it takes for an idea to explode
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1010, so be surprised!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1011, so be surprised!
Advertisement sponsored by dfletch:
Come and join us on the Propeller IRC channel for fast and easy help!
Channel: #propeller
Server: irc.freenode.net or freenode.net
If you don't want to bother installing an IRC client, use Mibbit. www.mibbit.com
Multiplexer?
http://en.wikipedia.org/wiki/Multiplexer
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-=Sachiel7=-