The VCNL4010 sensor is a nice way to add a small-distance proximity sensor to your microcontroller project. For longer distances (in the range of cm, you can use a
guides with product
Out of Stock
How to use the VCNL4010 proximity and ambient light sensor with Arduino or CircuitPython!