Hc-sr04

This project is a very easy project you will see the distance to the obstacle in front of it

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: Step 1:

materials:

arduino uno r3

hc-sr04 ultrasonic sensor

male to male jumper wires

breadboard

Step 2: Step 2:

connection:

VCC to 5V

TRIG to pin 7

ECHO to pin 8

GND to GND

Step 3: Step 3:

upload the code

This is the link to the code : http://www.mediafire.com/download/b35fc8fv2dvye8o/...

open serial monitor on the Arduino IDE and see the distance in inches and cm

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