Then evive prints this data on the screen. The servo on the lid is used to sense the content quantity into the bin.Īs soon as the lid closes, the servo senses the percentage of the bin filled and send the data to evive. The servo horn stays downwards for 3 seconds, before returning to its original position closing the lid. This returns in the opening of the lid of the dustbin. In return, evive instructs the servo, causing the servo horn to turn downwards, pulling the thread along it. Thus, as you go forward to throw the trash into the bin, the sensor sends the data to evive. The Ultrasonic at the front will sense your presence. Make sure that you keep the wires out of the bin. Step 2: Connection with eviveĬonnect the two Ultrasonic Sensor and the Metal Servo to evive as shown below. Onto this lid, glue the other Ultrasonic Sensor.Ĭonnect the Sensors and the Servo to evive as given in the next step. Once done with this assembly, open the lid of the bin.
Take a small thread whose one end is tied with the servo head and other to the opening/closing mechanism of the bin. Now attach the servo horn on top of the servo head.
Then take the Metal Servo motor and Glue it at the back of the Trash Bin where the opening/closing mechanism of the bin was held. Glue the Ultrasonic Sensor onto the Trash Bin using the Hot Glue. Take the Ultrasonic Sensor and the Trash Bin.