Home > Blog > Automatic Trash Can Using Arduino Based Embedded Platform

Automatic Trash Can Using Arduino Based Embedded Platform

Summary of Automatic Trash Can Using Arduino Based Embedded Platform


This article outlines a DIY project to create a smart trash bin that automatically opens upon detecting a user's presence and monitors fill levels. Using an evive controller, two ultrasonic sensors, and a servo motor, the system prevents opening when 90% full and alerts users via a buzzer. This solution simplifies waste management by automating lid control and providing real-time capacity tracking.

Parts used in the Smart Trash Bin:

  • evive
  • Ultrasonic Sensor (x2)
  • Metal Servo Motor and Accessories
  • Male to Female Jumper Cable 20cm
  • Thread
  • Buzzer (inbuilt in evive)

Trash bins and managing the waste in them can be messy. And overstuffing them with waste? Even messier. But trash bins that can sense your presence when you approach them to put trash and track how much of it do they hold? Possible, smart, or both? The answer is both!

It’s time to go tech-savvy and transform the trash bin of your home into a smart one; and all it is going to take is two ultrasonic sensors, a servo motor, your old pal, evive, and some DIYing! So, are you ready to make waste management at your home smart and simple with this unique DIY smart bin? Then begin right away!

Step 1: Things You’ll Need:

  • evive
  • Trashcan
  • Ultrasonic Sensor
  • Metal Servo Motor and Accessories
  • Male to Female Jumper Cable 20cm

Step 2: Detecting Our Presence

We want that our trashbin should sense that we have approached the bin to throw the waste.

Let’s start by giving this sense to our Trash bin.

Take an Ultrasonic Sensor and glue it on the front of your bin.

Step 3: The Opening of the Lid

As soon as you approach the bin, you want that the lid of the in should open automatically.
For this purpose, we will be using a servo motor and a thread.

Take the servo motor and glue it at the back of the bin.

To the free servo head, attach the servo horn.

Now take the thread and tie the lid to the servo horn.

Step 4: Checking the Amount of Content in Bin

We always need to open the lid to check the amount of waste in the bin.

To make it sense automatically and notify us about how much percentage of the bin is filled, we will be using another Ultrasonic Sensor.

Take the sensor and glue it under the lid of the bin.

The assembly is almost complete except the connection of servo and sensors to evive.

Step 5: The Connection

Make the connections as shown in the figure.

Make sure that you have drawn all the wires out of the bin.

Step 6: Working

As soon as you go near the bin, the first ultrasonic sensor will sense your presence. Thus notifying the evive.
In return, the servo head will rotate pulling the thread thus opening the lid of the bin.

The ultrasonic sensor beneath the lid will sense the amount and signal the evive. evive will then display the percentage of the waste on the screen.
As soon as the level reaches 90%, the evive will let out the inbuilt buzzer notifying the user.

Once it reaches 90%, the ultrasonic sensor attached to the front of the bin does not respond on approaching the bin.
Thus, the bin will not open up thus you definitely need to clean up the bin.

Source: Automatic Trash Can Using Arduino Based Embedded Platform

Quick Solutions to Questions related to Smart Trash Bin:

  • How do I make my home trash bin smart?
    You can transform it using two ultrasonic sensors, a servo motor, an evive controller, and some DIY skills.
  • Can the bin sense when I approach it?
    Yes, an ultrasonic sensor glued to the front of the bin detects your presence and triggers the lid to open.
  • Does the bin notify me when it is nearly full?
    Yes, an inbuilt buzzer sounds when the waste level reaches 90 percent.
  • What happens if the bin is over 90 percent full?
    The front sensor stops responding to approaching users, preventing the lid from opening until cleaned.
  • Where should I place the ultrasonic sensors?
    One sensor goes on the front of the bin to detect presence, and the second goes under the lid to measure content.
  • How does the lid open automatically?
    A servo motor rotates to pull a thread attached to the lid, causing it to lift when presence is detected.
  • Can I see the percentage of waste filled?
    Yes, the evive controller displays the percentage of waste on its screen after sensing the amount.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top