A minimal example that reads a digital IR (obstacle/proximity) sensor on pin D2 and lights the onboard LED (pin 13) when an object is detected. The project is configured to build with PlatformIO for ...
I recently had to build an infrared close proximity sensor that could tell if something was dropped in a parcel delivery drop box. After some searching, I ended up using a microcontroller and a piece ...