My Cart:

0 item(s) - £0.00
You have no items in your shopping cart.


46114_large ultrasonic hc sr04 range finding sensor

More Views

Ultrasonic Distance Sensor - HC-SR04 3V3 Tolerant

Add obstacle detection to your buggy and robotics projects with this easy to use HC-SR04 ultrasonic ranging sensor. Never crash your buggy into a wall again!

Out of stock. Orders can be placed and will be despatched once in stock.

Code 1+
incl VAT

Add obstacle detection to your buggy and robotics projects with this easy to use ultrasonic range sensor.

This is the HC-SR04 ultrasonic ranging sensor. This economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.

Each HC-SR04 module includes an ultrasonic transmitter, a receiver and a control circuit.

There are only four pins that you need to worry about on the HC-SR04: VCC, Trig, Echo and GND. VCC and GND are for power and Trig, Echo and GND are for your signal. GND is in with the signal set since it's needed for a baseline.

You will find this sensor very easy to set up and use for your next range-finding project! The easiest pins to use on the microbit are 0, 1, and 2. So I used 0 for Trig and 1 for Echo.

This sensor works within the 3.3V - 5V range, if it is the only external device connected to the microbit then it can draw power from the microbit. If combined with other sensor it will need its own power supply.


  • Operating Voltage: 3.3V - 5V DC.
  • Operating Current: 15mA.
  • Measure Angle: 15 degrees.
  • Ranging Distance: 2cm - 4m.


  • 1 x HC-SR04 ultrasonic ranging sensor.


  • Length: 45mm.
  • Width: 20mm.
  • Max Height: 16mm.
  • PCB Thickness: 1mm
  • Pin Pitch: 2.54mm




  • A 3.3V - 5V power supply.
  • A programmable microcontroller, such as; microbit, Arduino or Raspberry Pi.


SparkFun Stock Code:

  • SEN-13959.
Related Products