HC-SR04 Ultrasonic Sensor | 4-Pin Distance Ranging Module | DIY Electronics

The HC-SR04 is an ultrasonic sensor. It measures distance without touching anything for your electronics projects. It sends out a sound wave. Then it times how long the echo takes to come back. It fig...
Good to know
Questions about this product
- What is the minimum and maximum distance this sensor can measure?
- This sensor can detect objects in a range from 2cm up to 400cm, which is 4 metres. It provides readings with an accuracy of about 3mm, which is good for robotics and object avoidance projects.
- What am I actually getting in the pack? Just the board, or do cables come with it?
- This product is for the HC-SR04 module itself, which includes the circuit board with the two ultrasonic transducers. It does not include jumper wires, so you'll need to get those separately to connect it to your project.
- How do I wire this up to an Arduino?
- You'll need four connections to your microcontroller. Connect the VCC pin to 5V and GND to ground, then connect the Trig (Trigger) and Echo pins to two of your digital I/O pins to send the pulse and read the return signal.
Ultrasonic Sensors spec sheet (PDF)
Get a one-page sheet with full description, specifications, technical details, FAQs, price & SKU - handy to save, print, or share.
Not sure which one?
Compare ultrasonic sensors

HC-SR04 Ultrasonic Sensor | 4-Pin Distance Ranging Module | DIY Electronics

Ultrasonic Sensor Module | 2-4.5M Range | HC-SR04 Compatible 3-5V

Ultrasonic Sensor | AJ-SR04M Integrated Transducer | Outdoor Use

Waterproof Ultrasonic Sensor | Distance Measuring Transducer

Ultrasonic Distance Sensor | Waterproof Transducer for Arduino
Compare options
More Ultrasonic Sensors
Explore the range
Popular in Industrial & Machinery
Complete the set
























