Amazon Resale
Currently unavailable.
We don't know when or if this item will be back in stock.

HC-SR04 Distance Measuring Transducer Sensor Ultrasonic Module for Arduino

3.6 out of 5 stars 81 ratings

Currently unavailable.
We don't know when or if this item will be back in stock.
Brand Uxcell
Power source DC power supply
Colour 1PCS
Item weight 10 g
Item dimensions L x W x H 6.4 x 4.4 x 2.4 centimetres

About this item

  • Working Voltage : 5V(DC)
  • Sensor angle: Not more than 15 degrees.
  • Detection distance: 2cm-400cm.
  • Input trigger signal: 10us TTL impulse
  • 1 X HC-SR04 Arduino Ultrasonic Distance Measuring Sensor Module
Amazon Gaming Store
Upgrade your setup at the Gaming Store. Shop now.

Product description

HC-SR04 Ultrasonic ranging module provides 2cm-400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receiver and control circuit. The basic principle of work: Using IO trigger for at least 10us high level signal The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back. IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic to returning. Test distance = (high level time×velocity of sound (340M/S) /2

Product details

  • Is discontinued by manufacturer ‏ : ‎ No
  • Product Dimensions ‏ : ‎ 6.4 x 4.4 x 2.4 cm; 9.98 g
  • Date First Available ‏ : ‎ 23 Nov. 2011
  • Manufacturer ‏ : ‎ super9shop
  • ASIN ‏ : ‎ B00KKKT7YK
  • Item model number ‏ : ‎ a12100500ux0149
  • Guaranteed software updates until ‏ : ‎ unknown
  • Customer reviews:
    3.6 out of 5 stars 81 ratings

Customer reviews

3.6 out of 5 stars
81 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the ultrasonic sensor works well, with one noting it performs effectively from 2-3cm to 3 meters, and they appreciate its good accuracy and value for money. The functionality receives mixed reviews - while some customers report it works fine with Raspberry Pi, others mention it didn't work for them.

23 customers mention ‘Works well’23 positive0 negative

Customers find that the sensor works well, with one customer noting it performs effectively from 2-3cm to 3 meters.

"...Looking forward to putting these on my quad-copter....simple yet effective." Read more

"Very nice and value for money product, with accurate results. It can read up to 150 cm...." Read more

"Works great. Using this on an Arduino Nano R3 with a 128x64 OLED display...." Read more

"...But it was a punt that paid off. It works as it should and there are plenty of examples of Arduino code and wiring schematics around on the net to..." Read more

18 customers mention ‘Value for money’18 positive0 negative

Customers find the sensor to be a good value for money.

"Fast delivery (8 days) and good value. 5v from raspberry provides Vcc to the module...." Read more

"Very nice and value for money product, with accurate results. It can read up to 150 cm...." Read more

"Very cheap and work fine with Raspberry Pi, using the 3-wire conversion and Scratch GPIO (look it up). Delivery time as expected - a few weeks." Read more

"...Good for trial and error methods. Well priced." Read more

11 customers mention ‘Accuracy’8 positive3 negative

Customers find the sensor accurate, with one mentioning that the readings are less erratic.

"Very nice and value for money product, with accurate results. It can read up to 150 cm...." Read more

"...I was amazed at the accuracy & consistency of the device. I'm learning to have a yet higher expectation, as everything Pi related is fab" Read more

"...Works really well from about 2-3cm to 3 meters. I get the occasional glitch in readings but not really fair as I'm using smaller soft objects and..." Read more

"...Gnd (from the Arduino) seems to stabilise the measurements, readings are less erratic." Read more

6 customers mention ‘Quality’6 positive0 negative

Customers find the ultrasonic sensor to be of great quality, with one customer specifically noting its consistency.

"...I was amazed at the accuracy & consistency of the device. I'm learning to have a yet higher expectation, as everything Pi related is fab" Read more

"looks like its in good condition though i would preffer if the order could come any sooner anyways good enough for me" Read more

"Fine product. Thanks. Wish I can have much more. The accuracy is good" Read more

"A very interesting and well made device. I have not used them yet but will try them during my Christmas break." Read more

7 customers mention ‘Functionality’4 positive3 negative

Customers have mixed experiences with the sensor's functionality: some report it works fine with Raspberry Pi, while others say it doesn't work at all.

"Very cheap and work fine with Raspberry Pi, using the 3-wire conversion and Scratch GPIO (look it up). Delivery time as expected - a few weeks." Read more

"...I suspect that the receive transducer had failed. However, I got a full refund very quickly, so 5-stars to the supplier. :-)" Read more

"No problem using these with the Arduino. They are a very cheap way of adding ultrasonic sensors to robot projects." Read more

"Don't know if its me and my coding but does not appear to work. Will try again and trawl the net for tips but seems a dud." Read more

Top reviews from United Kingdom

  • Reviewed in the United Kingdom on 4 January 2014
    Fast delivery (8 days) and good value.
    5v from raspberry provides Vcc to the module. 10 us positive pulse for trigger can be driven from Raspbery Pi GPIO directly. The width of positive pulse on echo indicates distance. I used 1k and 2k resisters to change TTL voltage to 3.3v for Raspberry Pi GPIO input.
  • Reviewed in the United Kingdom on 5 February 2014
    Have plugged in and tested on my Arduino. Loads of documentation on getting these set up and wired in, and loads of sample sketches to be found on the net too. Works really well from about 2-3cm to 3 meters. I get the occasional glitch in readings but not really fair as I'm using smaller soft objects and surfaces in a tiny room... plus my programming skills are very rusty. Looking forward to putting these on my quad-copter....simple yet effective.
  • Reviewed in the United Kingdom on 11 July 2013
    I'm comparatively new to electronics but I set this up with out any problems at all. Got my Arduino Uno board to read from it straight away.

    Some additional usage notes and numbers with the HC SR04 echo sensor which may help others:
    You need to set the Trig pin high for at least 10 microseconds, this will cause the module to transmit 8 bursts of 40 kHz frequency, then immediately set echoPin high, then low when it receives the response echo.

    For the Arduino, you can use time = pulseIn(echoPin, HIGH); where time is the response time in microseconds (38 milliseconds if no response).
    Distance in centimeters: time / 58
    Distance in inches: time / 142

    Hope this helps.
    5 people found this helpful
    Report
  • Reviewed in the United Kingdom on 5 February 2013
    I gave this a one star rating because the unit didn’t work. When connected to an Arduino, it always gave a reading of 3065 cm even when either of the transducers was covered. I suspect that the receive transducer had failed.

    However, I got a full refund very quickly, so 5-stars to the supplier. :-)
    3 people found this helpful
    Report
  • Reviewed in the United Kingdom on 22 July 2015
    Very nice and value for money product, with accurate results. It can read up to 150 cm. I am definitely not suggesting it for Grasshopper-firefly projects. Values cannot get updated! Prefer a three pin sensor if you are planning to develop a responsive design in grasshopper-Rhino.
  • Reviewed in the United Kingdom on 13 January 2014
    I bought this to experiment with and test its limitations before moving on to an actual project's usage.
    If you're considering buying this type of device then I would strongly recommend doing your homework first i.e. visiting the popular forums and reading the data sheets for the following reasons:
    1. The device has a limited field of "vision" i.e. about 5 feet distance at 45 degrees and about 8 feet at 30 degrees. The quoted range of 4 metres is achievable so long as you aim at a wall or similar large object. Shorter distance recognition is very good.
    2. The minimum surface area for consistent readings is about 5 square feet.
    3. Look around for the best(?) libraries available. I used NEWPING as it got rave reviews but to be fair I will also try other libraries at a later date.
    One person found this helpful
    Report
  • Reviewed in the United Kingdom on 15 May 2013
    This sensor is used by lots of roboteers...

    I wanted to use it with my Raspberry Pi, to measure distance, but this was underwhelming! I had downloaded a script to measure the distance & it worked out of the box!

    I was amazed at the accuracy & consistency of the device. I'm learning to have a yet higher expectation, as everything Pi related is fab
    6 people found this helpful
    Report
  • Reviewed in the United Kingdom on 6 August 2015
    Works great. Using this on an Arduino Nano R3 with a 128x64 OLED display.
    What I noticed is that adding a 10uf cap between 5v and Gnd (from the Arduino) seems to stabilise the measurements, readings are less erratic.

Top reviews from other countries

Translate all reviews to English
  • Cliente de Amazon
    5.0 out of 5 stars regalo
    Reviewed in Mexico on 28 January 2020
    fue regalo
    Report
  • Jeff
    4.0 out of 5 stars If you have an arduino, just google hc-sr04 and ...
    Reviewed in the United States on 3 February 2016
    If you have an arduino, just google hc-sr04 and you'll find everything you need to know to hook this up and get it working in about 2 minutes. The 4 pin design is easier to code than the 3 pin design where the signal and return are shared. Note that it's surprisingly large, so check the dimensions to be sure it will fit your project. Range is about 1 to 100 centimeters.
  • greg
    5.0 out of 5 stars livraison rapide
    Reviewed in France on 9 November 2019
    le produit est conforme et fonctionne parfaitement bien! satisfait de mon achat et du vendeur
  • Client Amazon
    5.0 out of 5 stars Bon capteur
    Reviewed in France on 7 October 2016
    Le produit est conforme à la description, la durée de livraison a été de 15 jours.
    Aucune documentation mais une recherche "HC-SR04 datasheet" sur votre moteur de recherche préféré suffit.
    J'ai testé ce capteur sur un Raspberry PI 3, mes premières mesures ont été assez précises.
  • jean
    4.0 out of 5 stars très bon envoie a recommander
    Reviewed in France on 7 October 2019
    très bon envoie a recommander