Ultrasonic Ranging Detector Mod HC-SR04 Distance Sensorbrand: SainSmart SKU: 101-60-142
This is the HC-SR04 ultrasonic ranging sensor. This economical sensor provides 2cm to 400cm of non-contact measurement
- Stable performance, accurate measurement range
- Using IO trigger for at least 10us high level signal
- Automatically send 8 40KHz, and detect whether there is a signal to return
Ultrasonic ranging module HC - SR04 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
Wire connecting direct as following:
- 5V Supply
- Trigger Pulse Input
- Echo Pulse Output
- 0V Ground
If you are sourcing a ultrasonic ranging module , the HC-SR04 is good choose . Its stable performance and high ranging accuracy make it a popular module in electronic market .
Compared to the Shap IR ranging module , HC-SR04 is more inexpensive than it . But it has the same ranging accuracy and longer ranging distance.
- power supply :5V DC
- quiescent current : <2mA
- effectual angle: <15°
- ranging distance : 2cm â€?500 cm
- resolution : 0.3 cm
There are 4 pins out of the module : VCC , Trig, Echo, GND . So it's a very easy interface for controller to use it ranging. The all process is : pull the Trig pin to high level for more than 10us impulse , the module start ranging ; finish ranging , If you find an object in front , Echo pin will be high level , and based on the different distance,it will take the different duration of high level. So we can calculated the distance easily :
Distance = ((Duration of high level)*(Sonic :340m/s))/2
Finally , look at the back of the module .All of the chip in the module have been burnish , maybe the author want to prevent the designed from plagiarism. But ultrasonic ranging module is nearly the same principle, so it's not hard to speculated that the role of the chip â€?I'm sure at least one 74series chip on it ; ) . It is not a difficult task to crack it , but â€?it's at so low a price , even cheaper than your copy.
With work I got PInChange Interrupt to worK
It interfaces well, but if you block while waiting it does use a lot of processing time. With very little work you can get it working on pin change interrupts then its absolutely brilliant! I have also constructed a table of temperature to speed of sound and by measurement can get better that +/= 10 mm resolution, did not expect this from such a low cost device.
Ultrasonic water level monitoring
My Arduino sketch takes the height and radius of a cylinder in centimeters, and outputs a fluid level in liters. The concept here is for a cistern. It tells you how many liters of water are left, by bouncing a signal off the surface of the water. This inexpensive sensor was easy to use and very accurate.
Very fast shipping
A low-priced and certified product, ultrasonic distance measurement is accurate. The only defect is that the ranging distance is just between 2cm to 500cm.The longer distance will be fine.
Come 2nd Time
Perfect! A good ultrasonic ranging module, it makes my toy more powerful!
Cool! An accurate measurement device! It is very easy to use. In addition, it is moderate in price.
i like it
It was very easy to set up and use with an SainSmart Uno board. (Make the following connections from the HC-SR04 to the Arduino, respectively: VCC to 5V; GND to GND; Trig to any digital output; Echo to any digital input.) It was somewhat unstable using the Arduino 5V when running off USB power (it would fluctuate and even dip to a 0 cm reading for no reason), but this was fixed by using a 9v/650mA adapter, instead.
I am working on a little project and needed sensor to detect when an object was approaching. I decided on the HC-SR054 coz it was cheap. Upon receipt, I plugged it directly into the LCD4884 and had it working within 5 minutes based on the included library. Works perfectly and a great price.