Arduino TRASH CAN Opener

Today i'm going to show you a simple Trash Can Opener, using Arduino.

YOU WILL NEED:

1x Arduino Uno, Due, Mega, Nano...

1x Small Breadboard (optional)

1x Micro Servo

1x Ultrasonic sensor

Jumper wires

LETS GET STARTED!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Wiring

WIRINGS:

Servo:

Servo GND(black wire) - Arduino GND

Servo VCC(red wire) - Arduino 5V (GOES TO THE SAME PIN AS SENSOR)

Servo Signal(yellow wire) - Arduino Digital Pin 2 ( D2 )

Ultrasonic sensor:

Sensor's VCC - Arduino 5V (GOES TO THE SAME PIN AS SERVO)

Sensor's TRIG - Arduino Digital Pin 3

Sensor's ECHO - Arduino Digital Pin 4

Sensor's GND - Arduino GND

Step 2: Upload Code!

1.Open the file from this step

2.Click the upload button.

3.And its working.

PUT THE SERVO ABOUT FEW CENTIMETERS FROM THE OPENER AND PUT THE SENSOR AT THE TOP AS THE PICTURE SHOWS

Arduino Contest 2017

Participated in the
Arduino Contest 2017

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions

    0
    None
    Swansong

    1 year ago

    I'd love to have one of these so the teens aren't always knocking the lid off :)