is there cd player code in picbasic


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2006
    Posts
    3

    Default is there cd player code in picbasic

    is there any code in picbasic pro for converting a cdrom to a cd player like MuCop.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mech
    is there any code in picbasic pro for converting a cdrom to a cd player like MuCop.

    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...

  3. #3
    Join Date
    Dec 2006
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    but, how? i want to execute it.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mech
    but, how? i want to execute it.

    I give up...

  5. #5
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mech
    but, how? i want to execute it.
    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 !!

  6. #6
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    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

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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.

  8. #8
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking Old grumphy's memory

    Some years ago, Elektor published a project using a HDD controlled by a µC for that purpose ...

    ....

    "just" need to find it !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  9. #9
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    I just posted this for IDE Hard disk controlled by a PIC.

    http://www.picbasic.co.uk/forum/show...9148#post29148


    ----------------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. sample code for AT45DB642D in Picbasic Pro
    By itsssyam in forum General
    Replies: 0
    Last Post: - 10th March 2010, 06:01
  2. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  3. How to configure SPI in PICBASIC PRO?
    By moogle in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th April 2007, 18:31
  4. using AND as an IF statement
    By dw_pic in forum mel PIC BASIC
    Replies: 27
    Last Post: - 8th June 2006, 18:05
  5. PicBasic code problems with a 16F84A
    By Lauren Barta in forum mel PIC BASIC
    Replies: 3
    Last Post: - 30th May 2006, 22:50

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts