This code is to use E18-D80NK Infrared Sensor to detect obstacle and trigger an event like starting or stopping motor or servo or relay or anything else. // Writeen by Ahmad S. for Robojax.com on // ...
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 ...
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 ...
Some readers may recall building a line-following robot during their school days. Involving some IR LEDs, perhaps a bit of LEGO, and plenty of trial-and-error, it was fun on a tiny scale. Now imagine ...