HC-SR04 sensor with Arduino

Опубликовано: 16 Май 2026
на канале: DIY Engineers
1,880
41

Learn how to use the HC-SR04 sensor with Arduino. This video will cover how to use the HC-SR04 ultrasonic distance sensor. We will go over sensor basics, specs, wiring it to the Arduino, programming in Arduino, and testing. As a bonus we’ll go over how to use with a 1602 LCD to display the sensor measurements.

Related Blog Posts
HC-SR04: www.diyengineers.com/2021/01/21/learn-how-to-use-the-hc-sr04-ultrasonic-sensor-with-arduino

1602 LCD: www.diyengineers.com/2021/01/07/learn-how-to-use-the-1602-lcd-with-arduino

YouTube video about 1602 LCD:    • 1602 LCD with Arduino - I2C and standard m...  

Item used in this video (affiliate links):
*As an Amazon Associate I earn from qualifying purchases.

Arduino UNO:
https://amzn.to/3U7xAoT

HC-SR04:
https://amzn.to/4bu6wYm

1602 LCD (with I2C module):
https://amzn.to/3UrbOh6

Electronic Component Kit:
https://amzn.to/3xDtHAn

Breadboard (Elenco 9440):
https://amzn.to/4b5Onzq

Video Chapters:
0:00 Intro to HC-SR04
2:21 HC-SR04 Specs
3:07 Connecting HC-SR04 to Arduino UNO
3:49 Arduino programming for HC-SR04
7:34 Testing HC-SR04
8:37 Connecting HC-SR04 and LCD to Arduino
9:45 Arduino programming for HC-SR04 with LCD
12:27 Testing HC-SR04 with LCD