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!

Availability: 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
  • :MOVE mini buggy kit (excl micro:bit)
    Excl. VAT: £22.95 Incl. VAT: £27.54 As low as: £25.14

    :MOVE mini buggy kit (excl micro:bit)

    The Kitronik :MOVE mini buggy kit for the BBC micro:bit is a fun intro...

    2 Review(s)
  • Edison V2.0 Robot
    Excl. VAT: £34.99 Incl. VAT: £41.988 As low as: £32.399

    Edison V2.0 Robot

    Get started with coding and robotics with the EdPack1, which includes ...

  • Soil Moisture Sensor (with Screw Terminals)
    Excl. VAT: £5.00 Incl. VAT: £6.00

    Soil Moisture Sensor (with Screw Terminals)

    Keep your plants in perfect condition with this soil moisture sensor. ...