---
product_id: 270871275
title: "ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee"
brand: "elegoo"
price: "€ 61.06"
currency: EUR
in_stock: true
reviews_count: 5
category: "Elegoo"
url: https://www.desertcart.pt/products/270871275-elegoo-5pcs-hc-sr04-ultrasonic-module-distance-sensor-for-arduino
store_origin: PT
region: Portugal
---

# Power: 5V DC Distance: 2cm-500cm 40KHz ultrasonic pulses ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee

**Brand:** elegoo
**Price:** € 61.06
**Availability:** ✅ In Stock

## Summary

> 🚀 Elevate Your Projects with Precision!

## Quick Answers

- **What is this?** ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee by elegoo
- **How much does it cost?** € 61.06 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.pt](https://www.desertcart.pt/products/270871275-elegoo-5pcs-hc-sr04-ultrasonic-module-distance-sensor-for-arduino)

## Best For

- elegoo enthusiasts

## Why This Product

- Trusted elegoo brand quality
- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Key Features

- • **Bonus Gift Included:** Receive a little surprise with your purchase!
- • **Wide Detection Range:** Measure distances from as close as 2 cm to as far as 500 cm.
- • **Low Power Consumption:** Operate efficiently with a quiescent current of less than 2mA.
- • **Precision Measurement:** Achieve accurate distance readings with a resolution of 0.3 cm.
- • **Versatile Compatibility:** Perfectly compatible with Arduino UNO, MEGA2560, Nano, and more.

## Overview

The ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor is a high-performance distance measuring transducer designed for various applications, including robotics and automation. With a detection range of 2cm to 500cm and a resolution of 0.3 cm, this sensor is perfect for hobbyists and professionals alike. Each package includes five sensors, ensuring you have enough for multiple projects, along with a special gift to enhance your experience.

## Description

Product description E legoo HC-SR04 Ultrasonic Sensor is a device that can measure the distance to an object by using sound waves. It measures distance by sending out a sound wave at a specific frequency and listening for that sound wave to bounce back. By recording the elapsed time between the sound wave being generated and the sound wave bouncing back, it is possible to calculate the distance between the sonar sensor and the object. Ultrasonic Sensor HC-SR04 is great for all kind of projects that need distance measurements, avoiding obstacles as examples. HC-SR04 provides 3cm-450cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules include ultrasonic transmitters, receiver and control circuit. Operating Principle of Ultrasonic Sensor As the name indicates, ultrasonic sensors measure distance by using ultrasonic waves. The sensor head emits an ultrasonic wave and receives the wave reflected back from the target. Ultrasonic Sensors measure the distance to the target by measuring the time between the emission and reception. The distance can be calculated with the following formula: Distance L = 1/2 × T × C where L is the distance, T is the time between the emission and reception, and C is the sonic speed. (The value is multiplied by 1/2 because T is the time for go-and-return distance.) For Arduino Project with Ultrasonic Sensor Elegoo Ultrasonic Sensor HC-SR04 is inexpensive and easy to use since we will be using a Library specifically designed for this sensor, which can be downloaded from elegoo.com. To use it for Arduino projects you would need an ELEGOO UNO R3 controller board. Technical Specification Power Supply :+5V DC Quiescent Current : 3mA Working Current: < 5mA Effectual Angle: <15° Ranging Distance : 3cm - 450 cm/1″ - 10ft Resolution : 0.3 cm Measuring Angle: 30 degree Trigger Input Pulse width: 10uS Dimension: 45mm x 20mm x 15mm Product Package 5 HC-SR04 Ultrasonic Sensors 10 Female-Male Dupont Cables 10 Female-Female Dupont Cables 1 Exquisite package box Protected with the thermoplastic film

Review: Sonic rangers to the rescue - These little modules work great and are sold in a group of 5 for a great price. All 5 come bundled in a single anit-static bag, and were well packaged. Also, did you see that last line where Elego mentions they include "a little gift"? I missed that, and it was a pleasant surprise. No spoilers, but that little gift was a great help in connecting up those sensors. The range is listed to 500 cm but I started to get large margin of errors past 400 cm. I also couldn't read closer than 4 cm (not 2 cm). To get a more accurate reading within the 4 cm to 400 cm range, I found taking a moving average of the last 3 readings to be good enough to do the trick. If you're not picky, one reading is sufficient. The PCB is well designed - it is the minimum size to hold the sonic sensors, rugged and firm. There are 4 pins; two for 5v and GND, 1 to TRIGGER it, and one to read the ECHO from. Usage is actually quite simple: 1. Send a pulse to the TRIGGER pin to start the ranging; 2. Measure the time in microseconds that it takes the ECHO pin to respond; 3. Divide the time taken by a constant (manufacturer provided; it is 58.0 for CM) to get the distance. I'm not sure how much desertcart will allow me to write in a review, but I'm including the minimalist sketch (no comments) below to get you started (for Arduino, sorry, I'm not familiar with Pi). This will loop the ranging while reporting the distance in CM to the SERIAL MONITOR window in the Arduino IDE every second: --- Example Minimalist Sketch for HC-SR04 in Arduino -- /* HC-SR04 Sonic Ranging Sensor 5v to VCC 7 to Trig 8 to Echo GND to GND */ void setup() { pinMode(7, OUTPUT); digitalWrite(7, LOW); Serial.begin(9600); } void loop() { unsigned long start; digitalWrite (7, HIGH); delayMicroseconds(10); digitalWrite (7, LOW); // Wait - for ECHO pulse while (digitalRead(8) == 0); start = micros(); while (digitalRead(8) == 1); Serial.println ((micros() - start) / 58.0); delay(1000); } --- End ---
Review: Awesome, good quality - Awesome, good quality

## Features

- Ultrasonic hc-sr04 distance measuring transducer sensor
- HC-SR04 consists of ultrasonic transmitter, receiver, and control circuit. When trigged it sends out a series of 40KHz ultrasonic pulses and receives echo from an object.
- ~Power supply: 5V DC; quiescent current: less than 2mA; effectual angle: less than 15°; distance: 2cm500cm; resolution: 0. 3 cm~
- Package Content: 5pcs HC-SR04 with a little gift

## Technical Specifications

| Specification | Value |
|---------------|-------|
| ASIN | B01COSN7O6 |
| Brand | ELEGOO |
| Brand Name | ELEGOO |
| Customer Reviews | 4.6 out of 5 stars 594 Reviews |
| Global Trade Identification Number | 00746591610333 |
| Item Dimensions | 15 x 45 x 30 millimeters |
| Item Weight | 9 g |
| Item dimensions L x W x H | 15 x 45 x 30 millimeters |
| Item weight | 9 g |
| Maximum Supply Voltage | 5 Volts (DC) |
| Maximum supply voltage | 5 Volts (DC) |
| Measuring Range | 2 - 500 cm |
| Measuring range | 2 - 500 cm |
| Model | EL-SM-001 |
| Output Type | digital |
| Output type | digital |
| Part Number | EL-SM-001 |
| Sensing Distance | 500 Centimeters |
| Smart Home Compatibility | Not Smart Home Compatible |
| Specific Uses For Product | electronics, robotics, distance measurement |
| UPC | 719377200301 746591610333 |
| Unit Count | 5 Count |

## Product Details

- **Brand:** ELEGOO
- **Item dimensions L x W x H:** 15 x 45 x 30 millimeters
- **Item weight:** 9 g
- **Maximum supply voltage:** 5 Volts (DC)
- **Measuring range:** 2 - 500 cm

## Images

![ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee - Image 1](https://m.media-amazon.com/images/I/71klfl5I+6L.jpg)
![ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee - Image 2](https://m.media-amazon.com/images/I/61tuwS1-UlL.jpg)
![ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee - Image 3](https://m.media-amazon.com/images/I/61mSb7ZbR2L.jpg)
![ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee - Image 4](https://m.media-amazon.com/images/I/510k3D-zGJL.jpg)
![ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee - Image 5](https://m.media-amazon.com/images/I/61LnBUyoNuL.jpg)

## Questions & Answers

**Q: Do these things have to be plugged in?**
A: I see from comments by others that I'm not the only one puzzled by your question. This device is a distance measuring sensor. As such, sensors need to be connected, or plugged into, other circuitry to make them work. In the case of the HC-SR04, it needs a signal, a pulse, from a circuit, Arduino microcontroller for example, to initial distance measurement and a circuit to receive the pulse signal from the HC-SR04 and do a time/distance calculation. Again an Arduino microcontoller. Is this all new to you? If so, there is a lot you will have to learn before you can use this device. There is plenty of help online however.

**Q: Can you keep them on 24/7 without running to reliability issues? Any thoughts?**
A: No, this module has no waterproof and temperature compensation function, you need to look for the prefessional one if you want to use it on 24/7.

**Q: Will this work for a BeagleBone?**
A: Can't say for sure, have only used these with Uno and Mega, work fine - note they have 4 pins (separate send/receive) as opposed to others with 3 pins (shared send/receive function). Great price - I've seen these sold for as much as $20 each.

**Q: What are the measurements of one of these?**
A: Google “SR04 dimensions”

## Customer Reviews

### ⭐⭐⭐⭐⭐ Sonic rangers to the rescue
*by K***N on 21 October 2016*

These little modules work great and are sold in a group of 5 for a great price. All 5 come bundled in a single anit-static bag, and were well packaged. Also, did you see that last line where Elego mentions they include "a little gift"? I missed that, and it was a pleasant surprise. No spoilers, but that little gift was a great help in connecting up those sensors. The range is listed to 500 cm but I started to get large margin of errors past 400 cm. I also couldn't read closer than 4 cm (not 2 cm). To get a more accurate reading within the 4 cm to 400 cm range, I found taking a moving average of the last 3 readings to be good enough to do the trick. If you're not picky, one reading is sufficient. The PCB is well designed - it is the minimum size to hold the sonic sensors, rugged and firm. There are 4 pins; two for 5v and GND, 1 to TRIGGER it, and one to read the ECHO from. Usage is actually quite simple: 1. Send a pulse to the TRIGGER pin to start the ranging; 2. Measure the time in microseconds that it takes the ECHO pin to respond; 3. Divide the time taken by a constant (manufacturer provided; it is 58.0 for CM) to get the distance. I'm not sure how much Amazon will allow me to write in a review, but I'm including the minimalist sketch (no comments) below to get you started (for Arduino, sorry, I'm not familiar with Pi). This will loop the ranging while reporting the distance in CM to the SERIAL MONITOR window in the Arduino IDE every second: --- Example Minimalist Sketch for HC-SR04 in Arduino -- /* HC-SR04 Sonic Ranging Sensor 5v to VCC 7 to Trig 8 to Echo GND to GND */ void setup() { pinMode(7, OUTPUT); digitalWrite(7, LOW); Serial.begin(9600); } void loop() { unsigned long start; digitalWrite (7, HIGH); delayMicroseconds(10); digitalWrite (7, LOW); // Wait - for ECHO pulse while (digitalRead(8) == 0); start = micros(); while (digitalRead(8) == 1); Serial.println ((micros() - start) / 58.0); delay(1000); } --- End ---

### ⭐⭐⭐⭐⭐ Awesome, good quality
*by R***O on 20 April 2026*

Awesome, good quality

### ⭐⭐⭐⭐⭐ Riempimento vasca
*by C***N on 11 December 2024*

Funziona perfettamente. Utilizzato per riempire una vasca fino a livello x.

## Frequently Bought Together

- ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor Compatible with Arduino UNO MEGA Nano Robot XBee ZigBee
- ELEGOO 120pcs Multicolored Dupont Wire 40pin Male to Female, 40pin Male to Male, 40pin Female to Female Breadboard Jumper Ribbon Cables Kit Compatible with Arduino Projects
- ELEGOO UNO R3 Board ATmega328P with USB Cable(Arduino-Compatible) for Arduino

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.pt/products/270871275-elegoo-5pcs-hc-sr04-ultrasonic-module-distance-sensor-for-arduino](https://www.desertcart.pt/products/270871275-elegoo-5pcs-hc-sr04-ultrasonic-module-distance-sensor-for-arduino)

---

*Product available on Desertcart Portugal*
*Store origin: PT*
*Last updated: 2026-06-19*