HC-SR04 Ultrasonic Sensor Module

  • visibility 133

The ranging efficiency of ultrasonic ranging module HC-SR04 can easily access about 3mm. It also cater 2cm – 400cm non-contact measure action. The ultrasonic module consist of ultrasonic transmitters, receivers and control circuits.

The Key working principle are

Utilizing IO trigger for partially 10us high-level signal,

The Module axiomatically sends eight 40 kHz and encounter even if there is a pulse signal back.

If the signal back, via high level, time of high output IO period is the time from sending ultrasonic to returning. Test distance = (high level time×velocity of sound (340M/S) /2

The wire connecting precisely as follows:

1. 5V Supply 
2. Trigger Pulse Input
3. Echo Pulse Output
4. GND

The ultrasonic ranging module, the HC-SR04 is best choice if you are incepting this module. Its balanced performance and high ranging accuracy shape it a famous module in the market of electronics.

If you want to do a comparison between the Shape IR ranging module and HC-SR04, then the HC-SR-04 is at reasonable price. But the most important thing is that they both have the same accuracy and both have the same long range distance.

In comparison to the Shape IR ranging module, HC-SR04 is more inexpensive than it. Having equal ranging accuracy and lequal wide ranging distance.

More details:

Power supply: 5V DC

Quiescent current : <2mA

effectual angle: <15°

ranging distance: 2cm – 500 cm

resolution : 0.3 cm

There is a very easy alliance for the controller who utilize for ranging because the 4 pins are out of the module: CVV, Trig, Echo, GND.


Just you have to pull the trigger pin at high level that will be little bit higher than 10us impulse. At this, the module will start ranging; finish ranging. In case, you have found any kind of object in front, the echo pin will be at max level. And will be based on the various distances. After this, it will catch the various periods of high level. So from this, we can calmly count measure the distance comfortably;

Distance = ((Duration of high level)*(Sonic :340m/s))/2

At last, reverse your eyes towards the module. The chips in the module have been buffing. Perhaps the writer would like to protect the designed from falsification. Although the ultrasonic ranging module is almost the same fundamentals. So it’ is not difficult to figure out that act of the chip — I’m sure will be partially one 74series chip on it. Cleaving it is not the hard work, but … it’s at low costs, alike low price than your replica.