Sensors
IRProxSensor provides a class to control an Infrared Proximity sensor.
These sensors have an IR emitter LED and an IR receiver LED. When an object passes in front of the sensor, the transmitted IR is reflected back and detected - providing a sensor that triggers when something gets close enough. For example HiLetGo makes such a sensor (HW-201) that responds to an obstacle 2 to 30 cm away depending on theobject.
Maintainer: Dean Gienger
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.