How to Measure Distance on the Arduino - Ultimate Guide to the Arduino #34

  Рет қаралды 2,383

Circuit Basics

Жыл бұрын

In this video, we will learn how to measure distance with an HC-SR04 ultrasonic range finder connected to an Arduino. Temperature and humidity can affect the accuracy, but there's an easy way to compensate for it.
This is tutorial #34 in the Ultimate Guide to the Arduino, a complete video course on the Arduino microcontroller with 45 lessons that are designed to teach anyone how to master the Arduino at any skill level. Visit our KZfaq channel page to watch the entire series!
Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here:
www.sunfounder.com/products/sunfounder-3-in-1-iot-smart-car-learning-ultimate-starter-kit?_pos=1&_sid=b9504073c&_ss=r&ref=5RPAW01H
Or get the kit from Amazon:
US Amazon: amzn.to/3W1Mahh
DE Amazon: amzn.to/3j0oETn
JP Amazon: amzn.to/3UYrHZG
UK Amazon: amzn.to/3uTJZAC
CA Amazon: amzn.to/3W2vExN
Get the HC-SR04 Ultrasonic Distance Module from SunFounder here: www.sunfounder.com/products/5pcs-hc-sr04-ultrasonic-module-distance-sensor?_pos=2&_sid=52e4a7fb3&_ss=r&ref=5RPAW01H
Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code:
www.circuitbasics.com/how-to-set-up-an-ultrasonic-range-finder-on-an-arduino/
And be sure to check out the Circuit Basics blog and social media for more articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects!
www.circuitbasics.com
Facebook: circuitbasic
Twitter: circuitbasics
Instagram: circuitbasics

Пікірлер: 1
@Jirayu.Kaewprateep
@Jirayu.Kaewprateep Жыл бұрын
📺💬 It is pretty accurate. 🥺💬 I watch the VDO, and you select a medium-distance sensor may be because of sound wavelength is matched to work when I see many projects they are trying to use infrared or echo. 🥺💬 That makes the project's success easy.