HC-SR04 Ultrasonic Distance Sensor

HC-SR04 Ultrasonic Distance Sensor

Price in Bangladesh: ৳99 · In stock · SKU HC-SR04 · Brand Generic

Sonar distance ranging sensor (2cm to 400cm)

Overview

The HC-SR04 Ultrasonic Distance Sensor is a sonar distance ranging sensor (2cm to 400cm). Key figures: Operating Voltage: 5V DC (Quiescent Current < 2mA); Measuring Range: 2cm to 400cm (0.3cm resolution); Measuring Angle: 15 deg effective ultrasonic beam cone.

It is a popular choice for obstacle-avoiding robots, line followers, parking sensors and liquid-level measurement. The pinout table and connection diagram on this page show exactly how to wire it, and the starter code gets it running in minutes.

Stocked in Dhaka and delivered anywhere in Bangladesh by Steadfast courier, with Cash on Delivery, bKash and Nagad payment. Find compatible parts under Sensors & Detection › Distance & Line.

Key specifications

  • Operating Voltage: 5V DC (Quiescent Current < 2mA)
  • Measuring Range: 2cm to 400cm (0.3cm resolution)
  • Measuring Angle: 15 deg effective ultrasonic beam cone
  • Trigger Input Signal: 10us TTL high pulse
  • Echo Output: TTL pulse width proportional to distance

Technical details

Operating Voltage5V DC (Quiescent Current < 2mA)
Measuring Range2cm to 400cm (0.3cm resolution)
Measuring Angle15 deg effective ultrasonic beam cone
Trigger Input Signal10us TTL high pulse
Echo OutputTTL pulse width proportional to distance
InterfaceDigital Pulse Timing

In the box

  • 1 × HC-SR04 Ultrasonic Distance Sensor

Questions and answers

Does the HC-SR04 Ultrasonic Distance Sensor work with ESP32 and 3.3V boards?

Yes in most cases. Power it at a voltage your board supports and make sure the signal level reaching the ESP32 does not exceed 3.3V.

Do I need a library?

The starter sketch on this page lists any library it uses at the top (#include lines). Install it from the Arduino Library Manager.

Delivery and payment

Delivered across all 64 districts of Bangladesh by courier, usually in 1–3 days. Pay by Cash on Delivery, bKash or Nagad.

Related products