# HC-SR04 Ultrasonic Module Distance Measuring Sensor

**Type:** Product page · **SKU:** CE05112 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/hc-sr04-ultrasonic-module-distance-measuring-sensor.html ([markdown](https://core-electronics.com.au/hc-sr04-ultrasonic-module-distance-measuring-sensor.html.md))

The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object like bats or dolphins do. It offers excellent range accuracy and stable readings in an easy-to-use package.

## Pricing

- **Price:** $1.95 (inc GST) — $1.77 AUD, exc GST
- **Quantity discounts:** 5+ $1.74 (exc GST) · 15+ $1.68 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 181 today; more stock is typically available with a 8–12 day lead time.

## Description

Get object/distance detection in your project using the low-cost HC-SR04 Ultrasonic Distance Module from Elegoo. Using the same principle as bats (Echo location), this module uses Trigger and Echo pin to send a signal and listen for it to be 'bounced back'. With a few lines of code you'll be detecting objects for your project. This module is the perfect option for detecting objects between 2cm-500cm in front of your project.

- **Range** - This module can detect objects between 2cm and 500cm in front of itself with an angle of 15 degrees either side.
- **Accuracy** - The readings of the module can be broken down into 0.3cm increments, which is plenty for most robotics projects
- **Mounting** - Used by many makers, in many projects, the 4 holes on the circuit board make for easy mounting into your project
- **Software** - As a favorite distance sensor, there are plenty of libraries and examples available to use with Arduino, Raspberry Pi and other maker platforms.
- **Distance calculation** - Once it's wired up, you'll use the formula: distance = (traveltime/2) x speed of sound for a measurement in centimeters
 
### How to use this Ultrasonic Distance Sensor

As this module is a 5V sensor, it will work great with Arduino and other 5V microcontrollers. You'll simply need to wire the device up to your board and configure the trigger and echo pins as Output/Input pins respectively. Once you've got it configured correctly, use your code to take the Input reading from the Echo pin and plug it into the distance formula: distance = (traveltime/2) x speed of sound to get a distance reading.

It's really that easy. There's even a library for Arduino, NewPing, that makes the process even easier for you. We've written a pretty comprehensive guide on how you can use this module in your projects. It's guaranteed to get you up to speed as fast as possible.

If you need a sensor that will work with 3.3V such as [Micro:bit](https://core-electronics.com.au/micro-bit-v2-australia.html) or [Raspberry Pi Pico](https://core-electronics.com.au/raspberry-pi/pico/official-boards.html) then check out [this](https://core-electronics.com.au/33v-ultrasonic-distance-sensor.html)!

[Our guide on using Ultrasonic Distance Modules with Arduino](https://core-electronics.com.au/tutorials/how-to-use-ultrasonic-sensors.html)

[Our guide on Sensors and how to use them](https://core-electronics.com.au/tutorials/getting-hands-on-with-sensors.html)

### Technical Specifications

- Power Supply :+5V DC
- Quiescent Current : &lt;2mA
- Working Current: 15mA
- Effectual Angle: &lt;15°
- Ranging Distance : 2cm – 400 cm/1″ – 13ft
- Resolution : 0.3 cm
- Measuring Angle: 30 degree
- Trigger Input Pulse width: 10uS
- Dimension: 45mm x 20mm x 15mm
 
[Technical Datasheet for the HC-SR04 Ultrasonice Distance Sensor](https://core-electronics.com.au/attachments/localcontent/HCSR04_80625a9081e.pdf)

## Guides for this product

- [Effective Ways To Measure Distance In Maker Projects](https://core-electronics.com.au/guides/sensors/effective-ways-to-measure-distance-in-maker-projects/)
- [Ultrasonic Sensing with Pycom](https://core-electronics.com.au/guides/pycom/hc-sr04-ultrasonic-sensor-with-pycom-tutorial/)

## Videos for this product

- [Effective Ways To Measure Distance In Your Maker Projects!](https://core-electronics.com.au/videos/effective-ways-to-measure-distance-in-your-maker-projects)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/d/e/device6_1000.jpg)
