Ultrasonic Distance Sensor

$2
Price $2
Category Sensors
Availability In stock
Delivery Shipped across Lebanon, or collect from the lab

The classic bat-style rangefinder: give Trig a 10 microsecond pulse, time how long Echo stays high, and divide. It works from about 2 cm out to 4 m with roughly 3 mm of resolution over a cone of about 15 degrees, on 5V and under 15 mA. Cheap, forgiving and covered by every Arduino tutorial ever written, which is why it is still the default obstacle sensor on a first robot. Soft or angled targets scatter the ping.

Key features

  • Range about 2 cm to 4 m, roughly 3 mm resolution
  • 5V supply, under 15 mA
  • 40 kHz ping over a cone of about 15 degrees
  • Simple Trig / Echo timing - no library required
  • Echo output is 5V - divide it down for a 3.3V board
  • Struggles with soft, angled or very small targets

Details

Specifications

Model HC-SR04
Measuring range About 2 cm to 4 m
Resolution About 3 mm
Beam angle About 15 degrees
Operating voltage 5V DC
Operating current Under 15 mA
Ultrasonic frequency 40 kHz
Trigger 10 microsecond HIGH pulse on Trig
Interface Trig / Echo digital timing