fbpx
16 C
New York
Monday, April 19, 2021

DIY Arduino-Based Smart Dustbin Using Ultrasonic Sensor

Let’s build something practical today. How about a smart sensor dustbin with a lid that opens automatically when you want to drop something into it? It’s hygienic and smart. We will use the Arduino as our microcontroller today.

Let’s get started!

If you are less than 16, do it under adult supervision!

Components Required

1) Ultrasonic Sensor HC-SR04
2) Arduino Uno
3) 9V Battery & Connector
4) Jumper Wires
5) Servo Motor SG-90
6) Glue Gun
7) Piece of Cardboard
8) Double-Sided Tape
9) Loose Wires
10) Empty Bucket

Watch the Video to Build a Arduino-Based Smart Dustbin Using Ultrasonic Sensor

Steps to Follow

  1. Using scissors, design cardboard as shown in the video.
  2. Connect the VCC of the Sensor to 5V of Arduino, the GND to the Ground, the TRIG to Pin5 of Arduino, and the ECHO to Pin6 of Arduino.
  3.  Connect Signal Pin of Servo Motor to Pin9 of Arduino, VCC of Servo Motor to VCC of Arduino, and GND to Ground of Arduino.
  4. Connect the Positive Terminal of 9V Battery to VIN of Arduino and the Negative Terminal of 9V Battery to Ground of Arduino.
  5. Using the Glue Gun, Stick the Cardboard Over the Bucket. After that, place the Ultrasonic Sensor here with a Double Sided Tape and the Servo Motor on the Top of the Lid. With the loose wire, connect the folded part of the lid to the leg of the Servo Motor.
  6. Upload the Code to the Arduino.
    Test the system if it’s working.

You can place this sensor dustbin anywhere in your home. It has very low power consumption and a 9V Alkaline Battery can run it for at least 3 weeks.



Latest news

Avatar
Daniyel Carlson
Daniyel Carlson is a Young Researcher in the field of Data Science & Analytics having research experience of more than 8 years. He has a Masters in Computer Engineering and currently serves as an Editorial Assistant in IGI Global, United States of America. Daniyel also holds honorary positions in the Associate Member of Institute of Research Engineers and Doctors, International Association of Computer Science and Information Technology, International Association of Engineers, Society of Digital Information and Wireless Communications.

Read Also

- Advertisement -

LEAVE A REPLY

Please enter your comment!
Please enter your name here