> >From David Duffy > >The 3 pin IR detector may be 2 IR detectors with a common lead? > >Does the encoder have 2 sections - one 2 pin and the other 3 pin? > >I'd think that it'd have to otherwise it couldn't detect the direction. Kevin wrote: >I got a nice Infrared Picture of the phototransistor, >and three other pictures of the mouse circuit, about >200kb all together. >http://www.members.dca.net/kben/misc/mouse.html >Like they say, a picture is worth a thousand words. It's too hard to see the transistor properly in the picture. I just opened up a cheap mouse here and it looks like each IR receiver is indeed a dual unit. One pin on each receiver goes to +5V and the other two pins on each go to the micro using 4 port pins in all for detection. The IR LEDs are wired in series with a 1K2 resistor & hung between 0V & +5V. Yours should be very similar. The Q1 & Q2 designations are a bit misleading. They're not photo-transistors in the "normal" sense of the 3 pin variety with a base connection. :-) I hope this helps. Regards... ___________________________________________ David Duffy Audio Visual Devices P/L U8, 9-11 Trade St, Cleveland 4163 Australia Ph: +61 7 38210362 Fax: +61 7 38210281 New Web: www.audiovisualdevices.com.au ___________________________________________ -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads