Inductive sensor

Photoelectric proximity sensors are a class of sensors used to detect the presence or absence of an object. They use light, electromagnetic fields or sound to achieve detection and determine the proximity of an object without contact.