SmartBin opens its own lid when a hand approaches, then measures its remaining capacity in real time via an ultrasonic sensor, shown directly on an LCD screen and three LED indicators.
Two sensors read the bin's condition, the Arduino Uno processes it, then three outputs inform the user.
Detects a hand or object at the bin's opening as a signal to open the lid.
pin D2Measures the distance to the trash surface, converted into a capacity percentage.
trig D3 · echo D4Calculates the capacity status (empty / nearly full / full) and controls all outputs.
system brainThe lid opens for 2 seconds via the SG90 servo, status shown on the LCD and LED, buzzer marks the action.
pin D5–D9All 18 components are available at local electronics stores, with the Arduino Uno as the sole controller.
| Bin capacity | 20 liters |
| Bin height | ± 40 cm |
| Power source | 9V adapter |
| Main controller | Arduino Uno R3 |
| Sensors | HC-SR04 + Infrared |
| Output | 16x2 LCD, LED×3, Buzzer, Servo |
| LCD I2C address | 0x20 |
Circuit schematic, firmware code, and the complete manual book are available to anyone, free and open.