Distance Approximation Using IR LED, IR Receiver Photodiode  And OpAmp

This project shows a simple way to estimate an object's distance using an infrared LED and a photodiode. It works by detecting the change in reflected infrared light, allowing us to gauge how near or far the object is. An OP-AMP is set up as a comparator to control LEDs, giving a visual cue of the distance.