Create Photo_diode_and_proximity_sensor