The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object - just like bats or dolphins do.
This module offers excellent range accuracy and stable readings in an easy-to-use package. It operation is not affected by sunlight or black material (although acoustically soft materials like cloth can be difficult to detect). Similar in performance to the SRF005 but with the low-price of a Sharp infrared sensor.
Perfect for collision avoidance on your next robotics or multirotor project!
Power: 5V DC
Quiescent Current : <2mA
Effectual Angle: <15°
Ranging Distance : 2cm – 500 cm/1" - 16ft
Resolution : 0.3 cm
LxWxH: 45 x 20 x 15mm
1 x Terminated ribbon cable 200mm
*Note: This is not an original Arduino brand product.
This little sensor is Not compatible with the APM series of autopilots (yet).
There have being made a few attempts to make it work with APM but it does not worth the effort.
If you are looking for an APM sonar sensor try something else.I've found the schema: http://uglyduck.ath.cx/ep/archive/2014/01/Making_a_better_HC_SR04_Echo_Locator.html
I've checked my own HC-SR04. The schema is right. But the chip MAX232 is not working correctly. Normally, the transmitter MK2 would be driven by /-10V and mine is 0/ 5V, the MAX232 doesn't oscillate and doesn't generate high voltages.Works as it should with and Arduino. A quick google of HC-SR04 and you can find the library, examples and all you need to use it.Although I have not yet incorporated this sensor into my Multiwii quadcopter, I have been able to find lots of Arduino code online so far. All I really have to do now is figure out which pins to use. Device looks nice and sturdy for what it is.This product is very cheap comparing with other sites but it's less accuracy. honestly, I didn't try the original product to compare between them.Fairly accurate, will need to search google for an arduino library called "NewPing" in order for it to work properlyJust make sure to setup the range to 200 otherwise you will have alt. jumpsThis module can be found on other site for upwards of $15.. Good onya HK for keeping the prices real!First time buying Arduino from HK. Connected it to my breadboard and had it working within minutes using a sample sketch. Search for Ultrasonic SR04 and a bunch of examples come up. Had to make sure it was a sketch for the 4 pin version, and not 3.I connected the sensor up to an Arduino Nano used the Newping library and example code and it worked very well giving reasonably accurate measurements ( within 5-10pcnt ) from 1 inch to about 60ins ( my ceiling ). I plan to use for collision avoidance in a small wheeled robot and am even thinking of using for water level detection in our 5000 gallon rainwater tank. Very good value.