I disassembled a very old optical computer mouse (so old that it has a PS/2 connector and not USB). I was mainly interested in the optical sensor chip, which I found and it has a lot of literature online that set me straight on how I can salvage it.
My question is regarding the rotary encoder for the scroll wheel
Here's the picture
The pointed thing is the IR blaster of course and the black thing on the other side should be the encoder. The scroll wheel sits in the middle of these two things.
There's my problem, I don't know what kind of rotary encoder that is. It doesn't have a parts number of anything. It just has 3 terminals, how do I figure out what terminal does what? I want to salvage it and use it with my arduino. Any clues?
Thanks in advance