Build Your Own DIY Radar System Using Arduino: A Step-by-Step Guide!

  Рет қаралды 163,098

SciCraft

SciCraft

Күн бұрын

Пікірлер: 198
@mypoortom
@mypoortom 2 ай бұрын
Thanks for sharing! Really appreciate.🥰
@SciCraft
@SciCraft 2 ай бұрын
Thank you so much for the Super Thanks! Your support truly touches my heart and boosts my confidence to keep creating great content
@stylt7344
@stylt7344 9 ай бұрын
tried it and worked completly fine
@sapnachauhan1121
@sapnachauhan1121 Ай бұрын
What should I do as the connection are loose
@Star88701
@Star88701 4 ай бұрын
Id be interested to see something like this upscaled for more advanced radar such as doppler. Navigational doppler radar would be neat.
@SciCraft
@SciCraft 4 ай бұрын
Yeah, I've been researching that too, aiming to create an advanced radar system. If you have any valuable information on this topic, please share. It would help me a lot. Btw thanks for the comment!
@WhaleyHiz
@WhaleyHiz 7 ай бұрын
i think you should clean your breadboard once in awhile
@metekaba6532
@metekaba6532 7 күн бұрын
Hi my friend. Thank you for the video! I want to make an Arduino radar project. Most of the radar projects using Arduino define the object with only one dimension. Whether the object is thin or thick, it draws the entire length on the radar monitor. Is it possible to make a multi-point radar project using Arduino? That is, I will be able to see the size of the object. For example, if there is a box in front of it, I will see it in width and length.
@SciCraft
@SciCraft 6 күн бұрын
Yeah, most Arduino radar setups, like mine, only measure distance at one point, so they can't show the full size or shape of an object. To get that multi-point radar effect, you'd need more sensors or use something like LIDAR, which scans across the object and gives you more detailed info. It’s definitely possible but would require more complex hardware
@alexmanolescu2567
@alexmanolescu2567 4 ай бұрын
any ideas PLEASE on how to add 2-3 random targets on the screen using radars ecuation ?( just for the code only, not for the entire project with components and stuff)
@SciCraft
@SciCraft 4 ай бұрын
can you explain that to me a little?
@alexmanolescu2567
@alexmanolescu2567 4 ай бұрын
Hello and thank you a lot! What I mean is a short simulation of a radar screen that will show or not show some targets(distance, radar cross section or even received power from target) depending on the parameters introduced by the user.(also parameters of the radar range equation, antenna gain, wavelength, transmitted power, etc) So in the end there will be displayed only the targets that fulfill the formulas requirements. What do you think? Thank you a lot ! ❤️
@SciCraft
@SciCraft 3 ай бұрын
Can you email me this with a straightforward and clear explanation? My Gmail is scicraft90@gmail.com
@SeyyedMahdi-pj2pi
@SeyyedMahdi-pj2pi 5 ай бұрын
Hi, it was an interesting project. I just had one question, if I wanted to shine a laser light on an obstacle when the radar detects it
@SeyyedMahdi-pj2pi
@SeyyedMahdi-pj2pi 5 ай бұрын
How will the code changes?
@jamiehenson3385
@jamiehenson3385 3 ай бұрын
Thank you! It worked!
@SciCraft
@SciCraft 3 ай бұрын
Glad it helped!
@Isabellsssss
@Isabellsssss 5 ай бұрын
My radar is showing all red even when there is no object in front of it.
@SciCraft
@SciCraft 5 ай бұрын
Actually, this problem also happened to me while making this project. After trying everything possible, I came to realize that my ultrasonic sensor was faulty. After replacing it with a new sensor, then everything is working fine
@microbe2221
@microbe2221 3 ай бұрын
How can i use the data from the ultrasonic and make it in use not just displaying it
@SciCraft
@SciCraft 3 ай бұрын
How do you want to use it??
@raizendelacruz
@raizendelacruz 9 ай бұрын
My sensor is moving slowly. What seems to be the problem?
@champikabiyanwila7128
@champikabiyanwila7128 9 ай бұрын
My olso
@SloupyY
@SloupyY 5 ай бұрын
so how do i make it do things such as turn on a light when an object is detected or play a sound or start a countdown ?
@SciCraft
@SciCraft 5 ай бұрын
To achieve that, you simply need to modify the code
@Asamaa_11
@Asamaa_11 2 ай бұрын
Does it also work with an arduino nano?
@SciCraft
@SciCraft 2 ай бұрын
Yep, it will work
@Asamaa_11
@Asamaa_11 2 ай бұрын
@@SciCraft thanks
@nwa_mondlane
@nwa_mondlane 4 ай бұрын
please help how to link the arduino IDE and the processing enviroment
@SciCraft
@SciCraft 4 ай бұрын
You don’t have to link anything basically there are two codes - one for Arduino Uno and the other for graphical representation. To upload the code to the Arduino board, you'll need Arduino IDE. And for the graphical representation, you'll need Processing software
@brisagamarra6831
@brisagamarra6831 11 ай бұрын
Hello, how can I make the radar stop spinning without having to disconnect it from my PC port?
@SciCraft
@SciCraft 11 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me
@UFCGuyy
@UFCGuyy Ай бұрын
use chatgpt
@CursedOnFire
@CursedOnFire 7 ай бұрын
Hey, i built the radar right and so was the code but the board just doesnt turn on (it turns on a very low power led that indicates it is turned on but barely) and it doesnt do anything
@SciCraft
@SciCraft 7 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me!
@CursedOnFire
@CursedOnFire 7 ай бұрын
Im sorry, i figured it out. Turns out the port on my pc didns supply enough power.@@SciCraft
@danielbaitler8380
@danielbaitler8380 4 ай бұрын
Which program needs for code?
@SciCraft
@SciCraft 4 ай бұрын
So, there are two codes - one for Arduino Uno and the other for graphical representation. To upload the code to the Arduino board, you'll need Arduino IDE. And for the graphical representation, you'll need Processing software
@I_Purple_You-7souls
@I_Purple_You-7souls 6 ай бұрын
I have a problem with the green signal thing it doesn’t move and I tried everything 😢 what shall I do
@SciCraft
@SciCraft 6 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me!
@SubhashChandra07
@SubhashChandra07 20 күн бұрын
Thanks :)
@SciCraft
@SciCraft 20 күн бұрын
Welcome!!❤️☺️
@amirshahtr9805
@amirshahtr9805 5 ай бұрын
How to make a 360° one ?
@SubhashChandra07
@SubhashChandra07 20 күн бұрын
Select the appropriate servo and do changes in radar code.
@guppyguy3136
@guppyguy3136 Жыл бұрын
life saverrrrrr
@fakhrikh9046
@fakhrikh9046 14 күн бұрын
I can't upload the code to Arduino it says exit status 1 I still can't figure it out
@niki-kv5sp
@niki-kv5sp 14 күн бұрын
can i use this underwater?
@SciCraft
@SciCraft 13 күн бұрын
I don’t think the current setup would work underwater
@rionela_games
@rionela_games 5 ай бұрын
Hi! what type of connector are you using for the servo motor?
@SciCraft
@SciCraft 5 ай бұрын
Can you please clarify what you are trying to say?
@rionela_games
@rionela_games 5 ай бұрын
@@SciCraft like what type of connector are you using to connect the servo motor to the arduino? 2:33
@SciCraft
@SciCraft 5 ай бұрын
Female-Female jumper wires
@rionela_games
@rionela_games 5 ай бұрын
@@SciCraft Ok. Thanks!
@TommysCrib
@TommysCrib 6 ай бұрын
how do i make my servo go as fast as your's was cause mine is moving a bit slow
@SciCraft
@SciCraft 6 ай бұрын
You can reach me at scicraft90@gmail.com or connect with me on Instagram using the handle instagram.com/scicraft9/
@erdemerzurumlu
@erdemerzurumlu 3 күн бұрын
ı am getting errror in this part iAngle = int(angle); iDistance = int(distance); The function parseİnt(String) does not exist. how can ı fix it
@erdemerzurumlu
@erdemerzurumlu 3 күн бұрын
I changed the faulty part as follows and set the language to English. iAngle = parseInt(angle); iDistance = parseInt(distance);
@yavuzhan_the_bmw_lover1065
@yavuzhan_the_bmw_lover1065 Ай бұрын
program is saying 'string does not exist' how can ı fix it?
@SciCraft
@SciCraft Ай бұрын
Hey, you can reach me at scicraft90@gmail.com. If you could send over some screenshots or videos of the issue, I’ll take a look and help figure out what's going on
@E4E
@E4E 5 ай бұрын
Well it may 'technically' be a SONAR, but.... I think focusing on that fails to recognise the really good video. It takes ages to produce quality videos. Who gives a shizzle whether it's radio waves or sound waves (Yo' momma??).... exactly! The process is the same anyway! If you'd said "Build your own SONAR" then some daft Next Tuesday would comment "But we don't all live in submarines". Great video, keep the faith!!!
@SciCraft
@SciCraft 5 ай бұрын
Thank a lot man for your understanding. I truly appreciate it.
@bhbkjujinmjnh
@bhbkjujinmjnh Жыл бұрын
hey, can u tell me how to change the distance range to 2 meters or 1 meter
@SciCraft
@SciCraft Жыл бұрын
yes, replace this line of code For a range of 2 meters: distance = duration * 0.034 / 2; For a range of 1 meter: distance = duration * 0.017; // Since we want the direct one-way distance,
@bhbkjujinmjnh
@bhbkjujinmjnh Жыл бұрын
@@SciCraft thanks
@bhbkjujinmjnh
@bhbkjujinmjnh Жыл бұрын
also please send me your discord or instagram i have a doubt i will send picture
@SciCraft
@SciCraft Жыл бұрын
@@bhbkjujinmjnh instagram.com/scicraft9/
@santiagoalfredobarcenasric6564
@santiagoalfredobarcenasric6564 11 ай бұрын
Thanks 🤞🏽
@SciCraft
@SciCraft 11 ай бұрын
Welcome❤️
@teachindia24
@teachindia24 Жыл бұрын
Can you please send me the circuit diagram for this.
@SciCraft
@SciCraft Жыл бұрын
instagram.com/scicraft9/ Dm me
@BapsHongKong
@BapsHongKong Жыл бұрын
I am doing in Mac Book and my port is /dev/c..... what should I do
@SciCraft
@SciCraft Жыл бұрын
instagram.com/scicraft9/ Dm me
@tiernanmorgan
@tiernanmorgan 2 ай бұрын
isn't that a sonar sensor not a radar sensor
@leipaing7186
@leipaing7186 Жыл бұрын
How can I change duration
@SciCraft
@SciCraft Жыл бұрын
Which duration?
@TUPM-ViggoAAvila
@TUPM-ViggoAAvila 3 ай бұрын
I keep getting the port busy message what to do?
@cybertronacademy
@cybertronacademy 3 ай бұрын
This happens when you try to send an Arduino code to a board. In this case, it is because Processing must be running therefore its using the port. So if you get this message, remember to stop the Processing code before you send the code in Arduino. Hope it helps.
@yogithagopalreddy6337
@yogithagopalreddy6337 6 ай бұрын
hello can we do same project using stm32, if yes can u give code for it
@SciCraft
@SciCraft 6 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me!
@vehbiyusuf
@vehbiyusuf 19 күн бұрын
everthing works expet the servo motor it doesnt even flinch
@JERUELESTRANEROMISON
@JERUELESTRANEROMISON 8 ай бұрын
thank youuuuuuuuuuuuuuuuuu
@SciCraft
@SciCraft 8 ай бұрын
Always Welcomeeeeee❤️☺️
@onetrueromanian6003
@onetrueromanian6003 2 ай бұрын
Isn't this actually a sonar?
@smart_factory
@smart_factory 4 ай бұрын
its good project, but the circuit diagram and video is different,,
@SciCraft
@SciCraft 4 ай бұрын
The circuit diagram is the same, but the way of connecting things might be different
@guppyguy3136
@guppyguy3136 Жыл бұрын
goatttttttt
@DavidAchukwu-ui6gm
@DavidAchukwu-ui6gm 3 ай бұрын
IS good see life of inside
@taylancelik8372
@taylancelik8372 Жыл бұрын
The parseInt(String) function does not exist. Gives a fault
@SciCraft
@SciCraft Жыл бұрын
In the code ?
@SciCraft
@SciCraft Жыл бұрын
instagram.com/scicraft9?igshid=MzRlODBiNWFlZA== dm me on instagram
@taylancelik8372
@taylancelik8372 Жыл бұрын
@@SciCraft 47 and 48 processing
@CrimsonRoseBDO
@CrimsonRoseBDO Жыл бұрын
@@taylancelik8372 Same problem here. Did you solve the problem. Sorunu çözebildiniz mi hocam.
@taylancelik8372
@taylancelik8372 Жыл бұрын
@@CrimsonRoseBDO bayağı bir uğraştım ama radar görüntüsü var servo hareket ediyor fakat yesil ve kırmızı göstergeler yok onlarda kodda integerler fakat hata alıyorum hala.
@mycraftideas156
@mycraftideas156 Ай бұрын
thank you i like men
@SciCraft
@SciCraft Ай бұрын
Thank you too
@Player123-o8r
@Player123-o8r 3 ай бұрын
How can I contact you?
@SciCraft
@SciCraft 3 ай бұрын
This is my email - scicraft90@gmail.com
@ENGINEERING0
@ENGINEERING0 Жыл бұрын
Can u send the code please ❤
@SciCraft
@SciCraft Жыл бұрын
Codes:- IDE:-drive.google.com/file/d/177iKPwRGpDglTV7PG5hAgFL8iY_Jm6EP/view?usp=share_link Processing:- drive.google.com/file/d/1jQ9G55sKmw-xedU3e3QEJNCIltC_npbP/view?usp=drive_link
@KVtrubs
@KVtrubs Ай бұрын
Can u tell me how to make it faster without sending me your insta link
@SciCraft
@SciCraft Ай бұрын
Just watch the video, or visit my website where you'll find a link in the description. On my website, you can access the project page and follow the steps to complete it.
@whizkid363
@whizkid363 Жыл бұрын
how to install processor can you tell me
@SciCraft
@SciCraft Жыл бұрын
Go to this link processing.org/ and download it
@sokiasoku-tg3rt
@sokiasoku-tg3rt Жыл бұрын
How you did this voice
@SciCraft
@SciCraft Жыл бұрын
In Microsoft clipchamp video editor
@DanielJBarnett
@DanielJBarnett Жыл бұрын
This is not radar…
@SciCraft
@SciCraft Жыл бұрын
For this is a sonar but most of people think this is a radar and search for this
@DanielJBarnett
@DanielJBarnett Жыл бұрын
@@SciCraft right, which makes this misleading AF…
@jesterking1
@jesterking1 Жыл бұрын
​@@SciCraft No, most people search for radar, and you trick them into thinking it's radar by not including the recorded sound and by misnaming the video as "Build Your Own DIY Radar System Using Arduino: A Step-by-Step Guide!" No where do you say it's sonar. The only hint we get of it is in the parts list "ultrasonic sensor".
@tubatuba5968
@tubatuba5968 Жыл бұрын
You Fail! 😂😂. People are so ready to battle. Great video. I made this my first project. Turned out perfect. Thanks You!
@vyx6851
@vyx6851 10 ай бұрын
mantap buat steammi sama pak priyo
@Mpackblock
@Mpackblock 3 күн бұрын
Processing code: import processing.serial.*; // imports library for serial communication import java.awt.event.KeyEvent; // imports library for reading the data from the serial port import java.io.IOException; Serial myPort; // defines Object Serial // defubes variables String angle=""; String distance=""; String data=""; String noObject; float pixsDistance; int iAngle, iDistance; int index1=0; int index2=0; PFont orcFont; void setup() { size (1200, 700); // ***CHANGE THIS TO YOUR SCREEN RESOLUTION*** smooth(); myPort = new Serial(this,"COM5", 9600); // starts the serial communication myPort.bufferUntil('.'); // reads the data from the serial port up to the character '.'. So actually it reads this: angle,distance. } void draw() { fill(98,245,31); // simulating motion blur and slow fade of the moving line noStroke(); fill(0,4); rect(0, 0, width, height-height*0.065); fill(98,245,31); // green color // calls the functions for drawing the radar drawRadar(); drawLine(); drawObject(); drawText(); } void serialEvent (Serial myPort) { // starts reading data from the Serial Port // reads the data from the Serial Port up to the character '.' and puts it into the String variable "data". data = myPort.readStringUntil('.'); data = data.substring(0,data.length()-1); index1 = data.indexOf(","); // find the character ',' and puts it into the variable "index1" angle= data.substring(0, index1); // read the data from position "0" to position of the variable index1 or thats the value of the angle the Arduino Board sent into the Serial Port distance= data.substring(index1+1, data.length()); // read the data from position "index1" to the end of the data pr thats the value of the distance // converts the String variables into Integer iAngle = int(angle); iDistance = int(distance); } void drawRadar() { pushMatrix(); translate(width/2,height-height*0.074); // moves the starting coordinats to new location noFill(); strokeWeight(2); stroke(98,245,31); // draws the arc lines arc(0,0,(width-width*0.0625),(width-width*0.0625),PI,TWO_PI); arc(0,0,(width-width*0.27),(width-width*0.27),PI,TWO_PI); arc(0,0,(width-width*0.479),(width-width*0.479),PI,TWO_PI); arc(0,0,(width-width*0.687),(width-width*0.687),PI,TWO_PI); // draws the angle lines line(-width/2,0,width/2,0); line(0,0,(-width/2)*cos(radians(30)),(-width/2)*sin(radians(30))); line(0,0,(-width/2)*cos(radians(60)),(-width/2)*sin(radians(60))); line(0,0,(-width/2)*cos(radians(90)),(-width/2)*sin(radians(90))); line(0,0,(-width/2)*cos(radians(120)),(-width/2)*sin(radians(120))); line(0,0,(-width/2)*cos(radians(150)),(-width/2)*sin(radians(150))); line((-width/2)*cos(radians(30)),0,width/2,0); popMatrix(); } void drawObject() { pushMatrix(); translate(width/2,height-height*0.074); // moves the starting coordinats to new location strokeWeight(9); stroke(255,10,10); // red color pixsDistance = iDistance*((height-height*0.1666)*0.025); // covers the distance from the sensor from cm to pixels // limiting the range to 40 cms if(iDistance40) { noObject = "Out of Range"; } else { noObject = "In Range"; } fill(0,0,0); noStroke(); rect(0, height-height*0.0648, width, height); fill(98,245,31); textSize(25); text("10cm",width-width*0.3854,height-height*0.0833); text("20cm",width-width*0.281,height-height*0.0833); text("30cm",width-width*0.177,height-height*0.0833); text("40cm",width-width*0.0729,height-height*0.0833); textSize(40); text("SciCraft ", width-width*0.875, height-height*0.0277); text("Angle: " + iAngle +" °", width-width*0.48, height-height*0.0277); text("Distance: ", width-width*0.26, height-height*0.0277); if(iDistance
@jesterking1
@jesterking1 Жыл бұрын
interesting that you choose to mute the actual recorded audio. This isn't radar. This is sonar, and I am willing to bet that you can hear an audible beeping form the speakers.
@SciCraft
@SciCraft Жыл бұрын
Yes bro this is a sonar, I had also mentioned in the video
@AwesomeArnav-ex5li
@AwesomeArnav-ex5li 2 ай бұрын
my processing software is not working it pls help
@SciCraft
@SciCraft 2 ай бұрын
What is the exact issue?
@AwesomeArnav-ex5li
@AwesomeArnav-ex5li 2 ай бұрын
@@SciCraft every time i start any code it starts and after 2 mins it says not responding and it closes
@SciCraft
@SciCraft 2 ай бұрын
@@AwesomeArnav-ex5li I need to see some video of the issue so I can understand exactly what's happening. You can share the videos with me through my Gmail at scicraft90@gmail.com
@AwesomeArnav-ex5li
@AwesomeArnav-ex5li 2 ай бұрын
@@SciCraft the radar project you showed that is working but its not giving the out put on he processing application
@AwesomeArnav-ex5li
@AwesomeArnav-ex5li 2 ай бұрын
did u find anything tomorrow is my competition pls help
@Jirayu.Kaewprateep
@Jirayu.Kaewprateep Жыл бұрын
🥺💬 I think SciLab release code with examples of many application, I used to work with MatLab, SciLab, and scientific program there is more application from location-based. Radar is not applicable for detecting objects only but the information you can align the shape of the object and tell about how objects are related on reflection information and is it possible with assumption. Radar can help the investigation to evidence for investigation or attachment more than catch the flying bird only.
@SciCraft
@SciCraft Жыл бұрын
thank you so much bro for sharing such a important infomation ❤
@No1sonuk
@No1sonuk Жыл бұрын
Sonar. Radar uses radio, not sound.
@SciCraft
@SciCraft Жыл бұрын
Yes,you are right bro
@SciCraft
@SciCraft Жыл бұрын
But most people of the think it is a radar
@jasonmorgan661
@jasonmorgan661 Жыл бұрын
T.v. antennas used to tell me when someone was walking up to my door lol...
@jasonmorgan661
@jasonmorgan661 Жыл бұрын
​​​​@@SciCraftame with metal detectors but they use Eddie currents to pick up metals in those and some have actual sonar as well ....when i think of Radar i think of m.a.s.h. lol....
@tylermcnally8232
@tylermcnally8232 Жыл бұрын
​@@SciCraftnot if you use the word sonar they wouldn't.
@meghamishra8392
@meghamishra8392 11 ай бұрын
my radar is showing everything red but there is no object can you help me please
@SciCraft
@SciCraft 11 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me
@Chernobyl-sj6kf
@Chernobyl-sj6kf 6 ай бұрын
what is the processing software? what is it's name?
@SciCraft
@SciCraft 6 ай бұрын
Its name is Processing.
@RixtronixLAB
@RixtronixLAB Жыл бұрын
Nice video shot, thank you for sharing it, keep it up :)
@jahdela2701
@jahdela2701 4 ай бұрын
got it to work but its moving very slow, how do i fix that?
@SciCraft
@SciCraft 4 ай бұрын
It seems like there might be an issue with the voltage
@nandanguru9672
@nandanguru9672 Ай бұрын
100% working bro 10 times worked no problems
@SciCraft
@SciCraft Ай бұрын
Great 👍
@AdityaSSarode
@AdityaSSarode 15 күн бұрын
Ma'am, I want to attach it to a boat to detect ships or objects above and below the water. My question is, will it detect the water as well? If yes, how can I stop it from detecting the water?
@naitiksoni907
@naitiksoni907 2 ай бұрын
How to add a screen to display that radar
@SciCraft
@SciCraft 2 ай бұрын
Actually, I'm working on this radar with a separate display, and I will upload soon. Make sure to subscribe to the channel.
@naitiksoni907
@naitiksoni907 2 ай бұрын
Bro my servo motor is not rotating but vibrating and it's showing red in radar when there is no object also pls tell fast only few days for the tec fair
@naitiksoni907
@naitiksoni907 2 ай бұрын
Pls 🥺 help
@SciCraft
@SciCraft 2 ай бұрын
​@@naitiksoni907 Please contact me at my Gmail: scicraft90@gmail.com. We will solve your problem together
@DCDC-yi7ry
@DCDC-yi7ry 5 ай бұрын
i got this code in arduino ide: Failed uploading: uploading error: exit status 1
@SciCraft
@SciCraft 5 ай бұрын
To resolve the issue, I'll need pictures of the setup and the error. You can easily reach me at scicraft90@gmail.com or connect with me on Instagram using the handle instagram.com/scicraft9. we can work together to solve this problem.
@rikari4770
@rikari4770 19 күн бұрын
would there be a way to do this without using the servo motor? like i get it won't be able to rotate and have a wider span, but can it do the same thing without needing to rotate?
@SciCraft
@SciCraft 19 күн бұрын
Yeah, why not? Everything is possible, but it will need a different code. Just subscribe to my channel, and I might upload it there. If it's ready, I can personally give you the code
@rikari4770
@rikari4770 16 күн бұрын
​@@SciCraft ok! thank you! because this will be very useful for making a prototype of something im making for a school competition.
@guppyguy3136
@guppyguy3136 Жыл бұрын
greatest of all timeeeeeeeeeeee
@SciCraft
@SciCraft Жыл бұрын
Thanks bro❤️
@supreethhc2810
@supreethhc2810 2 ай бұрын
Bro my motor is not rotating what is the problem
@talkeetnatattoos
@talkeetnatattoos 3 ай бұрын
:) hi
@SciCraft
@SciCraft 3 ай бұрын
Hello 👋
@eyadelfallah
@eyadelfallah 10 ай бұрын
amazing only amazing thank you
@SciCraft
@SciCraft 10 ай бұрын
Thank you so much 😊
@brawlgaming-p4i
@brawlgaming-p4i Ай бұрын
100% Woorking ❤
@Mpackblock
@Mpackblock 3 күн бұрын
Processing code: import processing.serial.*; // imports library for serial communication import java.awt.event.KeyEvent; // imports library for reading the data from the serial port import java.io.IOException; Serial myPort; // defines Object Serial // defubes variables String angle=""; String distance=""; String data=""; String noObject; float pixsDistance; int iAngle, iDistance; int index1=0; int index2=0; PFont orcFont; void setup() { size (1200, 700); // ***CHANGE THIS TO YOUR SCREEN RESOLUTION*** smooth(); myPort = new Serial(this,"COM5", 9600); // starts the serial communication myPort.bufferUntil('.'); // reads the data from the serial port up to the character '.'. So actually it reads this: angle,distance. } void draw() { fill(98,245,31); // simulating motion blur and slow fade of the moving line noStroke(); fill(0,4); rect(0, 0, width, height-height*0.065); fill(98,245,31); // green color // calls the functions for drawing the radar drawRadar(); drawLine(); drawObject(); drawText(); } void serialEvent (Serial myPort) { // starts reading data from the Serial Port // reads the data from the Serial Port up to the character '.' and puts it into the String variable "data". data = myPort.readStringUntil('.'); data = data.substring(0,data.length()-1); index1 = data.indexOf(","); // find the character ',' and puts it into the variable "index1" angle= data.substring(0, index1); // read the data from position "0" to position of the variable index1 or thats the value of the angle the Arduino Board sent into the Serial Port distance= data.substring(index1+1, data.length()); // read the data from position "index1" to the end of the data pr thats the value of the distance // converts the String variables into Integer iAngle = int(angle); iDistance = int(distance); } void drawRadar() { pushMatrix(); translate(width/2,height-height*0.074); // moves the starting coordinats to new location noFill(); strokeWeight(2); stroke(98,245,31); // draws the arc lines arc(0,0,(width-width*0.0625),(width-width*0.0625),PI,TWO_PI); arc(0,0,(width-width*0.27),(width-width*0.27),PI,TWO_PI); arc(0,0,(width-width*0.479),(width-width*0.479),PI,TWO_PI); arc(0,0,(width-width*0.687),(width-width*0.687),PI,TWO_PI); // draws the angle lines line(-width/2,0,width/2,0); line(0,0,(-width/2)*cos(radians(30)),(-width/2)*sin(radians(30))); line(0,0,(-width/2)*cos(radians(60)),(-width/2)*sin(radians(60))); line(0,0,(-width/2)*cos(radians(90)),(-width/2)*sin(radians(90))); line(0,0,(-width/2)*cos(radians(120)),(-width/2)*sin(radians(120))); line(0,0,(-width/2)*cos(radians(150)),(-width/2)*sin(radians(150))); line((-width/2)*cos(radians(30)),0,width/2,0); popMatrix(); } void drawObject() { pushMatrix(); translate(width/2,height-height*0.074); // moves the starting coordinats to new location strokeWeight(9); stroke(255,10,10); // red color pixsDistance = iDistance*((height-height*0.1666)*0.025); // covers the distance from the sensor from cm to pixels // limiting the range to 40 cms if(iDistance40) { noObject = "Out of Range"; } else { noObject = "In Range"; } fill(0,0,0); noStroke(); rect(0, height-height*0.0648, width, height); fill(98,245,31); textSize(25); text("10cm",width-width*0.3854,height-height*0.0833); text("20cm",width-width*0.281,height-height*0.0833); text("30cm",width-width*0.177,height-height*0.0833); text("40cm",width-width*0.0729,height-height*0.0833); textSize(40); text("SciCraft ", width-width*0.875, height-height*0.0277); text("Angle: " + iAngle +" °", width-width*0.48, height-height*0.0277); text("Distance: ", width-width*0.26, height-height*0.0277); if(iDistance
@jeevedjena
@jeevedjena Жыл бұрын
😍😍
@kheasaa
@kheasaa 7 ай бұрын
🥺 i really need help how to add sensors gas? is it possible please helppp me
@SciCraft
@SciCraft 7 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me!
@rezaazkha8868
@rezaazkha8868 6 ай бұрын
bang kenapa pas di running kok not responding ya
@SciCraft
@SciCraft 6 ай бұрын
Okay, you can Gmail me:- scicraft90@gmail.com or here is my Instagram ID:- instagram.com/scicraft9/, contact me.
@JUSTINLEMUELCORREOS
@JUSTINLEMUELCORREOS 4 ай бұрын
why is mine moving really slow
@SciCraft
@SciCraft 4 ай бұрын
It's a voltage issue
@oskarnilsson0712
@oskarnilsson0712 Ай бұрын
@@SciCraft i don't know if you will see this but im wondering what you mean with a voltage issue? in what way? does the servo get to little voltage or what do you mean with voltage issue?
@SciCraft
@SciCraft Ай бұрын
Make sure your power supply is strong enough to handle the servo motor. The SG-90 servo usually needs about 500mA to 1A at 5V to work properly. If your power supply isn’t up to the task, it might slow down the servo. Also, check the jumper wires sometimes, a loose or poorly connected wire can cause issues. Make sure all connections are secure and properly seated.
@oskarnilsson0712
@oskarnilsson0712 Ай бұрын
@@SciCraft thanks, i will try to fix it👍
@blackstargaming3529
@blackstargaming3529 Жыл бұрын
Can you send me processing code in the comment
@SciCraft
@SciCraft Жыл бұрын
instagram.com/scicraft9/ Dm me
@tsclly2377
@tsclly2377 3 ай бұрын
Love the smoky bread-board and quite slow.. add an ASCI and more radar sensors (receivers)
@real643
@real643 5 ай бұрын
it is getting HOT WHAT I DO?????
@SciCraft
@SciCraft 5 ай бұрын
Is your Arduino board overheating?
@real643
@real643 5 ай бұрын
@@SciCraft yeeeees!
@real643
@real643 5 ай бұрын
@@SciCraft what i și wrong and
@real643
@real643 5 ай бұрын
@@SciCraft is
@real643
@real643 5 ай бұрын
And processing 4 i downloaded and my PC tells "app not found"
@devmistry4876
@devmistry4876 10 ай бұрын
How to add serial port
@SciCraft
@SciCraft 10 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me
@kurtperegrin
@kurtperegrin 7 ай бұрын
how far it can detect?
@SciCraft
@SciCraft 7 ай бұрын
Upto 40cm
@kurtperegrin
@kurtperegrin 7 ай бұрын
can't it move the reach away anymore? @@SciCraft
@Donxzy
@Donxzy Жыл бұрын
radar or sonar ?
@SciCraft
@SciCraft Жыл бұрын
It’s a sonar because the ultrasonic sensor uses sound waves to measure distance and locate the object and Radar uses radio waves to detect and locate objects but sorry to mention it as radar because most people think it is radar and search this project as how to make radar using Arduino so that's why
@STEM12-DFONTANILLASOPHIA
@STEM12-DFONTANILLASOPHIA 6 ай бұрын
is the jumper wires a male-male or female-female?
@SciCraft
@SciCraft 6 ай бұрын
I had used all types of jumpers.
@sewaryousef6614
@sewaryousef6614 8 ай бұрын
Is there a way to stop the servo sensor from spinning once it detects an object?
@SciCraft
@SciCraft 8 ай бұрын
Yes, it is possible instagram.com/scicraft9/ - This is my Instagram ID, DM me
@kaustubhbisht6277
@kaustubhbisht6277 11 ай бұрын
hello brother I followed your step but my radar is not rotating plz help
@SciCraft
@SciCraft 11 ай бұрын
instagram.com/scicraft9/ - This is my instagram ID , DM me
@AnkithAL-ei6tr
@AnkithAL-ei6tr 8 ай бұрын
Same bro
Forget About Raspberry Pi! Use Your Old Phone Instead.
9:09
Doctor Volt
Рет қаралды 274 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 5 МЛН
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 6 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 8 МЛН
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 539 М.
Arduino Radar / Sonar, using Arduino & Processing | Full Tutorial
9:27
Face Tracking Turret made with Arduino and Open CV2
2:36
Owen O'Brien
Рет қаралды 20 М.
Real Life Sentry Turret, that Protects your Room
6:36
GobbleMaster
Рет қаралды 973 М.
Workbench Essentials When Starting Arduino! (Beginner Guide)
8:14
The coolest robot I've ever built!
19:40
Thomas Burns
Рет қаралды 4,7 МЛН
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 5 МЛН