Sonar is using sound wave to detect objects like bats, specifically used underwater cause radio waves cant travel in water. While radar uses radiowaves or electromagnet, radar send out radiowaves and once it detects object it reflect back to the radar so that it will show you on the screen. Radio waves and sound waves are different.
@@JesryDimate-m9vdifferent but not so different considerinf youd need to have an electromagnet for both sonar and radar, you're just targeting the different frequency range they operate in.
For a small project, nice work. The ultrasonic sensor emits sound waves, which are mechanical waves requiring a medium for propagation. Therefore, this project essentially functions as sonar. In contrast, radar uses electromagnetic waves, specifically radio waves. If an object is present, the radio waves reflect to the radar, allowing for object detection and distance determination. In summary, radio waves (electromagnetic waves) can propagate in a vacuum and are limited in water, for example, which is the best option for radar. Unlike sound waves, which can propagate in water but not in a vacuum.
@@varunahlawat169 can u share resources, where i can learn build this small sonar project. I have found a Radar one already. And a video where creator talks about Triagulate and builds a airsoft motion detection Turret.
#include const int trigPin = 9; // Trigger pin of ultrasonic sensor const int echoPin = 10; // Echo pin of ultrasonic sensor Servo servoMotor; // Servo motor object void setup() { Serial.begin(9600); // Start serial communication servoMotor.attach(8); // Attach servo motor to pin 8 pinMode(trigPin, OUTPUT); // Set trigPin as OUTPUT pinMode(echoPin, INPUT); // Set echoPin as INPUT } void loop() { for (int angle = 0; angle = 0; angle -= 10) { // Sweep back from 180 to 0 degrees scan(angle); // Perform the scan at the given angle delay(50); // Small delay for smoother motion } } void scan(int angle) { int distance; // Move the servo to the specified angle servoMotor.write(angle); delay(100); // Delay to allow the servo to reach the position // Send a short ultrasonic pulse digitalWrite(trigPin, LOW); delayMicroseconds(2); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); // Read the distance from the ultrasonic sensor duration = pulseIn(echoPin, HIGH); // Calculate the distance in centimeters distance = duration * 0.034 / 2; // Print the angle and distance to the serial monitor Serial.print("Angle: "); Serial.print(angle); Serial.print(" degrees, Distance: "); Serial.print(distance); Serial.println(" cm"); }
You can get to this point very quickly with practice. Arduino has tutorials build in to the IDE. They are get for beginners or learning a specific topic!
Umm is it alright if I ask you what you did in your bachelors? Because I'm interested in learning such content and am soon getting into an engineering college and looking forward to working hard for a career in Robotics, so that's why asking your qualifications
Cheer~~~a system for detecting the presence, direction, distance, and speed of aircraft, ships, and other objects, by sending out pulses of high-frequency electromagnetic waves that are reflected off the object back to the source.😊
Cuz the servo motor cant turn more than a 180 degrees. He can use another motor but for that you will need drivers that are expensive. Servo motors are cheapand easy to program
Haven't messed with servos at all, but that servo looks like the type to not be able to do 180° unless it has some specific input I do not know of (maybe a raw square wave?)
Not bad for debugging, but definitely people should try and solve issues themselves when they’re learning. But if my code doesn’t execute after 20 different tweaks I’m going to google or chat gpt or copilot lol
It’s inaccurate too. You’re just improvising 😅. Cool though. The sonar wave is also traversal so it’ll get reflected best at shortest reflecting distance to the receiver and not exactly a forward direct since the target isn’t planar. What you experience is stealth behavior but on a lower resolution. Reflecting the waves away from the receiver is the highest priority 😂❤
ive been trying to make this work for hours. i have the processing code nearly done and calling on the right com port, however the display screen is not updating continiously it just freezes as soon as i run the code.
I am facing the issue in serial monitor in my esp32 wroom board. My serial monitor only shows the special characters. I tried many times using mane frequency 9600 and others but result 0. Please tell me how can I solve the issue. I am using M1 mac.
a lot more money... to buy a real radar meant for boats. And skip out on this LIDAR, since it will only detect boats less than a foot away in clear weather...
question: Is it possible to make a realistic radar mock-up (like the ones they used in aviation) using arduino and raspberry pi? Please help, I really need others' opinion. :>
It's a sonar, not a radar
Sonar is using sound wave to detect objects like bats, specifically used underwater cause radio waves cant travel in water. While radar uses radiowaves or electromagnet, radar send out radiowaves and once it detects object it reflect back to the radar so that it will show you on the screen. Radio waves and sound waves are different.
@@JesryDimate-m9vdifferent but not so different considerinf youd need to have an electromagnet for both sonar and radar, you're just targeting the different frequency range they operate in.
@@JesryDimate-m9vthat's an ultraSONIC sensor. Hence SONAR.
@@JesryDimate-m9vwas this in reply to someone
@@JesryDimate-m9vdid he say anything about them? He just said it's sonar
For a small project, nice work. The ultrasonic sensor emits sound waves, which are mechanical waves requiring a medium for propagation. Therefore, this project essentially functions as sonar. In contrast, radar uses electromagnetic waves, specifically radio waves. If an object is present, the radio waves reflect to the radar, allowing for object detection and distance determination.
In summary, radio waves (electromagnetic waves) can propagate in a vacuum and are limited in water, for example, which is the best option for radar. Unlike sound waves, which can propagate in water but not in a vacuum.
Loved this thank you brother 🙏🏽
Так же радар рассчитывает скорость объекта по Доплер смещению частоты❤
Ultrasound waves are electromagmetic ones, so as radio waves.
Que buena, gran aporte muchas gracias
@@avantcdmx2028La ignorancia es tan grande
Amazing video don't listen to people trying to discourage you.
This is a plagiarized video
Now, try using two sensors and triagulate the object to generate a "double-axis" position
Exactly, then it would be a sonar!
@@varunahlawat169 can u share resources, where i can learn build this small sonar project. I have found a Radar one already. And a video where creator talks about Triagulate and builds a airsoft motion detection Turret.
That d be biangulate, no?
Oh so that’s how it’s done. Always wondered that in the back of my head but never got around to researching it
i think 360 degree serwo, or a motor with spinning sensor is more suitable for this build
Right and spinning wires as well!
@@b03tz есть такой вид контакта, как специальные площадки и металлические щётки, которые скользят по этим площадкам
@@b03tzuse a slip ring
Just install a second setup behind it it’ll be mirrored
@@Zomerlad yeah it is much easyest way to do it...
#include
const int trigPin = 9; // Trigger pin of ultrasonic sensor
const int echoPin = 10; // Echo pin of ultrasonic sensor
Servo servoMotor; // Servo motor object
void setup() {
Serial.begin(9600); // Start serial communication
servoMotor.attach(8); // Attach servo motor to pin 8
pinMode(trigPin, OUTPUT); // Set trigPin as OUTPUT
pinMode(echoPin, INPUT); // Set echoPin as INPUT
}
void loop() {
for (int angle = 0; angle = 0; angle -= 10) { // Sweep back from 180 to 0 degrees
scan(angle); // Perform the scan at the given angle
delay(50); // Small delay for smoother motion
}
}
void scan(int angle) {
int distance;
// Move the servo to the specified angle
servoMotor.write(angle);
delay(100); // Delay to allow the servo to reach the position
// Send a short ultrasonic pulse
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
// Read the distance from the ultrasonic sensor
duration = pulseIn(echoPin, HIGH);
// Calculate the distance in centimeters
distance = duration * 0.034 / 2;
// Print the angle and distance to the serial monitor
Serial.print("Angle: ");
Serial.print(angle);
Serial.print(" degrees, Distance: ");
Serial.print(distance);
Serial.println(" cm");
}
thx for the code
دي اكواد
Thanks bro
Te amo loco
how can I copy?
That's cool! It even shows the distance and I like how compact it is compared to the other ones
Nice project. Keep it up. Subscribed. :)
another cool stuff, like it. expand function more pls
The reloading sound not make sense 😐
Es que esta construyendo en Estados Unidos jajasksk
Seeing the interface I was expecting the alien motion detector sound😂
@@alguiennose8266😂
You are the fun police
Lol😂
I have no idea what's this because am still a beginner but looks cool
You can get to this point very quickly with practice. Arduino has tutorials build in to the IDE. They are get for beginners or learning a specific topic!
Well done bro💪👑
It's amazing how ChatGPT can do the simplest tasks that you can get done quicker by looking up a tutorial.
It's interesting how the Arduino controllers, themselves, now have gotten smaller than the sensors themselves.
Umm is it alright if I ask you what you did in your bachelors? Because I'm interested in learning such content and am soon getting into an engineering college and looking forward to working hard for a career in Robotics, so that's why asking your qualifications
Looks like electrical engineering
@@amadouelcapotoure189 oh I see, thanks a lot!
The sound effects were artificially produced, an ultrasonic sensor and servo motor doesn't sound like that.
wires don't sound like guns when you plug them in either
Monkey
no shit sherlock
No way dude. No way.
yay i can finally use this to make a small pantsir S1 anti-air to shoot down flies :))))
Awesome bro!!
If you dont mind, could you tell me what code you used on that radar?
So intetrsting!!!
Cheer~~~a system for detecting the presence, direction, distance, and speed of aircraft, ships, and other objects, by sending out pulses of high-frequency electromagnetic waves that are reflected off the object back to the source.😊
Such a short range
But it was clean and sweet 👍🏻
The short range is just coming from the radar UI. The sensor itself can recognize items up to 3 meters away
Why it is not covering the full 180 degree??
Cuz the servo motor cant turn more than a 180 degrees. He can use another motor but for that you will need drivers that are expensive. Servo motors are cheapand easy to program
@@BarbaroR4alternatively: stepper motor and then just add a stop switch somewhere
Many hobby servos can do 180° and they are dirt cheap
Haven't messed with servos at all, but that servo looks like the type to not be able to do 180° unless it has some specific input I do not know of (maybe a raw square wave?)
It’s chat GPT code
Amazing video ❤
Genious are meteors made to burn to enlight their century. God bless you Brother for sharing your expertise.
The computer does not exist on the radar.😂
But on the same time is a small and a nice work, congrats.😉
I honestly discourage people from using chat-gpt because coding is a good skill to have in itself.
Yeah, but bro.. saves SO much time 🎉
@@livetohash6152 The people needs to use it for have an idea how to fix the problem not to fix the problem
@@livetohash6152 Sometimes, but most times it draws you into a project before you realize the code is garbage, and you wasted a few months.
Not bad for debugging, but definitely people should try and solve issues themselves when they’re learning. But if my code doesn’t execute after 20 different tweaks I’m going to google or chat gpt or copilot lol
You gotta work your own brain, people are just going to get lazy with gpt doing all of the thinking.
Not bad! Did you test until what distance it is accurate by any chance?
The Ping)) is an amazing module!
HC-SO4
From Elegoo Tank🤝🏻
Was programming too hard for you to figure out like the rest of us?
They probably used some premade libraries and code. There is a lot of great arduino code out there.
@@itoibo4208 it says made with chatgpt
This was my Bsc Project1 :)😅
I need to put this in an animatronic so when it sees only one person in the room it jumpscares them
It’s inaccurate too. You’re just improvising 😅. Cool though.
The sonar wave is also traversal so it’ll get reflected best at shortest reflecting distance to the receiver and not exactly a forward direct since the target isn’t planar.
What you experience is stealth behavior but on a lower resolution. Reflecting the waves away from the receiver is the highest priority 😂❤
ive been trying to make this work for hours. i have the processing code nearly done and calling on the right com port, however the display screen is not updating continiously it just freezes as soon as i run the code.
Radars are usually inside a protective white sphere or cone. I wonder how they filter off this protective cocoon from the radar signal?
THIS IS A LIDAR. infared light. NOT A SONAR OR RADAR
@@medulla0blongata65 Have you lost the ability to read? The video TITLE says radar with an ultrasonic sensor. Where does it say laser pulses??
@BanterMaestro2-y9z Nice. I love it when replies make sense at a code implementation level.
I did it for my semester project without chatgpt back in 2017
Nice toy, but if it works with SOuNd (even if humans can't hear that sound), it is SONar.
RADar works with RADio waves.
You know what's crazy. This uses infrared light to detect distance, therefore making it a LIDAR!
I am facing the issue in serial monitor in my esp32 wroom board. My serial monitor only shows the special characters. I tried many times using mane frequency 9600 and others but result 0. Please tell me how can I solve the issue.
I am using M1 mac.
What code are you uploading?
@@CodersCafeTech any code which need to display something in serial monitor
@@CodersCafeTech a simple code to print "hello" the hello is not displaying. It displays the special characters not the input or output
Check baud rate in arduino code and keep same baud rate in serail monitor also
Check the serial baud rate it should be same with declared in code
Amazing video
Could work better with infrared but whats the programmed code though
Try add a slip ring, make a mounting unit, add a small laser unit, then you can make a laser turrent.
To kill mosquitoes 😂?
Can you tell me what that part is called I need it for my robot
Ultrasonic Sensor
Try I removed the five devices replaced my five redundant items with one now abilty to work and maintain. That market listens more.
All look good on table....but what is the use of this !?. If you do some home or industrial appliance .. it's good
Laptop: I have mastering art of disappearing
Well, If they could build this stuff back in the 1941, Then it should be incredibly easy now
Now you can see where Aliens are hiding
It's a infrared sensor
this is a sonar sensor using ultrasonic sound
@@itoibo4208 no
@@medulla0blongata65 lol it says it in the title
What software did you used for the sonar display?
My man, why would you attach the servo on a breadboard?
My man, it's just a prototype
It's just rested upon it
Что-то мне подсказывает что это не твоя разработка
Естественно, он же негр! ☝
Вспоминаем видосы алекса
Good job❤
شن وظفية الاداء هذه لو تكرمتو ؟
طبعا سؤال موجه لعرب يشاهد فيديو
حساس لقياس المسافات ...تحية لك من الجزائر
@FouziDozi-r2y شكر تحيات لك من ليبيا
Can you try to build something like that with mmwave sensor?
How far could I get this to work? Any sensor upgrade to make this for boat purposes?
a lot more money... to buy a real radar meant for boats. And skip out on this LIDAR, since it will only detect boats less than a foot away in clear weather...
Can be use for ghost detector right?😅
Good project
Good job!
How do you get the sonar graphic on the PC screen?
The image is generated using processing, you can find the code on the web, search Arduino ultrasonic sensor with processing
can I ask what algorithm I should use for this kind of project?
Can u use it for mesh mapping
Great invention for birdbox creatures
When you only downloaded one sound effect
Cool! Maybe don't include the gun cocking sounds next time.
How did he do that visualization? I really puts a nice bow on it
Is there a change to get the code?,because we want to make that as a school project
Just have a look at m.ruclips.net/video/NOPacu3E1-4/видео.html
In the description is the code
If you are a soldier hiding in a house, and if enemy soldiers come to you, you turn on this device called radar and see how many soldiers there are
What's the use for a radar that has a range of 1 foot
Can be used to detect mosquitoes😂😂😂
@@donji1235b hahaha
I did this project in mu first semester of Engineering
Which software is this? Which is showing display?
question: Is it possible to make a realistic radar mock-up (like the ones they used in aviation) using arduino and raspberry pi? Please help, I really need others' opinion. :>
The one in this video was pretty realistic
Great 👍🏻
This is how a Sensor reverse works in your car.
If you are getting robbed, this may save your life
And for processing on android, what would it be like?
Does it work for mosquitoes?🪖💣
What are those clips used at the end of the wire called?
good, congrats, bdw is a sonar
btw its a lidar
@@medulla0blongata65 lidar is with laser
Item required list ???
This is useful for my project bro
Which platform did you use to read
I need the full video of this with explanation ?
Cnc machine is nice project to do
Which code of Arduino do u use for it
it is basically a c language but you have to know its documentation and library first
@@ec_harshitsrivastava_be21e67c++
How far away can It detect objects
40 centimetres
@@merc622That's wrong. The sensor itself can detect objects up to ~ 4 meters. It's the HC-sr04
Thanks, cool video ! Subscribed!
Why it isn't sensing laptop? 🤔
Short range setting
Author! Do you have any more sounds in stock???
Why the amgle is 15 to 120?, i get a took for dont doing the 190 angle complete
Wow❤❤❤
Can I get the link for the whole video??
What is the maximum distance can it scan?
2m maximum
What application software did you use?the blue one?
Processing IDE
How many Americans are we going to hear before something happens?
I need the code and know how to work
Qual sensor persegue uma bolinha?
와~ 좋은 레이더군요!
Impressive
Bro which sensor is used and how to nake this project please make full video
Sensor is hc-sr04
Scanner ❎️Ghost finder ✅️
Cool nice invention or re-invention