A proximity sensor is a device used to detect the presence or absence of objects within a specific range without physical contact. It operates by emitting an electromagnetic field or a beam of radiation, such as infrared, and measuring changes in the signal caused by the presence of an object. Proximity sensors are widely used in various applications, including industrial automation, automotive systems, and consumer electronics. They enable features like touchless operation, object detection, and collision avoidance. Their ability to operate without direct contact makes them ideal for environments where contact-based sensing would be impractical or undesirable.
https://www.geya.net/different-types-of-proximity-sensors/