Transmissive Optical switch sensor with Phototransistor Output photo interrupter sensor