To make sure the photoelectric sensor works, set its temperature to zero. It is necessary to provide these electronic components with a voltage of 0 to make them work in a circuit or system. A photoelectric sensor is considered ideal if its response time is 500μs.