The HC-SR04 is a ultrasonic distance measuring sensor module that uses ultrasonic sound waves to measure the distance to an object. It consists of a transmitter and a receiver that are housed in a single package. To measure the distance to an object, the HC-SR04 sends out a short ultrasonic pulse and measures the time it takes for the pulse to bounce back after it hits the object. The distance to the object can then be calculated based on the speed of sound and the time it took for the pulse to return. The HC-SR04 is a low-cost, easy-to-use distance measuring sensor that is widely used in a variety of applications, such as robotics, industrial automation, and home automation. It is typically interfaced with a microcontroller or other control device, which can read the distance measurements and use them to control various devices or systems.
The HC-SR04 Ultrasonic ranging module will allow you to detect whether there are obstacles in the way at a specified distance.
Simply supply the module with 5V and the output will be 5V while an obstacle is in range, or 0V if not in range. Specific ranges can be detected using specific timings.
- Module Working Principle:
- 1.Adopt IO trigger through supplying at least 10us sequence of high level signals.
- 2.The module will automatically send eight 40khz square wave and automatically detect whether it received
- the returning pulse signal.
- 3.If there is signal returning, the output will be HIGH,
- Test distance = (high level time * sound velocity (340M/S) / 2.
An instructable tutorial on how to use the HC-SR04 module with an Arduino can be found at: https://howtomechatronics.com/tutorials/arduino/ultrasonic-sensor-hc-sr04/
- 1.Working Voltage : 5V(DC)
- 2.Static current: Less than 2mA.
- 3.Output signal: Electric frequency signal, high level 5V, low level 0V.
- 4.Sensor angle: Not more than 15 degrees.
- 5.Detection distance: 2cm-450cm.
- 6.High precision: Up to 0.3cm
- 7.Input trigger signal: 10us TTL impulse
- 8.Echo signal : output TTL PWL signal
- Connectivity:
- 1.VCC
- 2.trig(T)
- 3.echo(R)
- 4.GND
- N/A
-
Arduino Automated Plant Water Project
A simple but practical Arduino project to automatically water your plants, showing the usage of a 7-Segment Display, a Soild Moisture Sensor, a Temperature Sensor and a Relay.
-
Arduino Introduction
Introducing you to the awesome Arduino!
-
Simple Arduino RC Car/Robot
A guide to construct your own Arduino-based 2 Wheel-Drive Robot
-
Arduino F.A.Q
Arduino Frequently Asked Questions & Answers
More from this Category
RFID Proximity Card Kit (RFID Reader/Writer Module with RFID Keyring Tag and RFID Card)
4 Channel LLC I2C/IIC Logic Level Converter Bi-Directional Module 5V to 3.3V (DIY Soldering Needed)
18650 Lithium Battery Charging Module (5V Micro USB 1A)
DS1307 RTC Real Time Clock Module
TTL to RS485 Converter Module (Arduino)
USB - TTL SERIAL USART MODULE (PL2303/YP-01)
TCS3200 Color Recognition/Detector Module
DS3231 AT24C32 Precision Real Time Clock (RTC) Module