Equipment used to discover the distance, absence, or presence of an object by using a light transmitter and a photoelectric receiver