Proximity sensors detect the presence or absence of objects using electromagnetic fields, light, and sound. There are many types, each suited to specific applications and environments. Proximity sensors detect the presence or absence of objects using electromagnetic fields, light, and sound.
Good luck my friend!!