The document describes an infrared sensor that measures distance and sends a signal to a microcontroller if an object is within a certain limit. The microcontroller then sends signals to a DC motor that causes a bin to open, working to automatically open the bin when an object is detected.