Ultrasonic Distance Sensor (HC-SR04P)Sensors and modules

Sensors and modules

Ultrasonic Distance Sensor (HC-SR04P)

Measures distance with sound, the usual eyes of an obstacle avoiding robot. P version suits 3.3 V boards.

  • Four pins: VCC, Trig, Echo and GND
  • Typically measures from about 2 cm to about 4 m
  • The P version is meant for a wider supply range (typically about 3 V to 5.5 V), so it can be used with 3.3 V boards such as ESP32 as well as 5 V Arduino boards
Price₹99
Ask on WhatsApp

We confirm price, availability and delivery with you before you pay. See all components

What it is

The HC-SR04P ultrasonic sensor sends out a burst of sound above human hearing and measures how long the echo takes to return. From that time the controller works out the distance to an object, so a robot can stop or turn before it hits a wall.

Where it is used

  • Obstacle avoiding robot cars
  • Measuring distance, for example parking or level indicators
  • Learning how sensors turn physics into numbers

Check before you order

A few checks that save time and money.

Used in Maker Dost projects

See these in a complete robotics kit.

Common questions

How far can it measure?

Typically from about 2 cm to about 4 m in good conditions. Soft, angled or very small objects may not be detected well.

Can I use it with ESP32?

The HC-SR04P version is made for a wider supply range, so it can be powered at 3.3 V. Check your exact module and ask us if you are unsure.

Related components

Parts that are often used together.

View all 28 components

Want the price of the Ultrasonic Distance Sensor?

Message us and we will confirm the price, availability and delivery.