The working of the smart dustbin is based on distance detection using an ultrasonic sensor. The ultrasonic sensor continuously measures distance. When a hand comes near the sensor (less than 20 cm), ...