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.
### 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
Quick Build & Interfacing Guide:
Unbox and verify all pre-tested sensors, microcontrollers, and wiring components included in your package.
Secure mechanical brackets, servos, and modules to the main frame using the provided mounting hardware.
Interface VCC, GND, and GPIO signal lines according to the verified schematic diagram provided with the kit.
Upload the tested source code via Arduino IDE, Python, or ESP-IDF and verify live sensor readings and actuation.
Community Questions & Answers
Have a question about compatibility, code, or delivery? Ask our engineering team or see what other Pakistani makers asked.
Bhai kya ye sensor 3.3V ESP32 k GPIO pins pe safely direct connect ho jata hai ya voltage divider lagana pare ga?
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.
Can I connect this directly with 3.3V ESP32 pin or does it need voltage divider resistor?
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.
