Shop OBEX P1 Docs P2 Docs Learn Events
Homemade Mp3 Player — Parallax Forums

Homemade Mp3 Player

BTXBTX Posts: 674
edited 2008-03-25 12:30 in Propeller 1
Hi all !!

This is what I've done for my living room, each family member will use their pen-drive to listen their favorite music.
This mp3 is a Vmusic2 based, with an OLED-128-GMD1 as display, and a propeller of course.

I took some code from "AlGorithm" member, and I modified some of it, to avoid some errors in the original code.
Another good point to comment is: "AlGorithm" talk about different jumper position to get the UART mode working, my experience was, that I bought the vmusic just a few weeks ago, and it's come with a not actualized internal firmware, so, you MUST actualized it for the new version (V3.63) to get the vmusic working correct, doing that, you will have coincidence between the vmusic manual, and the reality (ie. the jumper for SPI/UART position).
I also erase the "ECS" command in his code. I added too, some volume control to the vmusic2 driver (more simple), but I don't use it in my player.
For vmusic control, I add some keys (micro switches) in the P0..7 lines.
The coding is poor.... anybody could get it better, but it works fine, and is a good point to begin, for people that want to do a mp3 player.

I used 7 micro switches to get the following functions:
1- FF & Next track
2- Stop
3- Play/Pause
4- REW & Rewind

5- Oled On-Off
6- Ramdom play (activate/deactivate) (Must be used while the mp3 is in "stop mode" ).
7- Repeat all (activate/deactivate) (Must be used while the mp3 is in "stop mode" ).

Here's the code and some pictures of it, you also can see a demo in:



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.

Alberto.

Envio editado por (BTX) : 3/25/2008 12:20:08 AM GMT
640 x 480 - 42K
640 x 480 - 133K
640 x 480 - 42K
640 x 480 - 55K

Comments

  • BTXBTX Posts: 674
    edited 2008-03-25 00:19
    Another picture:

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
    640 x 480 - 117K
  • william chanwilliam chan Posts: 1,326
    edited 2008-03-25 00:30
    Where to buy the vmusic2 module?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • BTXBTX Posts: 674
    edited 2008-03-25 00:32
    Visit www.vinculum.com or simply in mouser.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • ColeyColey Posts: 1,110
    edited 2008-03-25 00:45
    Alberto, that is pretty sweet man!

    Nice work....

    Coley

    Post Edited By Moderator (Chris Savage (Parallax)) : 4/1/2008 5:35:22 PM GMT
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-03-25 00:48
    Awesome MP3 player!
    Too bad it's also one of the most expensive I've seen in 10 years!

    Still, better to have something you built than a black box... [noparse]:)[/noparse]
    Question: What is the unique Propeller board on the top back?

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Getting started with the Protoboard? - Propeller Cookbook 1.4
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card? - PropDOS
    A Living Propeller FAQ - The Propeller Wiki
    (Got the Knowledge? Got a Moment? Add something today!)

  • BTXBTX Posts: 674
    edited 2008-03-25 00:55
    Thanks Coley, thanks OBC... !!

    And yes ..I forgot to mention that...It's the most expensive in the world mp3 player smile.gif

    @OBC
    That propeller board was made for my big led screen last year....now I'm taking advance of them, to build some QFP propellers in a easy way... only that. So there are many chips not soldered in the board.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • computer guycomputer guy Posts: 1,113
    edited 2008-03-25 05:33
    Looking great BTX. smile.gif

    So when will I get to see the pics of that big led screen? smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Check out my robot using the propeller RECONAUTOR
    If you like my avatar then check this out Propeller Domed Stickers for sale
  • BaggersBaggers Posts: 3,019
    edited 2008-03-25 10:22
    Looks great BTX, PS, what is the total costing? [noparse]:D[/noparse]

    computer guy, he posted them last year. http://forums.parallax.com/showthread.php?p=639825
  • BTXBTX Posts: 674
    edited 2008-03-25 11:41
    Thanks computer guy, thanks Baggers !!

    The final cost was : (in my country)
    $120.- Oled
    $37.5 plus shipment of the Vmusic2. (I bought two...& I share this cost..$35.- for me)
    $20.- Propeller
    Power supply from an old cell phone charger, eeprom, board, box, etc.
    Lots of money for an homemade mp3 smile.gif

    PS: And i will post early, more videos for the big led screen again.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • AleAle Posts: 2,363
    edited 2008-03-25 11:55
    Sorry for the spanish:

    Hola Alberto, como te va? Solo de curiosidad, donde mandaste a hacer las placas (Yo solia mandar a hacer a un muchacho en Liniers, lo tenia loco con la peque
  • BTXBTX Posts: 674
    edited 2008-03-25 12:02
    Hola Ale !! todo bien !!
    Las mande a hacer a "Eleprint", si,... por aqui en Liniers...pero tambien antes se las daba a "Tiwar" (tambien por la zona).
    Los propellers se los compro a "Aristides Alvarez", un distribuidor de Parallax que esta en Mar del Plata.
    Un abrazo !!

    (In English)
    I commented him, the places where I bought the propellers, and where I made the pcbs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • AleAle Posts: 2,363
    edited 2008-03-25 12:23
    Tiwar !, that was the name... I forgot. I still know how to go there... you just walk endless number of blocks...
    By the way, which speed did you reach with your 8 bit interpropeller bus ? (In the led curtain).

    Abrazos
  • BTXBTX Posts: 674
    edited 2008-03-25 12:30
    Yes, but Juan Carlos from Tiwar, now is living in Spain......
    I get about 400Kbytes/sec, because the SD reader code. Then, I get it down to 15fps of 18432 bytes RGB each.
    It's working fine !!.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
Sign In or Register to comment.