Home HC-SR04 Ultrasonic Sensor Module 5V - Distance 2cm-400cm
HC-SR04 Ultrasonic Sensor Module 5V - Distance 2cm-400cm – Compoden electronics component
In Stock

HC-SR04 Ultrasonic Sensor Module 5V - Distance 2cm-400cm

SKU: CDN-0404 Brand: Compoden Category: Electronics > Electronic Components
Rs. 85.00
Inclusive of all taxes
Free Shipping on prepaid orders above ₹999
Ships in 3-7 days
7-Day Warranty on manufacturing defects
Need 10+ units? Contact us for bulk pricing
100% Genuine Products
Expert Technical Support
Quality Tested
Soldr.ai Ask about this product

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

The HC-SR04 ultrasonic sensor module measures distance by emitting 40kHz sound pulses and receiving the echo. It detects objects from 2cm up to 400cm away with <15° measuring angle, making it suitable for proximity sensing and distance measurement in robotics, automation, and DIY projects. The compact module operates at 5V and uses only two GPIO pins for trigger and echo, ensuring straightforward microcontroller integration.

Key Specifications

Specification Value
Operating Voltage 5V DC
Operating Current 15mA
Frequency 40kHz
Measurement Range 2cm – 400cm
Measuring Angle <15°
Dimensions 45mm × 20mm × 15mm

What You Can Build With This

Compatibility

Works with Arduino (Uno, Nano, Mega), Raspberry Pi (requires level shifter for 3.3V logic on Echo pin), ESP32, and any microcontroller with GPIO pins. The module needs a 5V supply; the Echo pin outputs a 5V signal, so use a voltage divider when connecting to 3.3V boards.

Wiring Notes

Connect VCC to 5V, GND to ground, Trig to a digital output pin, and Echo to a digital input pin. For stable readings, add a 10µF capacitor across VCC and GND. When using with 3.3V microcontrollers, attach a voltage divider (10kΩ / 20kΩ) on the Echo line to step down to safe levels.

Why Buy from Compoden

Every component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.

Is this compatible with Raspberry Pi?

Yes, but the Echo pin outputs 5V, so a voltage divider (10k and 20k resistors) is needed to reduce it to 3.3V for safe connection.

What is the maximum range outdoors?

The rated 400cm range is under ideal indoor conditions; outdoor performance may be reduced due to wind, temperature, and acoustic noise.

Does it come with connecting wires?

The module is sold standalone. Standard 2.54mm pitch header pins can be used for connections; some packages may include header pins.

📦 Free Setup Handoff Document Included

Every Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.

Shipping Information

  • Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
  • COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
  • Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location

Returns & Warranty

  • 7-Day Return: Manufacturing defects only (approval required)
  • Warranty: 7 days from delivery
  • Non-Returnable: Batteries, consumables, cut wires, clearance items

View complete shipping policy →

View complete returns policy →