Difference between revisions of "Ultrasonic Ranging Module HC-SR04"

From ITEAD Wiki
Jump to: navigation, search
Line 26: Line 26:
[ftp://imall.iteadstudio.com/Modules/IM120628012_HC_SR04/DS_IM120628012_HC_SR04.pdf Datasheet]
[ftp://imall.iteadstudio.com/Modules/IM120628012_HC_SR04/Lib_IM120628012_HC_SR04.zip Library]
==Useful Links==
==Useful Links==

Revision as of 02:05, 30 May 2014



If you are sourcing a ultrasonic ranging module , the HC-SR04 is good choose . Its stable performance and high ranging accuracy make it a popular module in electronic market .Compared to the Shap IR ranging module , HC-SR04 is more inexpensive than it . But it has the same ranging accuracy and longer ranging distance.


  • Power supply: 5V DC
  • Quiescent current: <2mA
  • Effectual angle: <15°
  • Ranging distance: 2cm – 500 cm
  • Resolution: 1 cm
  • Ultrasonic Frequency: 40k Hz


Sequence chart


A short ultrasonic pulse is transmitted at the time 0, reflected by an object. The senor 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.




Useful Links