This project demonstrates how to use an IR infrared sensor module with an Arduino Uno to detect the presence of objects. The IR sensor emits infrared radiation and detects reflected radiation from ...
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 ...