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:

  • avoiding physical contact, no germs transmission
  • reducing the need for collection visits
  • alerting in case of fire

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.

schema.jpg tinkercad_.jpg

Hardware Design

List of components:

  • Arduino UNO
  • Ultrasonic Distance Sensor - HC-SR04 x2
  • Servo motor (Tower Pro MG996R)
  • Temperature sensor DHT11
  • Jumper Wires
  • Breadboard

Software Design

Code Description:

  1. libraries for servo motor and sensors are included
  2. components' pins are declared
  3. setup() function: data pin of the servo motor, INPUT pins(ECHO) and OUTPUT pins(TRIGGER) are configured
  4. 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

pm/prj2022/cstan/17.txt · Last modified: 2022/06/02 08:40 by Mihaela.Manciu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0