Smart Trash Can
Name: Manciu Mihaela
Group: 1222A
Introduction
This project aims to solve a few problems related to the garbage management in a public area. Managing our waste in a smarter manner is a pioneer of innovative smart city solutions.
General Description
This automated trash can opens and closes its lid if it detects any rubbish in front of it. The sensor is located above the lid and, using a servomotor, the lid opens automatically. Under the lid there is another sensor that detects when the bin filled up and alerts the sanitation department to empty it before it is full. Additionally, if fire is detected inside the bin, the temperature sensor will send an immediate signal to notify those responsible for the bin.
Advantages:
In the future a more effective solution would be to activate a compressor to put the fire out and to implement a compaction system to maximise bin capacity.
Hardware Design
Software Design
Code Description:
libraries for servo motor and sensors are included
components' pins are declared
setup() function: data pin of the servo motor, INPUT pins(ECHO) and OUTPUT pins(TRIGGER) are configured
loop() function: firstly it verifies if there is any fire inside the trash can(if yes, sends a message), then checks if the trash can is full(if yes, sends a message) and then the servo motor opens the lid if the distance between hand and lid is less than 10 cm.
Demo: https://youtube.com/shorts/nSU-zeMt16w
Bibliography/Resources