Photoelectric sensors are sensors used to detect an object’s colour and distance. These sensors are location sensors that use diodes that emit light as the source of light. The sensor….