is there any code in picbasic pro for converting a cdrom to a cd player like MuCop.
is there any code in picbasic pro for converting a cdrom to a cd player like MuCop.
Originally Posted by mech
There sure is!
Every single code and command in PicBasicPro, the 'sub-commands', all of the parameters, and every single variable accessible with PicBasicPro can be used to turn a cdrom into a CD player.
The big trick is to figure out which combination to put them together in and to use them.
wow...
Well then you'll have to do what the rest of us did and learn how to program and how to build electronic circuits... or pay a developer to do it for you which will cost you a grand !!Originally Posted by mech
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
or find an old PC and control everything via serial port.
here we can find tons of old PCs (from XT to Pentium II) for about 100$... big deal
Sure it's bigger
OR you may decide to learn the ATA protocol and find some explanation here and there... it already hit my mind but i don't think it's really handy now as the memory cards (SD, USB) are quite cheap. Some MP3 decoder IC are also available for few bucks... so everything you need to be happy
http://www.vlsi.fi/
Bellow is an example of a Wav player.. OK OK OK it's not in PBP... sorry.
http://www.sfcompiler.co.uk/wiki/pmw...SDMMCWavPlayer
Last edited by mister_e; - 5th December 2006 at 15:54.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks