Sensor | HC-SR04 Module | Distance Ranging for Arduino Robot Car

The HC-SR04 ultrasonic sensor is a simple way to measure distance. It sends out a sound pulse and times its echo to figure out distances from 2cm to 400cm. It's a common part for robotics projects usi...
Good to know
Questions about this product
- What's the minimum and maximum distance this sensor can measure?
- The HC-SR04 sensor can typically measure distances from 2cm up to about 400cm. Its performance is best when aimed at a flat, hard surface. The effective range and accuracy can be reduced by soft fabrics, angled surfaces, or very small targets.
- How do I connect this to an Arduino or Raspberry Pi?
- It uses four pins: VCC connects to a 5V power pin, and GND connects to a ground pin on your board. The 'Trig' pin is an input that you use to start a measurement, and the 'Echo' pin is the output that sends the distance data back to one of your board's digital I/O pins.
- What sort of projects is this sensor typically used for?
- It's mainly used for non-contact distance measurement in electronics projects. Common uses include obstacle avoidance for small robots, measuring the liquid level in a tank, or building a simple reverse parking sensor for a vehicle.
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

Sensor | HC-SR04 Module | Distance Ranging for Arduino Robot Car

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

Sensor Module | HC-SR04 Distance Ranging | For Arduino Projects

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

Sensor HC-SR04 | 3-5.5V Ranging Module | Distance Measurement

Ultrasonic Sensor | AJ-SR04M Integrated Transducer | Outdoor Use

Ultrasonic Distance Sensor | Waterproof Transducer for Arduino

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





















