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 ...
This project uses an Infrared (IR) Sensor with an Arduino UNO to detect the presence of nearby objects. The IR sensor detects objects using infrared light and sends a digital signal to the Arduino.