Smart Dustbin Using Arduino, Ultrasonic Sensor & Servo Motor

by Mudit5246 in Circuits > Arduino

8796 Views, 8 Favorites, 0 Comments

Smart Dustbin Using Arduino, Ultrasonic Sensor & Servo Motor

#5 Using Ultrasonic Distance Sensor | Arduino | Code explained fully
Screenshot (111).png

In this project, I will show you How to Make a Smart Dustbin using Arduino, where the lid of the dustbin will automatically open when you approach with trash. The other important components used to make this Smart dustbin are an HC-04 Ultrasonic Sensor and an SG90 TowerPro Servo Motor.

Components Required:

download (10).jpg
download (2).png
download.jpg
download (4).jpg
download (1).jpg
download (2).jpg

1. Arduino UNO

2. Breadboard

3. LCD 16*2( potentiometer & resistor)

4. Ultrasonic sensor

5. Servo motor

Circuit Diagram:

Screenshot (110).png
Screenshot (112).png
Screenshot (113).png

When a person comes near to dustbin the lid of the dustbin will automatically get open and when the person goes away the lid will close automatically. The lid of the dustbin is connected with a servo motor for opening and closing the lid.

The following image shows the circuit diagram of the Smart Dustbin using Arduino. It is a very simple design as the project involves only three components other than Arduino.

For LCD connections visit: https://www.instructables.com/id/Interfacing-LCD-With-Arduino-on-Tinkercad/

Servo motor is connected with pin 7

Ultrasonic trigger =10;

Ultrasonic echo =9;

Code:

For credit, please follow my following accounts.
Thanks

For more interesting projects connect with me on:

Youtube: https://www.youtube.com/channel/UCTS10_CRYJhT-vb9...

Facebook page: https://www.facebook.com/techeor1/

Instagram: https://instagram.com/official_techeor?igshid=uc8...