Reflective Optical Sensor with Transistor Output