Arduino TRASH CAN Opener

Published

Introduction: 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!

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

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Oil Contest

      Oil Contest
    • Woodworking Contest

      Woodworking Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments

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