Smart Dustbin Using Arduino, Ultrasonic Sensor & Servo Motor

1,687

5

13

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...

Arduino Contest 2020

Participated in the
Arduino Contest 2020

Be the First to Share

    Recommendations

    • Water Speed Challenge

      Water Speed Challenge
    • Summer Fun: Student Design Challenge

      Summer Fun: Student Design Challenge
    • DIY Summer Camp Contest

      DIY Summer Camp Contest

    13 Comments

    0
    Foram1
    Foram1

    8 months ago

    plz send the code for above circuit diagram

    0
    Mudit5246
    Mudit5246

    Reply 8 months ago

    Please share your email id

    0
    Mudit5246
    Mudit5246

    Reply 11 months ago

    Code has been shared thanks

    0
    Mudit5246
    Mudit5246

    Reply 1 year ago

    Code has been shared kindly check and confirm 😊

    0
    syazwanshoib
    syazwanshoib

    Reply 1 year ago

    But it's unable

    Screenshot_20200609-091122.jpg
    0
    Mudit5246
    Mudit5246

    Reply 1 year ago

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

    0
    syazwanshoib
    syazwanshoib

    Reply 1 year ago

    Could you give me the code in picture. Please

    0
    Mudit5246
    Mudit5246

    Reply 1 year ago

    Ping me on my facebook page or on instagram account