Ultrasonic HC-SR04 Sensors are used a lot in Arduino Robotic Projects.
Ultrasonic ranging module HC – SR04 provides a 2cm – 700cm stable signal non-contact measurement function, the ranging accuracy can reach to 3mm.
Ultrasonic ranging module HC – SR04 provides a 0.75″ – 275″ stable signal non-contact measurement function, the ranging accuracy can reach to 1/8″.
Specs for the Ultrasonic Sensor HC-SR04
Above is the Arduino Code to test if the HC-SR04 Ultrasonic Sensor is connected and functioning correctly.
The Arduino Code below allows you to Measure Distance in inches and print the results to the Serial Monitor.
Ultrasonic Sensor HC-SR04 is used in Paul McWhorter’s Roboic videos
Introduction to Robotics & Robots for Beginners Tutorials
My backup Solidworks CAD files for the HC-SR04 Ultrasonic Sensor can be found on GrabCAD :
GrabCAD: HC-SR04 Ultrasonic Sensor
CHEERS !!
. . . .