In this video we learn how to use HC-SR04 Ultrasonic distance sensor to measure the distance to detect object. We then learn how to take action if the object is at certain distance like at distance less than 20 cm turning ON the buzzer. Wiring and full Arduino code is explained.
This video is part of series of Tutorials for SunFounder ESP32 IoT Learning Kit which can be viewed here : https://bit.ly/sf-esp32-video
Purchase SunFounder's Page ESP32 Learning Kit: http://robojax.com/L/?id=368
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
Related videos:
How to use a breadboard: • ESP32 Tutorial 3 - Resistor, LED, Bre...
*** Purchase ESP32 from Affiliated Stores **
Amazon USA: https://amzn.to/3N79EPL
Amazon Canada: https://amzn.to/3Rm6VEs
Amazon UK: https://amzn.to/46ArnWL
Amazon Deutschland https://amzn.to/4aCcGFW
Amazon Japan: https://www.amazon.co.jp//dp/B0CLDJ2DL7/
SunFounder website: http://robojax.com/L/?id=368
eBay:
AliExpress: https://s.click.aliexpress.com/e/_DFl...
ESP32 Download and resocures page: https://docs.sunfounder.com/projects/...
Use Chapters from timeline or click on the time
00:00 Start
1:46 Introduction to Ultrasonic Sensor
6:02 Wiring explained
7:37 ESP32 Arduino code explained
11:33 Selecting ESP32 board and COM port in Arduino IDE
13:15 Demonstration of measuring distance
16:43 Tacking action with distance: buzzer
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link https://bit.ly/donate-robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
Follow me on Facebook http://fb.me/robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Follow me on TikTok : https://tickTok.com/@robojaxtv
Tutorial by Robojax.com
Get other projects code and learn Arduino
http://robojax.com/
#robojax #SunFounder #RobojaxESP32