Site icon 14core.com

Working with Ultrasonic Ranging Sensor Module on Arduino

The HC-SR04 Ultrasonic Ranging Sensor is a non contact distance measuring module device commonly use in Robotic Obstacle Avoidance. The HC SR04 has a high ranging accuracy. The measurement range can go up to 5 meter, which would be helpful for your project.

Characteristics

A short pulse is transmitter at the time of zero, reflected by an object back to the trigger. The sensor receives the signal and converts it to an electrical signal. The next pulse can be transmitted when the echo is fade. This period of time is called cycle period. Recommended period of cycle should < 50ms if a ten μs pulse is sent to the signal pi. The Ultrasonic Ranging Sensor module will output 8-40kHz signal detect the echo back. Measuring distance is proportional to the echo pulse width and calculated by the formula. if no obstacle the detection output pin will give a 38ms high level signal.

 
[crayon-6741c4bf7937f547451389/]
 

Working with Ultrasonic Ranging Sensor Module on Arduino
Exit mobile version