At 16:25 29/04/2003 +0200, QAC wrote: >That sounds logical of course, *but*... > >There are three sensors with three pins each. >Each has one pin to GND, one pin via a common >inductor ("W1" ?) to power, and *ONE* pin each >connected to the IC. So, in some way, they >talk to IC via one pin for each sensor. And there >os one sensor for the wheel and one for each >"direction" of movement. As I said you need two sensors per wheel to determine direction. These two sensors can be physically closer or far apart depending on which mouse you're looking at. From your description I assume that what you have is 2 leds + 2 sensors per wheel (can't see how it can be three sensors). The IR sensors will be biased appropriately and the current flow through them measured (ADC in the microcontroller) to determine the direction and rate of movement. >So my bet is that this are some kind of sensors >with some builtin logic. Don't think so :) G. >Well, maybe better to breadboard a sensor and take >out the scope... > >Jan-Erik. > > >Guillermo Rodriguez Garcia : > >You don't apply "power" to a sensor. An IR sensor is just > >a photodiode whose response will vary depending on how much > >light it receives within the IR band of the spectrum. > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.