HC-SR04 Ultrasonic Distance Sensor Module 2cm to 400cm for Arduino ESP32 Raspberry Pi Robotics and Distance Measurement Projects

HC-SR04 Ultrasonic Distance Sensor Module 2cm–400cm for Arduino & ESP32

RS.190
Sale price  RS.190 Regular price  RS.
Skip to product information
HC-SR04 Ultrasonic Distance Sensor Module 2cm to 400cm for Arduino ESP32 Raspberry Pi Robotics and Distance Measurement Projects

HC-SR04 Ultrasonic Distance Sensor Module 2cm–400cm for Arduino & ESP32

RS.190
Sale price  RS.190 Regular price  RS.

Product Overview

Buy HC-SR04 Ultrasonic Distance Sensor Module in Pakistan. Measures distances from 2cm to 400cm for Arduino, ESP32, Raspberry Pi and robotics projects.

Description

HC-SR04 Ultrasonic Distance Sensor Module 2cm–400cm

The HC-SR04 Ultrasonic Distance Sensor Module is a reliable non-contact distance measurement sensor designed for robotics, automation and embedded electronics. It operates by transmitting 40kHz ultrasonic pulses and measuring the time taken for the echo to return, allowing precise distance calculations. It provides a measurement range of 2 cm to 400 cm with a typical accuracy of ±3 mm under suitable conditions.

The module communicates through a simple Trigger and Echo interface, making it easy to connect with Arduino, ESP32, Raspberry Pi, STM32, ESP8266 and other microcontrollers. Its compact design and low cost make it one of the most widely used sensors for educational, DIY and industrial prototype applications.

The HC-SR04 is ideal for obstacle avoidance robots, automatic parking systems, water level measurement, smart bins, industrial automation and IoT monitoring systems.

Key Features

  • Non-contact ultrasonic distance measurement
  • Measuring range: 2cm to 400cm
  • High accuracy up to ±3mm
  • 40kHz ultrasonic frequency
  • Simple Trigger and Echo interface
  • Fast response time
  • Low power consumption
  • Stable measurement performance
  • Easy Arduino integration
  • Compatible with ESP32 and Raspberry Pi
  • Compact PCB design
  • Ideal for robotics and automation

Technical Specifications

Specification Details
Model HC-SR04
Measuring Range 2cm – 400cm
Measuring Accuracy ±3mm
Operating Voltage 5V DC
Operating Current 15mA
Standby Current <2mA
Operating Frequency 40kHz
Detection Angle ≤15°
Trigger Input 10µs TTL Pulse
Output Echo TTL Pulse
Dimensions Approx. 45 × 20 × 15 mm

Applications

Perfect for:

  • Arduino Projects
  • ESP32 Projects
  • Raspberry Pi Projects
  • Obstacle Avoidance Robots
  • Robot Cars
  • Distance Measurement
  • Water Level Monitoring
  • Smart Parking Systems
  • Smart Dustbins
  • Industrial Automation
  • IoT Systems
  • STEM Education

Package Includes

  • 1 × HC-SR04 Ultrasonic Distance Sensor Module

Why Buy from Chip.pk?

  • Genuine quality sensor modules
  • Fast delivery across Pakistan
  • Retail & wholesale pricing
  • Secure packaging
  • Technical support before purchase
  • Trusted supplier for Arduino, ESP32 and Raspberry Pi products
  • High-quality electronics components

Frequently Asked Questions (FAQs)

Is the HC-SR04 compatible with Arduino?

Yes. It works perfectly with Arduino Uno, Nano, Mega and other Arduino-compatible boards.

Can I use it with ESP32?

Yes. It works with ESP32, but since the Echo pin outputs 5V, a voltage divider or level shifter is recommended to protect the ESP32's 3.3V GPIO pins.

What distance can it measure?

It measures distances from 2 cm to 400 cm using ultrasonic sound waves.

Can it detect transparent or soft objects?

It can detect many solid objects reliably, but very soft, angled or sound-absorbing materials (such as cloth or foam) may reduce measurement accuracy.

Is it suitable for obstacle avoidance robots?

Yes. The HC-SR04 is one of the most commonly used sensors for obstacle avoidance, autonomous robot cars and smart navigation systems.

You may also like