HC-SR04 Ultrasonic Distance Sensor (5 V)Click to zoom
Digital Sensors

HC-SR04 Ultrasonic Distance Sensor (5 V)

The classic 2 cm-4 m ultrasonic rangefinder with 3 mm accuracy — obstacle avoidance, liquid level and presence detection.

Material
PCB & electronic components
Age range
8+
Category
STEM Robotics & Electronics
Customisation
OEM & ODM available

Specifications, component counts and packaging are configurable. Figures shown reflect our standard configuration.

Key features

  • Non-contact distance sensing from 2 cm to 400 cm with up to 3 mm accuracy; integrated transmitter, receiver and control circuit.
  • IO-triggered: a 10 µs high pulse starts ranging; the module emits eight 40 kHz bursts and returns a high pulse whose width equals the round-trip time.
  • Distance = (high-level time x speed of sound 340 m/s) / 2 — trivial to read from any microcontroller.
  • Also suited to liquid-level measurement, mounted above the surface or with a waterproof sensor at the container bottom.

Frequently asked about this product

How do I connect the HC-SR04 Ultrasonic Distance Sensor (5 V) to my controller board?

The HC-SR04 Ultrasonic Distance Sensor (5 V) uses the standard 3-pin GVS (Ground-VCC-Signal) interface with an XH2.54 connector, so it plugs straight into Arduino UNO, ESP32, micro:bit and our sensor shields with a regular sensor cable — no soldering required. It works with Arduino IDE, Mixly, Mind+, Scratch and mBlock.

What voltage does the HC-SR04 Ultrasonic Distance Sensor (5 V) run on?

The HC-SR04 Ultrasonic Distance Sensor (5 V) runs from a standard 3.3-5 V DC supply (USB or the controller’s 5 V rail). It draws only a few milliamps in normal operation, so it is safe to power from the controller board itself for classroom builds.

What projects is the HC-SR04 Ultrasonic Distance Sensor (5 V) good for?

The HC-SR04 Ultrasonic Distance Sensor (5 V) is built for STEM and robotics education: classroom demonstrations, science-fair projects, robotics club builds and competition robots. It pairs with the rest of our module range — same connectors, same voltage, same toolchain — so students move from first circuit to competition robot without changing platforms.

What certification do the robotics and electronics products carry?

Controller boards, sensors and modules ship with CE marking and RoHS-compliant components, and the range is designed for classroom use under teacher supervision. Product-specific test reports and declarations of conformity are available for distributors on request.

What is the minimum order quantity, and can I get a sample first?

These are standard catalogue lines with stable production, so minimums are low and lead times are short. Samples ship within about a week and are normally credited against a first order. Mixed-SKU cartons are accepted for evaluation orders.

Need pricing on this line?

Send your target quantity, destination market and any changes you need to artwork, colourway or packaging. We reply with a quotation and the applicable compliance route — usually within one working day.

HC-SR04 Ultrasonic Distance Sensor (5 V) Get a price on this
0products selected