The XiaoR Geek HC-SR04 Ultrasonic Distance Measuring Sensor Module includes an ultrasonic transmitter, receiver and circuits. It has 4 pins: VCC, TRIG, ECHO and GND. The anti-reverse pin header onside makes it easy to connect and apply.
2pcs Ultrasonic Module HC-SR04 Distance Sensor with 2pcs Mounting bracket for Arduino Uno R3 Mega 2560 Nano Raspberry Pi 3 Smart Robotics Projects.
The module performance is stable, measure distance accurately. SRF05, SRF02 ultrasonic ranging module comparable. This module is compatible with GH-311 anti-theft module.
If the signal back, through high level, time of high output IO duration is the time from sending ultrasonic to returning. Test distance = (high level time velocity of sound (340M/S)/2.
Module working principle:
Pull the Trig pin to high level for more than 10us impulse, the module start ranging.
The module automatically sends eight 40KHz square wave to detect whether a signal is returned.
Finished ranging, If you find an object in front, Echo pin will be high level, and based on the different distance, it will take the different duration of high level.
So we can calculated the distance easily. The distance=((Duration of high level) * (Sonic: 340m/s))/2
HC-SR04 Ultrasonic Sensor Distance Module: using IO trigger for at least 10us high level signal
The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back
- Use voltage: DC 5V
- Quiescent current: less than 2mA
- Level output: high 5V low 0V
- Induction angle: no more than 15 degrees
- Detection range: 0.78~177 in/(2cm~450cm)
- High accuracy: up to 0.12 in/(0.3 cm)
- Connection mode: VCC, trig(control), echo(receiving end), GND ground wire
- HC-SR04 Ultrasonic Distance Sensor x2
- HC-SR04 Mounting Bracket x2
Male to Female jump wires 8pin