BnBe Club
Published © CC BY-NC-SA

How To Use An Ultrasonic Sensor For Object Detection

This post gives you all the information you need to know in order to use the module. We also test it out by writing a demo Arduino sketch.

BeginnerFull instructions provided791
How To Use An Ultrasonic Sensor For Object Detection

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

wiring_BicSOfVwE5.jpg

Code

e45.zip

Arduino
No preview (download only).

Credits

BnBe Club

BnBe Club

48 projects • 46 followers
Building a platform to encourage and further STEM education, with a focus on robotics.

Comments