Ultrasonic ranging module HC-SR04 provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receiver and control circuit. The basic principle of working is as follows:
- We Send a high level trigger signal for at least 10us on the trig pin.
- The Module automatically sends eight sonic burst of 40 kHz and detects whether there is a reflected pulse signal.
- IF the signal is received back, the module pulls the echo pin high. The HIGH time for the echo pin is proportional to the object distance.
Distance = (high level time × velocity of sound (340M/S)) / 2
Features:
- Accurate distance measurement
- Measures the distance within a wide range of 2cm to 400cm
- Probability of working in a smoky environment
- Low Cost and less weight
- Easy to use
- Pin Definition: GND,VCC,TRIG,ECHO
Applications:
- Used to measure the distance within a wide range of 2cm to 400cm
- Map the objects surrounding the sensor by rotating it
- Depth of certain places like wells, pits etc can be measured
Pinout:
Pin | Description |
Vcc | Connects to 5V |
Gnd | Connects to Gnd |
Trigger | Input pin to the Sensor |
Echo | Output pin from the sensor |
Input Voltage | 5V |
Working Current | 15mA |
Range | 2 ~ 400cm |
Resolution | 0.3cm |
Measuring Angle | 30º |
Number of Pins | 4 (VCC,GND,Trig,Echo) |
Product Dimensions | 45 x 20 x 15mm |
Product Weight | 10 grams |
Country of origin : China
Note: The module is not suggested to connect directly to power supply. The GND terminal should be connected the module first, otherwise, it will affect the normal work of the module.
- HC-SR04 Ultrasonic Distance Sensor Module