As we connect the module to 5v and initialize the input pin, it starts transmitting the sound waves which then travel through the air and hit the. It will give a brief explanation of how ultrasonic sensors work in general. Ultrasonic pulses travel outward until they encounter an object, the object causes the the wave to be reflected back towards the unit. The modules includes ultrasonic transmitters, receiver and control circuit. Hcsr04 datasheet, hcsr04 pdf, hcsr04 pinout, equivalent, replacement ultrasonic ranging module elecfreaks, schematic, circuit, manual. Hcsr04 user guide the transmitter emits a 8 bursts of an directional 40khz ultrasonic wave when triggered and starts a timer. The module sends a short pulse through pin trig to.
Hcsr04 datasheet pdf pinout ultrasonic ranging module. Complete guide for ultrasonic sensor hcsr04 with arduino this article is a guide about the popular ultrasonic sensor hc sr04. Ultrasonic ranging module hc sr04 provides 2cm 400cm noncontact measurement function, the ranging accuracy can reach to 3mm. Vogurtime ultrasonic ranging alarm soldering electronics. The waves are tranismittd and received by the module and calculate the next. The senor receives this signal and converts it to an electric signal. The purpose of this file is to explain how the hcsr04 works. It works by sending out a burst of ultrasound and listening for the echo when it bounces off of an object. Hcsr04 user guide part 1 ultrasonic introduction 1.
This sensor is a very popular sensor used in many applications where measuring distance or sensing objects are required. Water level meter using ultrasonic hcsr04 and wifi module. This economical sensor provides 2cm to 400cm of noncontact measurement functionality with a ranging accuracy that can reach up to 3mm. Hcsr04 ultrasonic sensor working as shown above the hcsr04 ultrasonic us sensor is a 4 pin module, whose pin names are vcc, trigger, echo and ground respectively.
In this arduino tutorial you will learn how to use the hcsr04 ultrasonic sensor. Complete guide for ultrasonic sensor hcsr04 with arduino. Bc04 has external 8m flash and edr module hc06 is industrial, and compatible with civil hc04 hc 49 tape and reel, insulator tab,3lead,and custom lead length options available. Ultrasonic sensor hcsr04 and arduino tutorial youtube. Ultrasonic sensor hcsr04 and arduino tutorial how to mechatronics. Each hcsr04 module includes an ultrasonic transmitter, a receiver and a control circuit. The ranging accuracy can reach to 3mm and effectual angle is hcsr04 pdf datasheet. Hcsr04 is an ultrasonic ranging module that provides 2 cm to 400 cm non contact measurement function. Ultrasonic ranging module hc sr04 sparkfun electronics. Head to toe product users manual hcsr04 ultrasonic sensor users manual v1. The next pulse can be transmitted when the echo is faded away.
Arduino ultrasonic sensor hcsr04 or hysrf05 energia zero. Hcsr04 is an ultrasonic ranging module that provides 2 cm to 400 cm noncontact measurement function. Hcsr04 datasheet ultrasonic ranging detector sensor. It will also explain how to wire the sensor up to a microcontroller and how to takeinterpret readings. To check the water level, ultrasonic hcsr04 is the distance sensor. It is very useful for accurate distance measurement of the target object and mainly works on the sound waves. The hcsr04 ultrasonic us sensor is an ultrasonic transducer that comes with 4 pin interface named as vcc, trigger, echo, and ground. Both these ultrasonic range modules are fairly cheap modules, expect the hy srf05 to be the more expensive of the these two. Ultrasonic sensors use sound to determine the distance between the sensor and the closest object in its. The ultrasonic receiver would detect the reflected wave and stop the stop timer. This ultrasonic ranging alarm kit is composed of one hcsr04 ultrasonic sensor module, a buzzer and the stc89c25 chipready to use.
933 816 280 1044 1041 1651 163 52 60 1013 141 701 1523 215 813 995 257 44 372 1055 939 1469 938 722 1508 915 474 839 974 1354 700 1027 930 109 1048 1376