How to Use an Ultrasonic Sensor With Arduino

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

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

    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    4 Discussions

    0
    PiotrS
    PiotrS

    4 years ago

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

    0
    samsneatprojects
    samsneatprojects

    Reply 4 years ago

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

    0
    MarPok
    MarPok

    4 years ago

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

    0
    samsneatprojects
    samsneatprojects

    Reply 4 years ago

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