Skip to product information
1 of 2

Accurate Distance Sensing for Arduino, ESP32, and Raspberry Pi Projects

The HC-SR04 Ultrasonic Ranging Sensor with Bracket is the go-to distance measurement module for makers, students, and engineers across the Philippines. Using 40 kHz ultrasonic pulses, it measures distances from 2 cm to 500 cm with ±1 cm accuracy — no contact required. Whether you're building a robot, an obstacle-avoidance car, or a smart parking system, this sensor delivers reliable results every time.

It connects directly to any Arduino, ESP32, Raspberry Pi, or STM32 board using just four pins: VCC, GND, TRIG, and ECHO. No libraries are strictly required — a simple pulse-timing sketch is enough to get readings in centimeters or inches within minutes. The optional mounting bracket variants (transparent or blue) make installation easy in enclosures, robot chassis, and school project housings.

Bundle tip: Our COMBI bundles pair the HC-SR04 with a compatible bracket in one convenient package — perfect for robotics kits, Arduino starter projects, and classroom builds. Choose the standalone sensor or a combo that fits your build.

Why you'll love it

  • Plug-and-play simplicity: Four-pin interface works with virtually any microcontroller or SBC
  • 2 cm to 500 cm range: Wide sensing range ideal for robotics, parking, and level detection
  • ±1 cm accuracy: Consistent, repeatable measurements at 40 kHz ultrasonic frequency
  • No contact needed: Non-contact sensing means nothing touches the object being measured
  • Bracket options available: Transparent or blue mounting brackets for clean, secure installation
  • COMBI bundles: Get the sensor and bracket together at a better value
  • Locally available in the Philippines: Fast shipping from Circuitrocks — no long international waits
  • Great for learning: One of the most documented sensors online — thousands of tutorials available

What you can build

This sensor is perfect for obstacle-avoidance robots, automated parking distance alerts, water level monitors, smart dustbins, intruder detection systems, conveyor belt object counters, blind-spot warning devices, staircase LED triggers, and any project where knowing the distance to an object matters. Widely used in Arduino courses, thesis projects, and capstone builds across Philippine universities and technical schools.

Starter bundles & compatible boards

Pair this sensor with an Arduino Uno, ESP32, Raspberry Pi, or any microcontroller board available at Circuitrocks. Need a bracket too? Choose a COMBI bundle above to get everything in one order.

Recommended add-ons

Useful add-ons include OLED displays for real-time readouts, buzzer modules for proximity alerts, servo motors for automated responses, jumper wires, breadboards, and motor driver shields if you're building a mobile robot.

Sensor variant comparison

Not sure which variant to pick? Use this table to choose the right sensor for your project:

Variant Voltage Range Logic Level Best For Price
HC-SR04 5V DC 2 – 500 cm 5V (voltage divider needed for 3.3V boards) Arduino Uno, Mega, Nano — beginner & school projects ₱59
HYSRF04 5V 5V DC 2 – 450 cm 5V Premium HC-SR04 replacement with improved temperature stability ₱75
US-015 5V DC 2 – 400 cm 5V Dual-element design for more stable readings; robotics ₱75
US-100 3.3V – 5V 2 – 450 cm 3.3V & 5V native ESP32, Raspberry Pi, and other 3.3V boards — no voltage divider needed ₱75

Bundle / COMBI comparison

Bundle options pair a sensor with a mounting bracket so you get everything in one order:

Bundle Includes Bracket Color Best For Price
Bracket Transparent Bracket only Clear / Transparent Mounting your existing HC-SR04 cleanly ₱25
Bracket Blue Bracket only Blue Color-coded robot or enclosure builds ₱35
COMBI 1 HC-SR04 + Transparent Bracket Transparent All-in-one starter for Arduino projects ₱75
COMBI 2 HC-SR04 + Blue Bracket Blue Stylish robot builds, color-coded builds ₱85
COMBI 3 US-100 + Transparent Bracket Transparent ESP32 / 3.3V board projects needing native logic ₱105
COMBI 4 US-015 + Transparent Bracket Transparent Stable dual-element sensing with mounting ₱95

Technical specifications

Sensor Models HC-SR04, HYSRF04 5V, US-015, US-100
Operating Voltage 5V DC (US-100: 3.3V – 5V)
Working Current ≤15 mA
Ultrasonic Frequency 40 kHz
Minimum Range 2 cm
Maximum Range 400 – 500 cm depending on variant
Accuracy ±1 cm
Measuring Angle <30°
Resolution 1 cm
Interface TRIG (input) + ECHO (output) — digital GPIO
Dimensions 45 × 20 × 15 mm (standard HC-SR04)
Compatible Platforms Arduino, ESP8266, ESP32, Raspberry Pi, STM32, PIC
Bracket Options Transparent or Blue (standalone or in COMBI bundles)

Wiring & usage notes

Connect VCC → 5V, GND → GND, TRIG → any digital output pin, and ECHO → any digital input pin on your board. Send a 10 µs HIGH pulse on TRIG, then measure the duration of the ECHO pulse. Use the formula:

Distance (cm) = Echo pulse duration (µs) ÷ 58

For ESP32 or 3.3V boards, add a voltage divider (1kΩ + 2kΩ) on the ECHO line to protect GPIO pins, since HC-SR04 outputs 5V on ECHO. The US-100 and HYSRF04 5V variants offer better compatibility with 3.3V logic natively.

What's in the box

1 × HC-SR04 Ultrasonic Ranging Sensor (or selected variant)

COMBI bundles include 1 × Sensor + 1 × Mounting Bracket (transparent or blue).

Note: Jumper wires and microcontroller boards are sold separately.

Frequently Asked Questions

What is the HC-SR04 used for? It is an ultrasonic distance sensor that measures how far an object is using sound waves. Common uses include robots, parking sensors, water level monitors, and obstacle detection systems.
Is it compatible with Arduino and ESP32? Yes. It works with Arduino Uno, Nano, Mega, ESP8266, ESP32, Raspberry Pi, and most microcontroller boards. It only needs two GPIO pins (TRIG and ECHO).
What is the difference between the variants (HC-SR04, US-015, US-100, HYSRF04 5V)? HC-SR04 is the standard 5V model. US-015 has a dual-element design for more reliable readings. US-100 supports 3.3V logic natively. HYSRF04 5V is a premium version with better temperature stability.
What does the bracket do? The mounting bracket holds the sensor securely to robot frames, enclosures, or panels. Bracket Transparent and Bracket Blue are the available colors. COMBI bundles include both the sensor and bracket.
Can I use this with a 3.3V board like ESP32 without a voltage divider? For HC-SR04, the ECHO pin outputs 5V so a voltage divider on ECHO is recommended for ESP32. The US-100 variant natively supports 3.3V logic and is safer for 3.3V boards.
Is this available in the Philippines? Yes. Circuitrocks ships this sensor across the Philippines. It is one of the most popular sensors for Arduino and robotics projects in Philippine schools and makerspaces.
What is the maximum distance this sensor can detect? The HC-SR04 reliably measures up to 400–500 cm (4–5 meters). Beyond that, the signal may weaken and readings become unreliable.

Ultrasonic Ranging Sensor HC-SR04 and Bracket For Distance Sensors in Arduino

Ultrasonic Ranging Sensor HC-SR04 and Bracket For Distance Sensors in Arduino

52 in stock

Product Code

SKU:2134

Regular price ₱ 25.00
Regular price Sale price ₱ 25.00
Sale Sold out
TYPE
View full details

Related Post