HC-SR04 ultrasonic rangefinder pinout

HC-SR04 ultrasonic rangefinder, circuit with 40 kHz ultrasonic transducers, 5 V logic, 45×20 mm, 4 pins

partly verified15.10.2026

Front view (transducers facing the viewer), header at the bottom.

Download PNG
Chip
circuit with 40 kHz ultrasonic transducers
Logic
5 V
Power
Vcc 4.5-5.5 V

Important

  • 5 V supply. Echo is a 5 V output: 3.3 V boards need a divider.
  • Range 2-400 cm, angle about 15°.
  • Geometry from independent KiCad footprints and photos (±0.3 mm). Holes and small components are approximate, check with calipers.
  • Cytron: connect GND first, then Vcc.

Revisions and clones

  • HC-SR04P: 3-5.5 V supply, works from 3.3 V without a divider (shorter range). No manufacturer documentation.
  • RCWL-9610 / RCWL-1601 (Adafruit 4007): 2.8-5.5 V, output level equals the supply, different size.

All pins

LabelNumberFunctionsLimitsCheck
Vcc5 Vpower inputnot from manufacturer
TrigTrig: trigger input, pulse of 10 µs or morenot from manufacturer
EchoEcho: output, pulse width = time to the obstaclenot from manufacturer
GNDGroundnot from manufacturer

Sources

Not verified against the manufacturer: 4 of 4 pins. The pin card says what confirms each one and where sources disagree.

Size: 45×20 mm per Elecfreaks, Cytron, Handsontec (The Pi Hut says 43×20) (approximate).

FAQ

What supply voltage does the HC-SR04 ultrasonic rangefinder need?
Vcc: 4.5-5.5 V. 5 V logic.

You might also need

Similar boards