I recently disassembled an old digital point and shoot camera and found the following micro DC motor (as can be seen in the image)
It is probably part of the auto focus system. Also, there is a slotted disk connected to the shaft of the motor and this slotted disk sits in a circular cavity with two sensors (looks like light interrupter sensor).
Now, there are five wires that are coming to these sensors one wire is common between the two (the central wire). I think this encoder works by giving pulses when the disk passes through it, but I am not sure if that really happens. I wish to use this circuit but I do not know what are the 5 wires to the encoder. Is anyone here familiar with this encoder and its working?
Can it be something like this?