Hi all:
I recently salvaged what I believe to be a video game controller originally used with some kind of automotive simulator. The plastic box, made by Logitech, had an automotive steering wheel (which I didn't keep), but inside was a nice steel bracket holding two DC motors. On the rear of one of the motors is a small circuit board labeled "Hobbes Optical encoder". On the circuit board itself are a resistor, a little blob that looks like a capacitor (though it is labeled "RT1"), an LED and a four-terminal device which I believe is an optical sensor (labeled "LQ2"). There is a slot in the circuit board through which protrudes a plastic wheel having slits in it, this wheel being affixed to the shaft of one of the motors.
A bit of Googling informed me that this apparatus is a speed sensor. What I'd like to know is how to hook it up to do some experiments. There are five wires coming off the circuit board: black, yellow, white, green and red. Obviously, the thing needs power, which would account for two wires. What I'm wondering is what kind of a signal I should be looking for and from which wires. At present, I do not have an oscilloscope, but in a short time I hope to be able to save enough money to order a Rigol 4-channel model. Am I right in supposing that the optical encoder will output a square wave whose frequency varies with the speed at which the motor turns? It seems to me that would require only two wires, leaving me to wonder about the remaining three. If two are for power, that still leaves one wire not accounted for. Any hints or suggestions would be most welcome.