How to Use an Ultrasonic Sensor With Arduino

HC-SR04 Ultrasonic sensors can measure distances fairly accurately and are very useful in many Arduino projects. I've used them in autonomous robots, electronic instruments, and many other projects. They have a range of 2 cm - 400 cm (~ 0.8 inches - 13 feet) and work best against flat surfaces.

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: Video

This video should help explain how to use an ultrasonic sensor.

If you have any questions leave a comment here or on the video and I'll help you as soon as possible!

Sensors Contest 2016

Participated in the
Sensors Contest 2016

Be the First to Share

    Recommendations

    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    4 Discussions

    0
    None
    PiotrS

    3 years ago

    i like the effort you took by drowning arduino :) next time try http://fritzing.org/home/

    1 reply
    0
    None
    samsneatprojectsPiotrS

    Reply 3 years ago

    Haha, I know about Fritzing, I just wanted to keep continuity throughout the video. Thank you though!

    0
    None
    MarPok

    3 years ago

    Nice video. I like when authors use hand-made pictures; It is more personal, it isn't so boring.

    1 reply
    0
    None
    samsneatprojectsMarPok

    Reply 3 years ago

    Thanks for the feedback! I'm glad people like the drawings. I have a lot of fun making them!