info@isol.pk 2nd Floor, 72, Westend Plaza, Shahrah-e-Quaid-e-Azam, Mozang Chungi, Lahore
Follow Us:
SKU: Elec-7

HC-SR04 Ultrasonic Distance Measuring Sensor Module

High-accuracy HC-SR04 ultrasonic range finder sensor (2cm to 400cm range) with 3mm precision for Arduino robotics obstacle avoidance and distance measurement.

Quick Summary & Specs

HC-SR04 Ultrasonic Distance Measuring Sensor Module is an original, pre-tested electronic module designed for Arduino, ESP32, Raspberry Pi, robotics, and embedded engineering projects. Includes verified pinout compatibility and nationwide express shipping across Pakistan.

24-48h Dispatch Cash on Delivery 7-Day Support & Warranty
Rs 200.00

100 In Stock
Tested & Quality Guaranteed Transducer-tested for Accurate Echo Timing. 7-Day Replacement Warranty.
Fast Local & Nationwide Shipping Same-Day Dispatch in Lahore | 2-3 Days COD to Karachi, Islamabad & All Pakistan.

HC-SR04 Ultrasonic Distance Measurement Rangefinder

The HC-SR04 ultrasonic ranging module provides 2cm to 400cm non-contact distance measurement function with ranging accuracy reaching up to 3mm. The module includes ultrasonic transmitters, receiver, and control circuit. It is the fundamental sensor for autonomous robotics obstacle avoidance and smart liquid level sensing.

⚡ Technical Specifications:

- Operating Voltage: 5V DC
- Quiescent Current: < 2 mA
- Working Current: 15 mA
- Effective Angle: < 15°
- Measuring Distance Range: 2 cm – 400 cm (1 inch – 13 feet)
- Resolution: 0.3 cm (3 mm)
- Trigger Input Signal: 10µs TTL pulse
- Echo Output Signal: TTL pulse proportional to distance ($Distance = rac{Time imes SpeedOfSound}{2}$)
- Dimensions: 45mm x 20mm x 15mm

🛠️ Applications:

- Obstacle Avoiding Robots & Autonomous Rovers
- Water Tank & Sump Level Monitoring Systems
- Digital Ultrasonic Tape Measure & Parking Sensors
- Security Alarm Beams & People Counters

What's Included in the Package:

  • 1x HC-SR04 Ultrasonic Distance Measuring Sensor Module
  • 1x Anti-static Packaging

Pinout Interfacing & Testing Guide:

Step 1: Verify Pinout & Voltage

Check the silkscreen pin labels (VCC, GND, SDA/SCL or I/O) and confirm whether your microcontroller uses 3.3V or 5V logic.

Step 2: Connect to Microcontroller

Wire the power, ground, and signal pins to your Arduino, ESP32, or Raspberry Pi using breadboard jumper wires.

Step 3: Run Sample Test Sketch

Upload a standard test sketch via Arduino IDE or MicroPython and verify live readings on the Serial Monitor.

Component Quality Note: Every sensor, display, and driver module is bench-inspected and covered by our 7-day replacement warranty.
Custom Prototyping & FYP Enclosures

Need a Custom 3D Printed Casing or Multilayer PCB?

Get custom snap-fit enclosures and robotics parts printed via our custom 3D printing service in Lahore & Pakistan, or order industrial double-sided circuit boards through our custom PCB fabrication service with nationwide delivery.

Community Questions & Answers

Have a question about compatibility, code, or delivery? Ask our engineering team or see what other Pakistani makers asked.

Login to Ask Question
Verified Answers by ISOL Engineers
W
waqas_malik7 Verified Buyer
2 months ago

Bhai kya ye sensor 3.3V ESP32 k GPIO pins pe safely direct connect ho jata hai ya voltage divider lagana pare ga?

ISOL Engineering Team Sep 02, 2026

Walaikum Assalam! The HC-SR04 VCC requires 5V, but its ECHO pin outputs a 5V logic signal. For an ESP32 (which has 3.3V GPIOs), we strongly recommend a simple 2-resistor voltage divider (e.g. 1kΩ and 2kΩ) on the Echo line to protect your ESP32 pin.

T
Talha Farooq Verified Buyer
2 months, 3 weeks ago

Can I connect this directly with 3.3V ESP32 pin or does it need voltage divider resistor?

ISOL Engineering Team Aug 15, 2026

The HC-SR04 VCC requires 5V power, but the Echo pin output (5V) should be stepped down to 3.3V using a simple 1k/2k resistor voltage divider before connecting to ESP32 GPIO to protect the 3.3V logic level.

Recommended Accessories & Related Products

Customer Reviews

Average Rating

0

Based on 0 reviews

No reviews yet. Be the first to share your experience!

Chat with Support Online