HC-SR04 Ultrasonic Distance Sensor Module 4-Pin for Arduino & Raspberry Pi
HC-SR04 ultrasonic sensor for Arduino delivers a 2-400 cm detection range and 3mm accuracy, offering reliable echo-based distance measurements for precision sensing applications.
Bulk eligible
Mix any Bulk eligible products — discount applies to your total quantity across the cart.| Buy 5+ | $4.27 each | Save 5% |
| Buy 10+ | $4.05 each | Save 10% |
- Free Ground Shipping U.S. orders $35+
- Ships from USA Domestic fulfillment
- 30-day returns Free defect replacement
- 7-day support Fast email replies
HC-SR04 Ultrasonic Distance Sensor Module 4-Pin for Arduino & Raspberry PiNo reviews yet
$4.49
This item
Products related to this item






Overview
Product Overview
HC-SR04 Ultrasonic Distance Sensor is a compact 4-pin module that gives robots and projects the ability to "see" with sound. It uses echolocation, emitting high-frequency pulses and timing echoes to calculate distance, making it a reliable, low-cost option for Arduino and Raspberry Pi builds. It measures from 2cm to 400cm (about 13 feet) and performs well in darkness or bright sunlight where IR sensors often fail, including on glass, mirrors, and dark surfaces. With separate Trigger (input) and Echo (output) pins for clear signal management and good repeatability—accuracy can be as fine as 3mm—it’s straightforward to integrate and is compatible with common libraries like NewPing for advanced control and filtering.
Questions & answers
Frequently asked questions
Have other questions?
Chat with our US-based team — we usually reply fast.
What's included
Features & Specs
Reference
Documents
Full Product Manual ShillehTek HC-SR04 Ultrasonic Distance Sensor Module 4-Pin for Arduino, Raspberry Pi | ShillehTek Product Manual In-depth setup guide with wiring, code examples, and troubleshooting.Learn
Related Tutorials

Raspberry Pi Pico HC-SR04+: 3.3V GPIO compatible

Pico W HC-SR04 RGB: Distance Colors in MicroPython

Raspberry Pi Pico HC-SR04: Measure Distance in MicroPython

Raspberry Pi Pico W HC-SR04: Robot Assembly Guide

Raspberry Pi Pico W HC-SR04: Obstacle Detection LEDs

ESP32 HC-SR04: Telegram door alerts
Arduino HC-SR04: Stream Distance to Serial Monitor
Arduino VL53L0X: Millimetre Distance Over Serial
Arduino Nano SG92R Servo: Smooth 0-180 Sweep
Arduino IR Obstacle Sensor: Blink LED on Detect
Arduino Nano HC-SR04 Theremin: Gesture Pitch Control
Watch
Related Videos
Verified buyers
Customer Reviews
HC-SR04 Ultrasonic Distance Sensor Module 4-Pin for Arduino & Raspberry Pi


