Diy |Radardiy |Radar Detector |Ardudiy
by techboy15005 in Circuits > Arduino
500 Views, 2 Favorites, 0 Comments
Diy |Radardiy |Radar Detector |Ardudiy
New science and technology experiments.
Supplies
https://www.youtube.com/ajtechnology
Components Required
ARDUINO uno
Ultrasonic sensor
Servo motor
Breadboard
Jumper wire
Processing software
ARDUINO ide
Ultrasonic sensor
Servo motor
Breadboard
Jumper wire
Processing software
ARDUINO ide
Working
Initially, upload the code to Arduino after making the connections. You can observe the servo sweeping from 00 to 1800 and again back to 00. Since the Ultrasonic Sensor is mounted over the Servo, it will also participate in the sweeping action.
Now, open the processing application and paste the above given sketch. In the Processing Sketch, make necessary changes in the COM Port selection and replace it with the COM Port number to which your Arduino is connected to.
If you note the Processing Sketch, I have used the output display size as 1280×720 (assuming almost all computers now-a-days have a minimum resolution of 1366×768) and made calculation with respect to this resolution.
In the future, I will upload a new Processing sketch where you can enter the desired resolution (like 1920×1080) and all the calculations will be automatically adjusted to this resolution.
Now, run the sketch in the Processing and if everything goes well, a new Processing window opens up like the one shown in this video.
Now, open the processing application and paste the above given sketch. In the Processing Sketch, make necessary changes in the COM Port selection and replace it with the COM Port number to which your Arduino is connected to.
If you note the Processing Sketch, I have used the output display size as 1280×720 (assuming almost all computers now-a-days have a minimum resolution of 1366×768) and made calculation with respect to this resolution.
In the future, I will upload a new Processing sketch where you can enter the desired resolution (like 1920×1080) and all the calculations will be automatically adjusted to this resolution.
Now, run the sketch in the Processing and if everything goes well, a new Processing window opens up like the one shown in this video.
Reference
If there is any doubts in program or circuit connection refer to this link I published on YouTube.
Copy this link and paste on your browser.
https://www.youtube.com/watch?v=LnaBBC8jHD4&t=117s
Copy this link and paste on your browser.
https://www.youtube.com/watch?v=LnaBBC8jHD4&t=117s