Searching \ for '[EE]: IDE-CDROM Commands' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=ide+cdrom+commands
Search entire site for: 'IDE-CDROM Commands'.

Exact match. Not showing close matches.
PICList Thread
'[EE]: IDE-CDROM Commands'
2001\10\08@173445 by lu01ts

picon face
Hello picsters,

I would like to build a cd-player for my stereo from an old computer
IDE cdrom. My 'problem' at the moment is how to tell the cdrom to skip
to the next/previous title to start/stop the music playing.

These are simple things to be done with pc-software, but I would like
to build my own interface containing an ir-receiver which gets the
commands from a remote control an send them to the cdrom via the
ide-interface (or whatever simlilar way) to the cdrom.

Hope the project is described that everyone understands what I want to
do.

So anyone with an idea how to do this please write back.

Greets,
      Michael

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


2001\10\08@194838 by David Duffy

flavicon
face
Michael wrote:
>I would like to build a cd-player for my stereo from an old computer
>IDE cdrom. My 'problem' at the moment is how to tell the cdrom to skip
>to the next/previous title to start/stop the music playing.
>
>These are simple things to be done with pc-software, but I would like
>to build my own interface containing an ir-receiver which gets the
>commands from a remote control an send them to the cdrom via the
>ide-interface (or whatever simlilar way) to the cdrom.

As far as I can see, you need to get the TOC from the drive and then tell
it to play from the start to the stop point. When it's playing you can pause,
resume or stop it without specifying anything else. I'm not sure if anyone
has found any general next/previous track commands. The ATAPI docs
that I have don't show anything like that. A lot of the commands require
that you specify the MSF (minutes, seconds, frames) position on the disc.
I have done some of the commands as part of a commercial project.
Regards...

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu


2001\10\09@014103 by Dennis Noordsij

flavicon
face
In a faraway galaxy, lu01tsspamKILLspamGMX.NET wrote on Tuesday 09 October 2001 00:32 :
> Hello picsters,
>
> I would like to build a cd-player for my stereo from an old computer
> IDE cdrom. My 'problem' at the moment is how to tell the cdrom to skip
> to the next/previous title to start/stop the music playing.
>
> These are simple things to be done with pc-software, but I would like
> to build my own interface containing an ir-receiver which gets the
> commands from a remote control an send them to the cdrom via the
> ide-interface (or whatever simlilar way) to the cdrom.
>
> Hope the project is described that everyone understands what I want to
> do.
>
> So anyone with an idea how to do this please write back.
>
> Greets,
>        Michael

Hi Michael,

I am working on the exact same project right now :-)

For someone who has already done it, visit the Atapi-Man at
technology.niagarac.on.ca/students/jknott/atapi/
although he does not supply any code, schematics, or otherwise very useful
information. Still, it's good for the moral support.

You need a lot of I/O pins to talk to IDE, so either use some shift registers
with a PIC16F84, or take the easy way like me and use a PIC16F877. Gives you
more codespace too if you later want to try streaming MP3's off it (and thus
require a ISO9660/Joliet filesystem driver).

There are a bunch of examples on the Net for talking IDE, even a straight
PIC16F877 code example I think (if I can find it :). They should at least
show what you are supposed to be doing in what way and at what time.

IDE is the same as ATA, and you use IDE/ATA commands first to initialize the
drive, maybe get some information from it, etc. Then the play/stop/skip
commands etc are ATAPI, which is a 12 byte command embedded in a special
ATA/IDE command. Once you have one command working (for example eject), play
and the other commands are not far off :-)

Today I should finish a veroboard with the PIC16F877, IDE, adequate power for
the CD-ROM (mine says 1.2 Amps @ 12 volts and 0.4 Amps at 5 volts, you need
to give it both) and then I can start playing with the software.

It's not as easy as it at first might look, but I'm sure it's very doable :-)

Goodluck!
Dennis

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...