Week 8 - Journal

Ideation

Tell us about your assignment's idea for this week. Why do you care about this idea? What inspired you? (Please include images or links to sources of inspiration)

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.

Inspiration.

Tool Chain

Which software/machines/materials did you use in the assignment? Why?

arduino uno

We used The open-source Arduino Software (IDE) to write code and upload it to the board.

processing 3

We used processing 3 to simulate the radar.

fritzing

We used fritzing to design and simulate our device circuit.

Design/Preparation Process

Explain the design and/or preparation process of your assignment. How did you use the tool or software to design and/or prepare your assignment before fabrication/implementation?

Elements of Circuits

arduino uno

We used the Arduino UNO board to control the input and output.

Voltage Sources

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.

Output Devices

Servo Motor

We used Servo Motor Micro to move the radar.

Input Devices

ultrasonic sensor

We used ultrasonic sensor to detect motion and measure distance .

bluetooth module hc-05

We used bluetooth module hc-05 to connect with processing program.

Other components

JUMPER WIRES (MM)

We used MM wires to connect the circuit.

Wiring in TinkerCad

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

Development/Implementation Process

Explain the development/implementation process of your assignment. How did you use the machine/tool to manufacture or implement the design of your assignment?


A screenshot of Arduino C code

Screenshot 1

Explain the code

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.

Final video

Overcoming Challenges

What kinds of challenges or problems did you face while doing the assignment, tutorials, or exercises? How did you solve them? Did you ask for help from an instructor or peer? Please provide a link to the tutorial or article that you used to solve your problem (if any)

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

Final Project

How can you use the skills and knowledge that you've acquired this week in your final project?

We can use bluetooth module to connect the project with phone.

bluetooth module hc-05

WOW!

What is the coolest thing that you've learned this week? What is something that you will never forget from this week?


Assignment Design Files