Proximity detection sensors measure reflected infrared (IR) energy to detect the presence of an object or person. The devices include an integrated LED driver and, in some devices, an integrated LED. ... Proximity detection sensors can be used to replace a mechanical switch or to sense human gestures.
Circuit diagram
#https://drive.google.com/file/d/17eYH...