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
-
Arduino Tutorial: Arduino Nano V3 (CH340) - Setup, Drivers, Pinout, Power, and Project Patterns
This tutorial is a detailed, practical guide to using the Arduino Nano V3 (CH340) in real projects. It covers: driver and IDE setup (including the common “Old Bootloader” fix), pin mapping and interfaces (UART/I2C/SPI), safe power options (USB vs VIN), and proven patterns for sensors, motors, displays, and compact breadboard builds.
-
Arduino Tutorial: Arduino UNO R3 — Setup, Pinout, Power, Interfaces, and Project Patterns
This tutorial is a practical, detailed guide to using the Arduino UNO R3 in Arduino projects. It covers first-time setup in the Arduino IDE, safe powering options, the pinout (digital, analog, PWM), communication interfaces (I2C, SPI, UART), best-practice wiring, and proven project patterns for sensors, relays, motors, and displays.
-
Arduino Tutorial: Arduino Mega 2560 R3 — Big Projects, Many Pins, 4 Serial Ports
This is a comprehensive, maker-focused guide to the Arduino Mega 2560 R3. It explains when to choose a Mega over an Uno/Nano, how to wire and power it safely, how to use its huge I/O count, and how to take advantage of the Mega’s biggest differentiator: 4 hardware serial ports for multi-device projects.
More from this Category
4 Channel LLC I2C/IIC Logic Level Converter Bi-Directional Module 5V to 3.3V (DIY Soldering Needed)
RFID Proximity Card Kit (RFID Reader/Writer Module with RFID Keyring Tag and RFID Card)
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