There are 4 pins out of the module: VCC , Trig, Echo, GND. So it's a very easy interface for controller to use it ranging. 
The all process is: pull the Trig pin to high level for more than 10us impulse, the module ...

Buy Now From Amazon

Product Review

There are 4 pins out of the module: VCC , Trig, Echo, GND. So it's a very easy interface for controller to use it ranging. 
The all process is: pull the Trig pin to high level for more than 10us impulse, the module start ranging; 
Finish 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: Distance = ((Duration of high level)*(Sonic :340m/s))/2


  • 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
  • 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
  • Power supply :5V DC, quiescent current : <2mA,effectualangle: <15 ranging distance : 2cm~500 cm resolution : 0.3 cm
  • Package Content: 10pcs HC-SR04

Similar Products

OSOYOO 10PCS IR Infrared Obstacle Avoidance Sensor Module for Arduino Smart Car RobotQunqi 10pack HC-SR501 Pyroelectric Infrared PIR Motion Sensor Modules for MicrocontrollersJ-Deal® 10x Pcs SG90 Micro Servo Motor 9G RC Robot Helicopter Airplane Boat ControlsMakerfire 10pcs Arduino NRF24L01+ 2.4GHz Wireless RF Transceiver Module NewLongruner Mini Nano V3.0 ATmega328P 5V 16M Micro Controller Board Module for Arduino (10Pcs)Elegoo EL-CP-004 120pcs Multicolored Dupont Wire 40pin Male to Female, 40pin Male to Male, 40pin Female to Female Breadboard Jumper Wires Ribbon Cables Kit for arduinoYbee 10x Pcs SG90 Micro Servo Motor Mini SG90 9g Servo For RC Helicopter Airplane Car Boat Robot controlsDAOKI 5 PCS L298N Motor Drive Controller Board DC Dual H-Bridge Robot Stepper Motor Control and Drives Module for Arduino Smart Car Power UNO MEGA R3 Mega2560Elegoo EL-CB-001 UNO R3 Board ATmega328P ATMEGA16U2 with USB Cable for ArduinoLampVPath [12Packs] 170 Points Mini Small solderless breadboard for Arduino Proto Shield (6 colors)