Hc Sr04 Ultrasonic Sensor Buying Guide
The HC-SR04 is a low-cost ultrasonic distance sensor module (transmitter, receiver, and control IC) used with microcontrollers for non-contact ranging from roughly 2 cm to 400 cm. The core trade-off is between the classic 5V HC-SR04 (simple trigger/echo pulse, ±3 mm claimed accuracy) and 3.3V-compatible variants (HC-SR04P, RCWL-1601, JSN-SR04T waterproof) that avoid level-shifting but vary in beam angle and minimum range. The decision rule: buy the 5V HC-SR04 only if your MCU has 5V-tolerant inputs or you add a divider; otherwise pick a native 3.3V variant and skip bare 5V modules.
Key takeaways
- Classic HC-SR04 runs on 5V DC, draws ~15 mA active, and outputs an echo pulse whose width (µs) ÷ 58 gives distance in cm.
- Rated range is 2–400 cm with ~15° effective beam angle; below 2 cm readings are unreliable due to ringing and blind zone.
- 3.3V-compatible versions (HC-SR04P, RCWL-1601) exist; feeding 5V echo into a 3.3V MCU without a divider risks pin damage.
At a glance
- Price range
- Varies by listing
- Category
- Sensors, Encoders & Machine Safety
- Last updated
- Nov 28, 2026
Current offers
Highlights
- Classic HC-SR04 runs on 5V DC, draws ~15 mA active, and outputs an echo pulse whose width (µs) ÷ 58 gives distance in cm.
- Rated range is 2–400 cm with ~15° effective beam angle; below 2 cm readings are unreliable due to ringing and blind zone.
- 3.3V-compatible versions (HC-SR04P, RCWL-1601) exist; feeding 5V echo into a 3.3V MCU without a divider risks pin damage.
- Waterproof JSN-SR04T uses a sealed probe with longer minimum range (~20–25 cm) but survives outdoor splash and dust.
Best use cases
- Pick the standard 5V HC-SR04 for Arduino Uno/Nano/Mega projects where 5V logic is native and the sensor sits indoors on a fixed bracket.
- Choose a 3.3V variant (HC-SR04P or RCWL-1601) for ESP32, ESP8266, Raspberry Pi Pico, or STM32 boards to avoid resistor dividers on the echo line.
- Use the JSN-SR04T waterproof probe for outdoor tank level, parking assist, or dusty environments; skip bare HC-SR04 there because exposed transducers clog and corrode.
- Skip ultrasonic sensing for soft, angled, or sound-absorbing targets (curtains, foam, slatted fences) where IR or ToF sensors give more reliable returns.
Buying tips
- Match logic voltage first: 5V HC-SR04 needs a voltage divider (1kΩ/2kΩ) on echo for 3.3V MCUs; 3.3V variants remove that extra parts count.
- Check the trigger pulse spec: 10 µs HIGH trigger is standard; some clones need longer pulses, so verify the module's datasheet revision.
- For ranging under 10 cm, prefer variants with documented short blind zones or add a mechanical offset; stock HC-SR04 is unreliable below ~2 cm.
- Choose sealed/waterproof probes (JSN-SR04T) only when the longer ~20 cm minimum range fits your tank or wall distance; they trade close-range for ingress protection.
Specs
| Operating Voltage | 5V DC (3.3V variants available) |
|---|---|
| Ranging Span | 2–400 cm (waterproof: ~20–400 cm) |
| Interface | Trigger/echo digital pulse (10 µs) |
| Beam Angle | ~15° effective cone |
Related searches
What to check before buying
- Confirm your MCU's logic level (5V vs 3.3V) and whether the echo pin is 5V-tolerant before choosing the module variant.
- Measure the minimum and maximum target distance in your enclosure: stock HC-SR04 covers 2–400 cm, waterproof probes start around 20–25 cm.
- Plan mounting: transducers need a clear, perpendicular line of sight; recessed or angled mounting causes false echoes and reduced range.
- Verify power budget: ~15 mA active per module is fine on USB or bench supplies, but battery nodes should duty-cycle readings to save energy.
FAQ
Data sources: eBay / Amazon listings and product attribute feeds. Updated Nov 28, 2026.
Some links on this page are affiliate links. If you buy after clicking one, we may earn a commission at no extra cost to you. This does not change which products appear here or their order. Affiliate disclosure.