-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Just a note: Kevin, please don't use a reply-to address with your piclist email. It caused my reply to go straight to you, and not to the list. Many people on the list do not appreciate telling only one person their answer. Now back to my original message. - --- I assume that the mouse has two of these encoders, no? If so, look at the voltages on the still functioning encoder, and try to hack the circuit out from there. Also, I've been pretty sure that mice usually operate on two IR LED/Phototransistor pairs. So, each wheel has two sets, and they produce a quadrature output when placed properly. That will take some adjusting to get it right. Once you have a quadrature output, you can either use a commercial quadrature decoder chip (eg. LS7084. Go to www.chipcenter.com/questlink to find datasheets), or write your own software to handle it. - - ----- Original Message ----- From: "Kevin A. Benedict" To: Sent: Wednesday, August 14, 2002 11:34 AM Subject: [PICLIST] [EE]: Mouse Encoder Circuit Question > Hi, > > I am trying to hack a mouse encoder to use as a shaft > encoder for a mobile robot. I removed the slotted wheel, > IR LED, and what I assume is a photo-transistor from a mouse. > The Phototransistor is housed in black plastic and > has three leads. I was wondering if anyone could give me > a circuit so I can interface the (photo-transistor ?) to > a PIC. I want to power the IR Led and then use the int on > change function of portb to record the pulses from the > photo-transistor. ( It mat not be a photo-transistor, > but that's my best guess) > > I have spent several hours searching the net for a circuit > on how to do this, but no luck. > Any help would be appreciated. > > Thanks, > Kevin > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBPVrYbgVk8xtQuK+BEQIKzgCg586D9Pwckb29OsoZWDaxC7V4O4kAn1Sg QHvHQxMLf2SWTpbtH5rGWCrw =09jn -----END PGP SIGNATURE----- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu