Overview
The HC – SR04 Ultrasonic sensor module provides 2cm – 400cm non-contact measurement, with an accuracy of up to 3mm.
The modules includes an ultrasonic transmitter, receiver and control circuit.
The basic working principle is shown below:
- A short ultrasonic pulse is transmitted at the time 0, reflected by an object.
- The sensor receives this signal and converts it to an electric signal.
- The next pulse can be transmitted when the echo is faded away.
- This time period is called cycle period.
- The recommend cycle period should be no less than 50ms.
- If a 10μs width trigger pulse is sent to the signal pin, the Ultrasonic module will output eight 40kHz ultrasonic signal and detect the echo back. The measured distance is proportional to the echo pulse width and can be calculated by the formula above.
- If no obstacle is detected, the output pin will give a 38ms high level signal.
Test distance = (high level time×velocity of sound (340M/S) / 2.
Applications include distance measurement, level detection, mapping, obstacle detection, etc.
Interfaces well with Arduino
Specifications
- Working Voltage: DC 5V
- Working Current: 15mA
- Working Frequency: 40Hz
- Max Range: 4m
- Min Range: 2cm
- Measuring Angle: 15 degree
- Trigger Input Signal: 10µS TTL pulse
- Dimension: 45 * 20 * 15mm
Resources
Kwasi Kusi (verified owner) – :
Senses as programmed. Will buy more!
Kum T. (verified owner) – :
love this sensor for its capabilities and its very affordable
William Fifi Forson (verified owner) – :
I am yet to integrate this in my autonomous project but was glad I could find this in Ghana