HC-SR04 Ultrasonic Sonar Distance Sensor + 2 x 10K resistors

Product ID: 3942
Qty Discount
1-9 $3.95
10-99 $3.56
100+ $3.16


If you're like me, you've dreamed of being a dolphin - smoothly gliding through the water. Using your echo-location abilities to detect tasty fish treats. Until genetic modifications catches up with our desires, we'll just have to make do with these handy HC-SR04 Ultrasonic Sonar Distance Sensors and a pair of flippers. These ubiquitous sensors are really common in robotics projects, but they can also be used for automation, interactive art and motion sensing. They work at about 2cm to 400cm away, but we think 10cm-250cm will get you the best results.

These sensors are fast, fairly easy to use, and low cost. They do require powering from 5V for best results: connect GND (ground) and VCC to 5V power. While the Trig signal can be 3V or 5V, the 'return' Echo signal is 5V logic. For that reason, we include two 10K resistors, use these as a divider to convert the 5V logic level to a safe 2.5V that you can read with your 3V device.

You can use this sensor with Arduino, CircuitPython (for microcontrollers or Raspberry Pi) or MakeCode

We carry a large variety of distance sensors here if this fellow isn't what you're looking for.

Technical Details

  • Power & Logic Voltage: DC 5V
  • Current during measurment: 15mA
  • Ultrasonic Frequency: 40 KHz
  • Measuring Angle: 15º
  • Trigger Input Signal: 10uS high pulse
  • Sensor dimensions (excluding header): 45.5 x 20 x 15.5mm
  • Weight: 8.7g



Find your distance with the power of sonar!
Start to make a new robot friend using MakeCode, Crickit, and micro:bit
Using MakeCode on the Circuit Playground Express to measure distance with an HC-SR04 ultrasound sensor.
Make spooky, pumpkiny sounds this Halloween!