If the purpose is to play music, then you can just buy an MP3 player with 256MB memory, from US$15 to US$30, and put a lot of music inside, and then control the player buttons via a PIC.
That would be so simple.
Just find an appropriate MP3 player that will make it easy for you to control its buttons.
Ohh, I just realized that you can also control the buttons of a CD-Player with a PIC, too. Then in your case, you will need to find a CD-ROM that has play, stop and track, buttons on board. I am not sure if they are still making those.
Connect the buttons to PIC pins, and make the pins either HIGH or LOW as to say push and pull.
But if this is not your weekend spare-time project, then you will need to contact the factory that made the CD-ROM you have in mind, and ask them to provide you the codes for playing CDs.
----------------------
Last edited by sayzer; - 5th December 2006 at 09:36.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks