My Account

Wish List (0)

Saved Carts

Compare

Approved Re-Seller
Follow us on Facebook! Follow us on Twitter! Follow us on Instagram!

FREE UK DELIVERY ON ORDERS OVER £50 ex.VAT (T&C's APPLY)

Ultrasonic Distance Sensor (HC-SR04)

Compatible With:

Raspberry Pi - Model A
Raspberry Pi - Model B
Raspberry Pi - Model B+
Raspberry Pi - Model A+
Raspberry Pi 2 - Model B
Raspberry Pi 3 - Model B
Raspberry Pi Zero
Raspberry Pi Zero Wireless
Raspberry Pi 3 - Model B+

Product Code: MMP-0150

£3.00
Ex.Tax £2.50

Bulk Discounts

5 or more £2.70

Qty:

ADD TO BAG

In Stock: 375

Ultrasonic Distance Sensor (HC-SR04)
HC-SR04 Ultrasonic Range Sensor on the Raspberry Pi HC-SR04 Ultrasonic Range Sensor on the Raspberry Pi Jul 03, 2014 In previous tutorials we've outlined temperature sensing, PIR motion controllers and buttons and switches, all of which can plug directly into the Raspberry..
Audible Sensor Readings Audible Sensor Readings Dec 09, 2014 This tutorial will show you how to make the reading of a sensor audible. In this example, we will be using the HC-SR04 Ultrasonic sensor, but it can be applied ..

The HC-SR04 Ultrasonic Distance Sensor is a sensor used for detecting the distance to an object using sonar. It's ideal for any robotics projects your have which require you to avoid objects, by detecting how close they are you can steer away from them! 

The HC-SR04 uses non-contact ultrasound sonar to measure the distance to an object, and consists of two ultrasonic transmitters (basically speakers), a receiver, and a control circuit. The transmitters emit a high frequency ultrasonic sound, which bounce off any nearby solid objects, and the reciever listens for any return echo. That echo is then processed by the control circuit to calculate the time difference between the signal being transmitted and received. This time can subsequently be used, along with some clever math, to calculate the distance between the sensor and the reflecting object!

We have this sensor, and along with our Ultrasonic mounting kit, you can easily attach this sensor to your project and get measuring distances!

Using an UltraBorg you can connect up to 4 of these HC-SR04 sensors to obtain precise distance measurements without effecting CPU load, or alternatively you can connect one directly to your Raspberry Pi using a few resistors; see this tutorial for details.

The HC-SR04 is great, as it's low cost, can be powered  via the Raspberry Pi's 5V output, and is relatively accurate! Please Note. The HC-SR04 has a 5V output (which needs to be reduced to 3.3V to work with the Raspberry Pi). We've put together a full tutorial on the HC-SR04 and the Raspberry Pi here!

The HC-SR04 sensor works best between 2cm – 400 cm (1" - 13ft) within a 30 degree cone, and is accurate to the nearest 0.3cm.

The HC-SR04 Ultrasonic Range Sensor Features:
  • Input Voltage: 5V
  • Current Draw: 20mA (Max)
  • Digital Output: 5V
  • Digital Output: 0V (Low)
  • Working Temperature:  -15°C to 70°C
  • Sensing Angle: 30° Cone
  • Angle of Effect: 15° Cone
  • Ultrasonic Frequency: 40kHz
  • Range: 2cm - 400cm
  • Dimensions
    • Length: 43mm
    • Width: 20mm
    • Height (with transmitters): 15mm
    • Centre screw hole distance: 40mm x 15mm
    • Screw hole diameter: 1mm (M1)
    • Transmitter diameter: 8mm
Tutorials
Downloads
 
Reviews about Ultrasonic Distance Sensor (HC-SR04)
Average rating: 0 reviews
Total reviews: 0
Write your own review on this product.
Write review
Sort By 

Write a review

Name:


Your Review:
25-3000 characters
Note: HTML is not translated!

Rating:
Overall
Quality
Price
Usability
Add prosAdd cons

are you happy?

please confirm the selections below are correct

YES
CHANGE

Offensive
Foul Language
Irrelevant
Other (write below)