{"product_id":"ultrasonic-ranging-detector-mod-hc-sr04-distance-sensor","title":"[Discontinued] Ultrasonic Ranging Detector Mod HC-SR04 Distance Sensor","description":"\u003ch5\u003eDESCRIPTION\u003c\/h5\u003e \u003cp\u003eUltrasonic 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:\u003c\/p\u003e \u003cul\u003e \u003cli\u003e     Using IO trigger for at least 10us high level signal,\u003c\/li\u003e \u003cli\u003e     The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back.\u003c\/li\u003e \u003cli\u003e     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\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e\u003cspan\u003eWe also have a selection of \u003c\/span\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.sainsmart.com\/collections\/starter-diy-kits\/products\/arduino-learning-kit-basic-sho\" target=\"_blank\"\u003e Basic Starter Kit\u003c\/a\u003e\u003c\/span\u003e\u003cspan\u003e, \u003c\/span\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.sainsmart.com\/collections\/starter-diy-kits\/products\/arduino-uno-deluxe-learning-kit-chiku-with-breadboard-resistor-jumper-wires-capacitor-led-potentiometer\" target=\"_blank\"\u003eDeluxe Starter Kit\u003c\/a\u003e\u003c\/span\u003e\u003cspan\u003e, \u003c\/span\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.sainsmart.com\/collections\/starter-diy-kits\/products\/arduino-uno-ultimate-learning-kit-bai-with-relay-servo-lcd12864-power-supply\"\u003eUltimate Starter Kit\u003c\/a\u003e that utilize this module.\u003c\/span\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e \u003cp\u003e\u003cspan\u003e\u003cstrong\u003eWire connecting directly as following:\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003e    5V Supply\u003c\/li\u003e \u003cli\u003e    Trigger Pulse Input\u003c\/li\u003e \u003cli\u003e    Echo Pulse Output\u003c\/li\u003e \u003cli\u003e    0V Ground\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003e\u003cimg src=\"http:\/\/www.selloutsoon.com\/albums\/temp\/web\/SainSmart\/20\/20-019-100\/write.jpg\"\u003e\u003c\/p\u003e \u003cul\u003e\u003c\/ul\u003e \u003cp\u003eIf 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 .\u003cbr\u003eCompared to the Shap IR ranging module , HC-SR04 is more inexpensive than it . But it has the same ranging accuracy and longer ranging distance.\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e \u003ch5\u003eSPECIFICATION\u003c\/h5\u003e \u003cul\u003e \u003cli\u003e    power supply :5V DC\u003c\/li\u003e \u003cli\u003e    quiescent current : \u0026lt;2mA\u003c\/li\u003e \u003cli\u003e    effectual angle: \u0026lt;15°\u003c\/li\u003e \u003cli\u003e    ranging distance : 2cm â€?500 cm\u003c\/li\u003e \u003cli\u003e    resolution : 0.3 cm\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003eThere 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 :\u003c\/p\u003e \u003cp\u003e\u003cspan\u003e\u003cstrong\u003eDistance = ((Duration of high level)*(Sonic :340m\/s))\/2\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e \u003cp\u003eFinally , 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.\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e \u003ch5\u003e\u003cspan\u003eDOCUMENT\u003c\/span\u003e\u003c\/h5\u003e \u003cul\u003e \u003cli\u003e\u003ca href=\"https:\/\/s3-ap-northeast-1.amazonaws.com\/sain-amzn\/20\/20-019-100\/HC-SR04.rar\" target=\"_blank\"\u003e\u003cstrong\u003eClick to download the codes\u003c\/strong\u003e\u003c\/a\u003e\u003c\/li\u003e \u003c\/ul\u003e \u003cdiv class=\"mce-resizehandle\"\u003e\u003c\/div\u003e \u003cdiv class=\"mce-resizehandle\"\u003e\u003c\/div\u003e \u003cdiv class=\"mce-resizehandle\"\u003e\u003c\/div\u003e \u003cdiv class=\"mce-resizehandle\"\u003e\u003c\/div\u003e","brand":"SainSmart","offers":[{"title":"Default Title","offer_id":49290332111002,"sku":"101-60-142","price":6.0,"currency_code":"GBP","in_stock":true}],"url":"https:\/\/coretarps.co.uk\/products\/ultrasonic-ranging-detector-mod-hc-sr04-distance-sensor","provider":"My Store","version":"1.0","type":"link"}