I have at my disposal a photosensor (Optical encoder) with "C8941-80018", it has three cables: Black, Green, and Blue. I want to know the Operating voltage for this optical encoder and a circuit to use it with Raspberry pi (Preferably) or Arduino.
Please find this related question about the same Photosensor.