Photo 1 of 2
Blue HC-SR04 ultrasonic sensor with two transducers
ELE-021

HC-SR04 Ultrasonic Distance Sensor

Price on request
To order, 2–3 weeks
Request a price

Leave your contact details and we will get back to you on a working day. HC-SR04 Ultrasonic Distance Sensor

Configuration, quantity, timing

We send you the price on request: it depends on the quantity and delivery, and for some products on the configuration too.

Share

Compatible accessories · 1

Description

The HC-SR04 measures the distance to an object: it sends an ultrasonic pulse and times how long the echo takes to come back. It measures from 2 cm to 4 metres, to within a few millimetres. It connects to a board with two signal wires (TRIG and ECHO) and needs no library.

  • Distance from 2 cm to 4 m
  • No library needed
  • Parking sensor, cars, smart bin

Specification

Voltage
5 V, ≤20 mA
Range
2–400 cm
Accuracy
Up to 3 mm
Angle
15°
Frequency
40 kHz
Pins
VCC, TRIG, ECHO, GND
Size
43 × 20 × 15 mm

Delivery and warranty

Delivery
We write back with the lead time along with the price: it depends on the configuration and stock.
Warranty
The manufacturer's own warranty, 12 to 24 months.
Service
Local technical service and advice after the sale.
Returns
Returnable within 14 days of delivery.

What you can build with it · 6

What can I build?
  • Sensors
    Beginner1 h10+

    Parking Sensor with Sound and Lights

    An ultrasonic sensor measures the distance. Three LEDs show how close the obstacle is, and the buzzer beeps faster the closer you get.

    5 more parts
  • Home and IoT
    Beginner1 h10+

    A Smart Bin

    Bring your hand close and the lid lifts by itself. An ultrasonic sensor notices the hand, and a servo opens the lid and closes it three seconds after the hand has gone.

    4 more parts
  • Robotics
    Intermediate2 h12+

    A Car That Avoids Obstacles

    A two-motor robot car drives forward, spots a wall from afar with its ultrasonic “eye”, stops, looks left and right and turns where the way is clear.

    7 more parts
  • NewRobotics
    Intermediate4 h12+

    A Mini-Sumo Robot with Arduino Nano

    A small autonomous robot for the mini-sumo class (10 × 10 cm, up to 500 g): it waits 5 seconds after the start, finds the opponent with an ultrasonic sensor and pushes it out of the ring, while sensors underneath watch the white edge so it never drives out itself.

    11 more parts
  • Robotics
    Intermediate1 h 30 min12+

    A Line-Following Car

    Two infrared sensors see a black line on the floor and the car follows it on its own, round the bends too. On a wide black strip it stops, as if at a finish line.

    7 more parts
  • NewRobotics
    Advanced4 h12+

    A PID Line Follower Robot

    Five infrared sensors measure how far the robot has drifted off the line, and a PID controller corrects the motors smoothly and fast. Built for competitions: the track, the sensor bar, the code and how to tune it.

    8 more parts