Smart Dustbin Using Arduino, Ultrasonic Sensor & Servo Motor

4,416

8

16

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: http://media.nbcmontana.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...

Arduino Contest 2020

Participated in the
Arduino Contest 2020

Be the First to Share

    Recommendations

    • Puzzles Challenge

      Puzzles Challenge
    • Anything Goes Contest

      Anything Goes Contest
    • CNC and 3D Printing Contest

      CNC and 3D Printing Contest

    16 Comments

    0
    Ronxmaine
    Ronxmaine

    4 months ago on Step 3

    Hello Sir,

    Could you please send me the Code?

    Thanks in advance!

    Regards

    0
    Foram1
    Foram1

    2 years ago

    plz send the code for above circuit diagram

    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    Please share your email id

    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    Code has been shared thanks

    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    Code has been shared kindly check and confirm 😊

    0
    syazwanshoib
    syazwanshoib

    Reply 2 years ago

    But it's unable

    Screenshot_20200609-091122.jpg
    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    It will open in arduino software only because it is a INO file

    0
    syazwanshoib
    syazwanshoib

    Reply 2 years ago

    Could you give me the code in picture. Please

    0
    Mudit5246
    Mudit5246

    Reply 2 years ago

    Ping me on my facebook page or on instagram account