OK, you probably have a very good reason to use the USB mouse. If not, I would use an ordinary mouse. I know that much of USB after reading some books about it that I wont use it unless I had a project that did not absolutely need it. Maybe you can do some reverse engineering on the vend= or number and other stuff in the USB mouse and find away around a complete master but I still would go for an ordinary mouse. But maybe you just wan= t to have it as a project to play and learn with and then I wish you good luck. Niklas Wennerstrand -----Ursprungligt meddelande----- Fr=E5n: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.ED= U] F=F6r Douglas Butler Skickat: den 14 juni 2001 20:25 Till: PICLIST@MITVMA.MIT.EDU =C4mne: Re: [PIC]: PIC as USB Master? In my case I don't need it to be a general purpose USB master. It only has to handle one specific type of mouse. I was thinking I could skip all of the enumeration and identification stuff. If anything other than that model of mouse is attached it can send a fatal error message and halt. Douglas Butler (aka Sherpa Doug) Senior Engineer Imetrix Inc. 1235 Route 28A P.O. Box 152 Cataumet, MA 02534-0152 tel. (508) 564-6460 Fax (508) 564-6860 dbutler@imetrix.com > -----Original Message----- > From: Niklas Wennerstrand [mailto:niklas.wennerstrand@TELIA.COM] > Sent: Thursday, June 14, 2001 2:01 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: PIC as USB Master? > > > I'm not a USB guru but my guess is that's impossible to make > a PIC a USB > master. > I base that guess on that the USB protocol is not a walk in > the park and its > developed by guys like Microsoft. If it was easy I guess that > USB support > under Linux would have been developed much faster than it > have. My guess is > that it require a lot off code and memory (That is not a > problem with todays > PC). As Linux is open source you might take a look on how its > done in Linux. > My guess is that you will see a lot of code and realise that > that will never > fit a PICmicro. USB is a standard and to conform to that > standard requires > that you have the full support and do not strip it. If you > could strip it > then it would not be USB. > Niklas Wennerstrand > > > -----Ursprungligt meddelande----- > Fr=E5n: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] > F=F6r Douglas Butler > Skickat: den 14 juni 2001 15:13 > Till: PICLIST@MITVMA.MIT.EDU > =C4mne: [PIC]: PIC as USB Master? > > I would like to connect one or two USB optical mice to a PIC > (or Cypress > if necessary) microcontroller for a motion digitizer project > with no PC > involved. I can find very little info on how the write code > for the USB > master. Minimal mouse function and usual mouse data rates are fine. > > Can anyone help? > > Douglas Butler > Senior Engineer > Imetrix Inc. > 1235 Route 28A > P.O. Box 152 > Cataumet, MA 02534-0152 > tel. (508) 564-6460 > Fax (508) 564-6860 > dbutler@imetrix.com > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body