The Inspiration
This week we will Communicate wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on the PC.
so I decided to make a radar project.
We used The open-source Arduino Software (IDE) to write code and upload it to the board.
We used processing 3 to simulate the radar.
We used fritzing to design and simulate our device circuit.
We used the Arduino UNO board to control the input and output.
USB 2.0 Printer Cable - A-Male to B-Male Cord
We used a USB 2.0 Printer Cable - A-Male to B-Male Cord as a voltage source.
We used Servo Motor Micro to move the radar.
We used ultrasonic sensor to detect motion and measure distance .
We used bluetooth module hc-05 to connect with processing program.
We used MM wires to connect the circuit.
In this project we have two code first for Arduino sketch to move the servo and take the data from ultrasonic sensor, and second for processing sketch to make interface simulate the radar.
screenshot of wiring digram
Screenshot 1
Radar was developed as a method of detecting enemy aircraft in World War 2. Along with the developments in technology, these days it is used in a wide range of sectors. Since the last few decades, there have been significant advancements in the use of radar technology.
In this project, we are going to design an Arduino radar project using Ultrasonic Sensor for detection. An Arduino microcontroller makes electronics more discipline.
This Arduino radar project aims to achieve a radar system prototype based on an Arduino board that detects stationary and moving objects. The radar system has different performance specifications, and it is also available in a variety of sizes.
We need two software to complete this Arduino radar project. One is Arduino IDE, and the other is Processing IDE.
Processing application is visual arts-based software for learning to code. After downloading, extract the Zip file, and you will get the processing application (.exe file).
In this project, we are using two codes: Arduino UNO and the other for Processing.
After uploading the code, the servo motors start running from 0 to 180 degrees and again back to 0 degrees. An ultrasonic sensor also rotates along with the servo as it is mounted on the motor.
Now, open the processing application and paste the above code. In this code, update the COM port number where your Arduino board is connected.
Now, run this processing code. If your code is right then, you will get a new window. This is the graphical representation of data from the Ultrasonic Sensor is represented in a radar type display.
If an ultrasonic sensor detects any object within its range, you can see the same on the graphical representation. The below gif shows the output of the Arduino radar project.
When I want to connect Bluetooth module with Arduino I didn't know how to connecting it, so I search in google how to connect Bluetooth module and find this link.
Bluetooth protocol; an affordable communication method in PAN network, with a maximum data rate of 1Mb/S, working in a nominal range of 100 meters using 2.4 G frequency is a common way of wireless communicating.
HC05 module is a Bluetooth module using serial communication, mostly used in electronics projects.
HC05 module has an internal 3.3v regulator and that is why you can connect it to 5v voltage. But we strongly recommend 3.3V voltage, since the logic of HC05 serial communication pins is 3.3V. Supplying 5V to the module can cause damage to the module.
In order to prevent the module from damages and make it work properly, you should use a resistance division circuit (5v to 3.3v ) between arduino TX pin and module RX pin.
When master and slave are connected, blue and red LEDs on the board blink every 2seconds. If they aren’t connected, only blue one blinks every 2 seconds.
Bluetooth module HC-05 wiring
We can use bluetooth module to connect the project with phone.