The sensor continuously sends out infrared light and measures how much of that light is reflected. When a reflective object is within its set detection range, it returns a low signal. The Arduino ...
A small PlatformIO/Arduino project that measures distance using an ultrasonic sensor (HC-SR04 or similar) and prints the measured distance over the serial port. This README explains how to open the ...
How cool is this? Arduino (and Nextion) powered air hockey! Though it actually comes with a football spin... Thanks to the Arduino team for highlighting this one, a football-themed version of air ...
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 ...