Operating Voltage: 5V DC, Operating Current: 15mA, Ultrasonic Frequency: 40kHz, Measurement Range: 2cm to 400cm (approx. 13 feet). Read more
The HC-SR04 Ultrasonic Distance Sensor is the most popular choice for adding "vision" and obstacle detection to any robotic project.
The HC-SR04 works on the same principle as a bat's echolocation. It emits an ultrasonic pulse at 40kHz and measures the time it takes for that pulse to bounce off an object and return to the sensor.
Contactless Measurement: Ideal for measuring distances without touching the object, making it perfect for liquid level sensing or moving robots.
Wide Operating Range: Capable of detecting objects as close as 2cm and as far as 4 meters away, providing versatility for indoor navigation.
Dual-Transducer Design: Features a dedicated "Trigger" (Transmitter) and "Echo" (Receiver) cylinder to minimize interference and ensure signal clarity.
Simple 4-Pin Interface: Requires only two digital pins on your Arduino (plus Power and Ground), leaving plenty of space for other sensors.
Breadboard Ready: Standard 2.54mm pin pitch allows it to plug directly into the breadboards and sensor shields available at
To get accurate readings with hardware from
VCC: Connect to 5V.
Trig (Trigger): Connect to a Digital Output pin
Echo: Connect to a Digital Input pin
GND: Connect to Common Ground.
Obstacle Avoidance: Equipping your Electrapac 2WD/4WD Robot Chassis to navigate rooms without crashing.
Liquid Level Monitoring: Measuring the depth of water in a tank without the sensor touching the liquid.
Parking Sensors: Building a DIY garage assistant that lights up an LED when a car gets too close.
Digital Tape Measure: Creating a handheld device for quick room measurements.
We source the HC-SR04 with high-quality crystal oscillators to ensure timing stability, which is critical for consistent distance readings. At
| Specifications | Descriptions |
|---|---|
| Current | 15mA |
| Size | 45mm x 20mm x 15mm |
| Input Voltage | 5V DC |
| Sensing Range | 2cm – 400cm |
| Frequency | 40kHz |
| Model | HC-SR04 Ultrasonic Sensor |
| Package | 1 x 1 HC-SR04 Ultrasonic Distance Sensor |
Subscribe to our newsletter and get early access to new arrivals, tech trends, and exclusive unboxing reviews from Electrapac.?