How to Set Up an Ultrasonic Range Finder on an Arduino
HTML-код
- Опубликовано: 14 июл 2024
- How to Set Up an Ultrasonic Range Finder on an Arduino
In this video, I show you how to measure distance with three different ultrasonic range finder circuits using the HC-SR04 Ultrasonic Range Finder. The first circuit is a basic range finder circuit using only an Arduino and the ultrasonic range finder. Then I show you a more accurate range finder circuit that factors temperature into the speed of sound formula. Finally, I show you the most accurate range finder circuit that takes into account both humidity and temperature in the equation for the speed of sound.
Get an Ultrasonic Range Finder here: www.amazon.com/gp/product/B00...
Check out the blog post for this article for the code, diagrams, and more information: www.circuitbasics.com/how-to-...
Check out the Circuit Basics blog for articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects! www.circuitbasics.com
Facebook: / circuitbasic
Twitter: / circuitbasics
Instagram: / circuitbasics Наука
Set up of circuit quick and well explained. Keep up your good work.
best tutorial ever! very clear and outstanding work! please show us how to hook an LCD and load the program
Thank you for this awesome tutorial! I saw it some days ago however i couldn't find it today.
Maybe you should try some more tags like HC-SR04 or distance sensor,if you haven't already.
Your approach is the best (3 different ways of measuring) ,very accurate and very easy to set.
Thanks again for sharing!Liked and subscribed
GREAT thanks, took me awhile to get the code to work (poor pin conections) but got 2 of them in the end
very clear and we'll explained.
You should also take in the consideration of the accuracy of the DT11 sensors.
Thanks very much :)
Nice tutorial,,
Make more arduino and other sensor,,
Thank you..
nice work......
Thank you.
Thanks sharing
I was not concerned about the Temperature and Humidity while measuring distance . Thanks for the perfections.
JESUS IS THE KING OF THE KINGS
LOVE GOD AND EVERYONE
Liked and Subscribed!! Great video! I have a really cool but big project that I'm working on prototyping while also learning at the same time. Great info here, I like the way explain things. Would you be open to helping me answer a few questions I may have during my build?
Thank You. Most of these videos parrot Ardunio. Ultrasonic RADAR they seem to call it.
Thank you for the tutorial for the ultrasonic range finder however i have been stuck on a problem while trying to connect the lcd display to the circuit . I have followed the hardware and software exactly the way it is shown and the lcd does light up and it shows 16 little boxes but it doesn`t display anything on them so if you could help me out it would be great.
do you have a schematic if I wish to add LCD Display for this project?
Can you make a video using the display from Arduino thanks and great video
Very nice, educating and easy to follow!
I saw some interesting improvements if instead of the notebook, you had moved a square box of some sort in front along the ruler. Also if had aligned or measured the number of centimeters to the facing wall some whatever 2-3 meters away for longer distance? ;-)
+Kjell Arne Rekaa I like this project too.
Shaver! Are you kidding? I am trying to "learn" the linear position and length of a moving piece of wood (200x100x4000mm) using more than one HS04 sensor
Is there any way to configure the ultrasonic to a particular distance, where it can only send output when it senses preset distance
hi, can you teach me how to measure speed by arduino uno, thanks a lot.
i just bought 3 of this. is it possible to get them to show 0cm all tho that they are like 120cm away from the objekt? And if i put somthing in font of it, at 110cm away. it will tell me that its only 10cm away?
Which type of aurdino use for this project (UNO or NANO)
"Thank You", thank you very much. I thought your presentation was REALLY great, but I do agree with #Anton. Maybe you should use another object for your measuring device...
Correcting #Artion
Can these be connected in parallel or serial on all sides of an object to detect obstacle from any angle?
I wanna ask you why you did'nt use LCD that you displayed on picture use for video.
Please upload video of this project by using the LCD and display reading not only in cm also in meters and feet etc.
Otherwise video is very good bro.🖒
can you implement this project 8051 micro controller.....i need codes for that
My display shows only black squares. The text appears however if I look from an angle. What should I do?
Will the distance to object angle could be found?
Please help me
what is the accuracy of the sensor?
can you give me the code for distance measuring only and other with distance and temperature
have also out of range. or the range cant be right! What is the problem?
How do you fix the out of range problem
Can someone please give me a list of parts i need to create this and is there a way to make it make a sound when something reaches a certain distance
Thanks :)
Distance out of range... what to do?
its coming out of range since if i connect it to 3v and if i connect it to it will get on only
Plz make with Arduino nano r3
Hello reference height arduino I want to know my room floor level how much height from other room in which video solution
There is a waterproof version of this sensor and I ask one question why this is not on every car with a red led and interior horn set at 5 feet??? To prevent front end collisions.
when using humidity sensor am i needed to setup resistor and thermister
have u written for me
what is the max length??
Can i use Arduino Nano
My one is showing that distance is out of range..what should i do?
How about Microsecond to millimeters?
i have done this and it works and accurate too but the problem is that i use three sensors and the sensor only read one sensor reading only and the rest is out of range. can anybody help me?
why does it show on LCD screen "out of range" when distance between HC-SR04 and object is 15 cm
Hi, maybe the notebook isn't the most relaible obstacle: it's not rigid, so the distance measured is variable depending on the movement in your hands. :)
i have to agree with you
I get the message on the serial monitor saying "out of range" can anyone help please?
idk
Hi....
Please tell me..
Can We Connect Multiple sensore in one ARDUINO UNO board...
Regard Me
Yes it is my experience
why it show out of range?
high is meaning 5 volt but the distance is change .how?
❤☦❤☦😊
If used "mm" how to?
I am tried to make this but they will show out of range
i have out of range issue...
please help me!
same
Till how much distance arduino uno HC-SR04 can detect? Distance in cm ?
hey cn u able to provide me code for 4M?
Can you pls give me code for 4m?
Prem Dodia honestly just learn to do it, it’s not that hard
3.50AM - someone can't sleep...
LOVE GOD AND EVERYONE!!!
your name is cricut basics but you dont leave a cricut link in the description
hi there are errors i don't know what but the console is printing that distance is out of range
me too
I have "Out of Range" issue. Please help. >
same
i want set the range of 5 feet ti detect the sensor can u help
How can I used this to take over the world?
1000 times better than Bushnell
A ok
Shame you didn't just show us how to hook up the LCD and load the program. I have no idea how to put the two things together.
it just says out of range
Why the first one isn't accurate? Even the object is steady, it's distance changes
its telling distance out of range
GOD IS REAL
damn man u beat around the bush too damn long
distance out of range
Same
JESUS IS THE KING OF THE KINGS
JESUS IS THE KING OF THE KINGS!!!
Bro.... Try to teach coding..... People don't like copying and pasting..... We want to type it with our own knowledge
i have out of range issue...
please help me!
I had that same problem and what I found out was that my trig and echo pins were in A10 and A13. I just switched them from the analog to the regular 10 and 13 slots
also me the distance= out of the range
@@howidamostafa8789 solved
@@howidamostafa8789 before 2 years
its telling distance out of range