# Ultrasonic distance sensor HC-SR04

Manufacturer: SparkFun  |  MPN: SEN-15569  |  Category: distance-sensor
Canonical: https://partsgraph.ai/catalog/parts/sparkfun-hc-sr04
Image: https://partsgraph.ai/catalog/img/sparkfun-hc-sr04.jpg (photo: SparkFun, CC BY 2.0; sha256 9f5afe869ebc)

## Attributes (each with provenance)

- **Measuring range**: 2 to 400 cm
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 1) sha256:4ebdc3e1f70d
  - quote: "uct features: Ultrasonic ranging module HC - SR04 provides 2cm - 400cm non-contact measurement function, the ranging accuracy can"
- **Working voltage**: 5 V
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 1) sha256:4ebdc3e1f70d
  - quote: "(340M/S) / 2,  Wire connecting direct as following:  5V Supply  Trigger Pulse Input  Echo Pulse Output  0V"
- **Measuring angle**: 15 degree
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 1) sha256:4ebdc3e1f70d
  - quote: "2cm MeasuringAngle 15 degree Trigger Input Signal 10uS TTL puls"
- **Working current**: 15 mA
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 1) sha256:4ebdc3e1f70d
  - quote: "DC 5 V Working Current 15mA Working Frequency 40Hz Max Rang"
- **Ultrasonic frequency**: 40 kHz
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 2) sha256:4ebdc3e1f70d
  - quote: "the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo. The Echo is a distance object that is p"
- **Ranging accuracy**: 3 mm
  - source: https://www.sparkfun.com/ultrasonic-distance-sensor-hc-sr04.html
  - quote: "functionality with a ranging accuracy that can reach up to 3mm. $5.25 In stock SKU SEN-15569 Qty - + Add to Cart In stock"
- **Trigger pulse width**: 10 uS
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 1) sha256:4ebdc3e1f70d
  - quote: "basic principle of work: (1) Using IO trigger for at least 10us high level signal, (2) The Module automatically sends eight"
- **Suggested measurement cycle**: 60 ms
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 2) sha256:4ebdc3e1f70d
  - quote: "level time * velocity (340M/S) / 2; we suggest to use over 60ms measurement cycle, in order to prevent trigger signal to th"
- **Dimensions**: 45*20*15mm
  - source: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (page 1) sha256:4ebdc3e1f70d
  - quote: "proportion Dimension 45*20*15mm Vcc Trig Echo"

## Vendors

- SparkFun: https://www.sparkfun.com/ultrasonic-distance-sensor-hc-sr04.html (~USD 5.25, indicative as of 2026-08-18)

## Datasheets

- HC-SR04 datasheet: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (sha256 4ebdc3e1f70d)

Used in builds: 2wd-robot (roles: range-sensor)

Machine feed of the whole catalogue: https://partsgraph.ai/catalog/feed.json