Create Optical Sensor