The HC-SR04 Ultrasonic Sensor Distance Measuring Module (New Version, Single Chip) is a compact, high-performance ranging module that uses ultrasonic waves to measure distance from 2cm to 450cm with high accuracy. This new version integrates a single-chip microcontroller on the module, enabling four interface options — GPIO (trigger/echo), I²C, UART, and 1-Wire — all from the same 4-pin connector. It is the most versatile HC-SR04 variant available, designed for robotics, obstacle avoidance, liquid level sensing, parking sensors, and DIY electronics projects.
At the heart of the module is an ultrasonic transmitter and receiver pair that works on the principle of time-of-flight measurement. The transmitter emits a 40kHz ultrasonic burst, which travels through the air, reflects off an object, and returns to the receiver. The module measures the time between transmission and reception, then calculates the distance using the speed of sound.
The Single Chip designation refers to the onboard microcontroller that handles all signal processing and interface protocols. This integration offers several advantages over the classic HC-SR04:
-
Multi-interface support — Choose between GPIO (trigger/echo) , I²C, UART, or 1-Wire communication without any hardware modification.
-
Wide voltage range — Operates from 3V to 5V DC, making it compatible with both 3.3V and 5V microcontrollers.
-
Improved accuracy — Up to ±0.3cm measurement accuracy.
-
Wider detection range — Measures from 2cm to 450cm.
-
Stable timing — Onboard crystal oscillator provides accurate, consistent measurements.
-
Simplified integration — The single-chip design reduces external component requirements and simplifies firmware development.
The module features a 4-pin interface (VCC, GND, Trig/TX, Echo/RX) for easy connection to microcontrollers. In GPIO mode, the classic trigger/echo method is used. In I²C mode, the module can be connected to an I²C bus for multi-sensor applications. In UART mode, the module outputs distance data as serial text. In 1-Wire mode, a single data line handles both control and data, minimizing pin usage.
The compact form factor with mounting holes allows easy integration into robot chassis, sensor arrays, and custom enclosures. The module is widely used in robotics, obstacle avoidance, liquid level sensing, parking sensors, human detection, distance measurement, and DIY automation projects. It is also popular in educational projects for teaching ultrasonic ranging, time-of-flight measurement, and sensor integration.
Important Note: The HC-SR04 uses ultrasonic waves, which are affected by temperature, humidity, and air pressure. For high-precision applications, consider temperature compensation. The module requires a minimum delay of 60ms between measurements to avoid echo interference. Objects with soft, angled, or irregular surfaces may not reflect sound waves effectively, reducing detection reliability. The module is not waterproof — do not immerse in water or operate in wet environments without protection.
Whether you are building a robot with obstacle avoidance, a parking sensor, or a liquid level monitoring system, the HC-SR04 Ultrasonic Sensor Module (New Version, Single Chip) provides a reliable, versatile solution with the widest interface support available. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.
Features
-
Single-chip design — Onboard microcontroller for all signal processing and interface protocols
-
Four interface options — GPIO (trigger/echo), I²C, UART, and 1-Wire
-
Wide voltage range — 3V to 5V DC operation
-
High accuracy — Up to ±0.3cm measurement accuracy
-
Wide detection range — 2cm to 450cm
-
40kHz ultrasonic frequency — Standard frequency for reliable ranging
-
Onboard crystal oscillator — Stable timing for accurate measurements
-
4-pin interface — VCC, GND, Trig/TX, Echo/RX
-
Compact form factor — With mounting holes for easy integration
-
Wide application range — Robotics, obstacle avoidance, liquid level, parking sensors
Technical Specifications
| # | Parameter | Specification |
|---|---|---|
| 1 | Module Model | HC-SR04 (New Version, Single Chip) |
| 2 | Operating Voltage | 3V – 5V DC |
| 3 | Ultrasonic Frequency | 40kHz |
| 4 | Detection Range | 2cm – 450cm |
| 5 | Measurement Accuracy | Up to ±0.3cm |
| 6 | Interface Options | GPIO / I²C / UART / 1-Wire |
| 7 | Pin Count | 4 pins (VCC, GND, Trig/TX, Echo/RX) |
| 8 | Module Dimensions | Compact PCB with mounting holes |




















