EPLZON HC-SR04 Ultrasonic Module Distance Sensor fit for Arduino UNO MEGA Nano Robot XBee ZigBee (pack of 5 pcs)

4.8 4.8 out of 5 stars | 59 ratings

Price: 9.99

Last update: 08-09-2024


About this item

✅EPLZON HC-SR04 Ultrasonic ranging transducer sensor
✅Test mode: Use IO to trigger high-level signals. (Not less than 10us), the module automatically sends 8 40kHz and detects whether there is a pulse signal return.
✅Detection area: 0.78~196 in/(2cm~500cm); high precision: up to 0.12 inch/(0.3 cm), effective angle: less than 15°; Trigger input pulse width: 10uS
✅Power supply: 5V DC; Quiescent current: less than 2mA;Dimension: 1.77 x 0.78 x 0.59 inches/45mm x 20mm x 15mm(length*width*height)
✅Test distance=((high level duration)*(sound wave: 340m/s))/2


From the brand


Top reviews from the United States

Cecil Clontz
5.0 out of 5 stars Great ultrasonic sensors for a very reasonable price
Reviewed in the United States on July 12, 2024
The first thing you notice is that these are very nicely packaged rather than the typical plastic bags. They also come with both M-F jumper wires and F-F jumper wires. The sensors work as expected and the quality of the PCB looks good. Even the solder joints look great. I would buy these again.
Wayne Fernandez
5.0 out of 5 stars Very good quality!!
Reviewed in the United States on May 14, 2024
These are not cheap knockoffs. They come in a very high end packaging. They work brilliantly. Any library I've tried with them works great. They don't give erroneous readings like some of the cheap clones do. These are better quality than the Elegoo ones that I purchased before these. By a good bit too. Highly recommend. Will be stocking up on these.
Amazon Customer
5.0 out of 5 stars direct output to 5vdc relay
Reviewed in the United States on February 23, 2024
What i like is items like this are available for a good price. fun to mess with.
Scott I.
4.0 out of 5 stars Sensors Work As Expected
Reviewed in the United States on February 6, 2023
I mainly got these ultasonic sensors to play with and learn more about electronics. I have been able to hook them up to my Arduino for testing purposes and they work as expected. The range and accuracy is inline with the specs (~.5 inches to 15+ feet). I hope to add them to little autonomous cars that have light and proximity sensors.

Even though my experience is somewhat limited, these have been good for my education purpose so far. I happy with these and would recommend to others looking for a set of ultrasonic sensors.
Todd K. Moyer
5.0 out of 5 stars An inexpensive, well-made ranging module, great for hobbyists and experimenters.
Reviewed in the United States on February 21, 2023
This ultrasonic ranging module is easy to apply, and seems quite well-made, especially considering the price.

The sensors do not come with a datasheet or instructions of any kind. An internet search for "HC-SR04" should work to find the datasheet.

I do think it may be frustrating to try to measure distances of 4-5 m, as is claimed for this module, unless you have a very specific, controlled environment that is free from objects that may confuse the sensor. I did confirm that it can measure distances down to about 20 mm, though it becomes critical to know precisely what the plane of the measurement is. I used the edge of the silver transducer enclosure, but the real transducer is buried inside. You may be able to calibrate that offset out, with some careful characterization.

Check out the attached oscilloscope screen shot to see the basic operation of this module. It only needs 4 connections, VCC/GND for power, and a trigger pulse input, which produces an echo pulse output. The echo pulsewidth is proportional to the distance between the module and the object being ranged.

The trigger pulsewidth does not seem to be critical, but it is specified to be 10 us minimum. I tried widths as low as 1 us and found that it worked reliably. At 500 ns, operation was intermittent. I would not recommend going below 10 us, per the datasheet. The 'scope photo shows a 1 ms trigger pulse. The echo pulse seems to consistently come 2.2 ms after the falling edge of the trigger pulse.

The 'scope photo scenario was measuring a distance of about 280 mm. My setup was not intended to produce very accurate distances, but to show the operation over a range of distances. The resulting echo pulsewidth was averaging 1.616 ms, which given the formula in the datasheet, leads to a distance measurement of 275 mm, which seems reasonable.

In my testing current consumption of the module was about 3 mA with a 5 V power supply.
Customer image
Todd K. Moyer
5.0 out of 5 stars An inexpensive, well-made ranging module, great for hobbyists and experimenters.
Reviewed in the United States on February 21, 2023
This ultrasonic ranging module is easy to apply, and seems quite well-made, especially considering the price.

The sensors do not come with a datasheet or instructions of any kind. An internet search for "HC-SR04" should work to find the datasheet.

I do think it may be frustrating to try to measure distances of 4-5 m, as is claimed for this module, unless you have a very specific, controlled environment that is free from objects that may confuse the sensor. I did confirm that it can measure distances down to about 20 mm, though it becomes critical to know precisely what the plane of the measurement is. I used the edge of the silver transducer enclosure, but the real transducer is buried inside. You may be able to calibrate that offset out, with some careful characterization.

Check out the attached oscilloscope screen shot to see the basic operation of this module. It only needs 4 connections, VCC/GND for power, and a trigger pulse input, which produces an echo pulse output. The echo pulsewidth is proportional to the distance between the module and the object being ranged.

The trigger pulsewidth does not seem to be critical, but it is specified to be 10 us minimum. I tried widths as low as 1 us and found that it worked reliably. At 500 ns, operation was intermittent. I would not recommend going below 10 us, per the datasheet. The 'scope photo shows a 1 ms trigger pulse. The echo pulse seems to consistently come 2.2 ms after the falling edge of the trigger pulse.

The 'scope photo scenario was measuring a distance of about 280 mm. My setup was not intended to produce very accurate distances, but to show the operation over a range of distances. The resulting echo pulsewidth was averaging 1.616 ms, which given the formula in the datasheet, leads to a distance measurement of 275 mm, which seems reasonable.

In my testing current consumption of the module was about 3 mA with a 5 V power supply.
Images in this review
Customer image Customer image Customer image
Monte
5.0 out of 5 stars Worked perfect for my auto-open project!
Reviewed in the United States on May 24, 2023
These work great! I got them for my son and I to complete our “auto-opening trash can lid” that we saw on tiktok and overall it was a great success! These are relatively easy to use and hooking up to my arduino board (VCC to 5v and Grnd to Grnd - Trigger and Echo to their your chosen digital pins) - They can read as close as 20mm and up to 4000mm (not confirmed max distance) There’s really a wealth of information on these (HC-SR04) on the web as well as coding and programming tools to get you started depending on your specific project, but getting something built that is really cool AND functional was so easy! Hands down would get these again! 10/10 a win!
MICHAEL O.
5.0 out of 5 stars EASY to Use Proximity Sensor
Reviewed in the United States on November 5, 2022
This product is most easily used with a microcontroller that allows high-speed input and output of electrical signals. There are four wires that need to be hooked up to use it - two are power and ground, the other two are the trigger and the echo. This device works line sonar on a submarine. It sends out acoustic "pings" above the limits of human hearing under command, and then listens for the return from the reflection of the transmitted noise of of something in front of the sensor. Under program control of the microcontroller and with some simple math, the distance can be calculated.

I used the Arduino NANO microcontroller to test (also available on Amazon for 9 USD) the sensors. The setup involved connecting 4 pins on a bread board, and then writing the code below:

int TRIG = 14;
int ECHO = 15;
int DURATION;
float DISTANCE;

void setup() {
pinMode(TRIG, OUTPUT);
pinMode(ECHO, INPUT);
Serial.begin(115200);
}

void loop() {
digitalWrite(TRIG, HIGH);
delay(1);
digitalWrite(TRIG, LOW);
DURATION = pulseIn(ECHO, HIGH);
DISTANCE = DURATION / 58.2;
Serial.println(DISTANCE);
delay(200);
}

That's it! All of the action in the code is in the 7 lines inside the loop function. Send out a 1 millisecond pulse, measure the time until it returns, convert that time to distance. Easy Peasy.

Here's the output of the program:
14:37:38.571 -> 7.34
14:37:38.803 -> 7.34
14:37:39.001 -> 7.42
14:37:39.200 -> 7.42
14:37:39.432 -> 7.42
14:37:39.631 -> 7.42

For a total outlay of 12 bucks and a couple of minutes of assembly, this is an easy to use, absolute bargain of a solution. I should mention the build quality is great, and the silk screen is easy to use and interpret. Would buy again (but now I have 5!)
Bobby Santos
5.0 out of 5 stars Each one worked as expected.
Reviewed in the United States on May 3, 2023
What an awesome deal! I use these in my arduino proximity detector projects and so far they have worked flawlessly for my application. My working range is 4 feet and at slightly above ground level. I have my Arduino sketch set-up with a buzzer alarm and a 5 second delay before resetting, just before the end of the loop.

So far very pleased with the quality of this sensor!

Best Sellers in

 
 

Teyleten Robot GY-291 ADXL345 Digital 3-Axis Acceleration of Gravity Tilt Module IIC SPI for Arduino 5pcs

4.3 4.3 out of 5 stars 132
9.99
 
 

BRDRC AIR 3 Payload Airdrop System,Transport Release with Landing Gear Wedding Ring Thrower Fishing Bait Clip Delivery for DJ

4.3 4.3 out of 5 stars 26
29.99
 
 

WWZMDiB 2Pcs HC-SR04 Ultrasonic Sensor Module for Arduino R3 MEGA Mega2560 Duemilanove Nano Robot XBee ZigBee (2Pcs HC-SR04 w

4.4 4.4 out of 5 stars 97
6.99
 
 

YAGUMO [Drone Parts] 3.7V 2000mAh Battery Propeller for S136 Mini RC Drone Spare Parts S136 MAX GPS Avoidance Drone Accessori

4.5 4.5 out of 5 stars 2
52.74
 
 

WRAPGRADE Skin Stickers Compatible with DJI Air 3 | Two Batteries (Coloration-X)

4 4 out of 5 stars 1
9
 
 

Generic Shock Absorber Ball for Potensic ATOM SE Drone Only

0 0 out of 5 stars 0
9.99
 
 

10PCS IIC I2C Logic Level Converter Bi-Directional Module 5V to 3.3V for Arduino

5 5 out of 5 stars 2
7.99
 
 

2pcs/lot SN76489AN SN76489 DIP-16 Quality 100%

0 0 out of 5 stars 0
5.32