How to use Ultrasonic Sensor HC-SR04 with Arduino
ฝัง
- เผยแพร่เมื่อ 2 มิ.ย. 2024
- In this video we are going to learn how to use HC-SR04 ultrasonic sensor with Arduino Uno.
We will use this HC-SR04 sensor to measure the distance of object and turn on buzzer.
This sensor can be used
✔ To make Intruder Alarm system
✔ In projects where we can measure distance of object and take some action
I have explained in details about what is ultrasonic sensor and how does it work.
👉Components list :
✅ HC-SR04 ultrasonic sensor amzn.to/3rewdEQ
✅ Arduino Uno amzn.to/3tjKRMR
✅ Buzzer
✅ Jumper wires
✅ Battery DC 7-12V
👉 Shorts Channel :
/ ujwalnandanwar
👉Please subscribe:
th-cam.com/users/hashinclude...
👉Code and diagram:
github.com/un0038998/lessons/...
👉Code for ultrasonic sensor + Relay:
github.com/un0038998/lessons/...
👉Watch related videos:
/ hashincludeelectronics
👉Follow us on Instagram:
/ hashincludeelectronics
#ultrasonicsensor #HCSR04 #hashincludeelectronics #arduino #arduinouno - วิทยาศาสตร์และเทคโนโลยี
Awesome 👍...
Yes Prabhat. Its awesome! How are you?
Thank you! Cheers!
Nice! Have you made an accompanying blog?
Not yet . But will plan to work on this . Thanks for suggesting 🙂
Good one, Best till now.👍🏻
Thanks a lot 😊
Can we make inputs and outputs work with ESP32 board?
Yes you can but it will need code change and connection change .