Introduction: Smart Dustbin Using Arduino, Ultrasonic Sensor & Servo Motor
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.
Step 1: Components Required:
1. Arduino UNO
2. Breadboard
3. LCD 16*2( potentiometer & resistor)
4. Ultrasonic sensor
5. Servo motor
Step 2: Circuit Diagram:
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;
Step 3: 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...

Participated in the
Arduino Contest 2020
16 Comments
6 days ago on Step 3
Hello Sir,
Could you please send me the Code?
Thanks in advance!
Regards
8 months ago
can you send me the code please
jeenajohnsonbetsy02@gmail.com
8 months ago
Can you please share the code of that project
PITSOMG34@gmail.com
1 year ago
send me the code.
My mail:- kusumanjali1804@gmail.com
1 year ago
Can you send me the code?
My mail:-kusumanjali1804@gmail.com
1 year ago
plz send the code for above circuit diagram
Reply 1 year ago
Please share your email id
1 year ago
shwetajha155@gmail.com
2 years ago
ssdsnigdho@gmail.com
Reply 2 years ago
Code has been shared thanks
2 years ago on Step 3
syazwanshoibmrsmarau@gmail.com
Reply 2 years ago
Code has been shared kindly check and confirm 😊
Reply 2 years ago
But it's unable
Reply 2 years ago
It will open in arduino software only because it is a INO file
Reply 2 years ago
Could you give me the code in picture. Please
Reply 2 years ago
Ping me on my facebook page or on instagram account