One of the most important inventions are the radar systems that can be used in diverse fields such as traffic coordination, building safety, and alarming in case of accidents.
The inspiration came from the using of the radar system in my final project to give an alarm in case of exitance of an accident by changing the sensor type according to my purpose of the project.
Software
1.TinkerCad:
I used TinkerCad software to build the circuit in the first to check it and write the arduino code blocks.
2. Arduino software:
I used TinkerCad software to build the circuit in the first to check it and write the arduino code blocks.
Electrical Components
1.Arduino uno board:
The board used for the connections of breadboard containing wires and the remaining wires of the components.
3. Ultrasonic sensor:
The sensor is rotating in order to detect the presence of an object about a specific distance.
5. Arduino Cable:
The cable used to connect the Arduino uno board with PC to allow the board programming.
2. Breadboard:
This board used to connect the components with the Arduino board in order to reduce the number of used wires.
4. Servo motor:
Servo motor used to be the base of the ultrasonic detector in order to rotate the detector in 180 degrees.
6. Jumper wires:
Those wires used for connections between component, breadboard, and Arduino board.
At the first, I open Tinkercad to start in circuit building.
I brought Arduino board, ultrasonic detector, servo motor, and jumper wires.
Then I connected the Tigger of the detector to pin 2.
I connected the echo to the pin 9 of Arduino.
I connected the positive of the breadboard with 5V of Arduino board.
I connected to the negative of breadboard to the GND of Arduino.
I connect the VCC of the ultrasonic detector to the positive.
I connect the GND of the detector to the negative of the breadboard.
For the servo motor, I connected the orange wire to pin 12 of the Arduino board.
I connected the read wire to the positive of the breadboard.
I connected the brown wire to the negative of the breadboard.
After I finish the wiring, I started in the coding writing by using the blocks. First, I made the code read the pin of the Tigger and Echo and put the distance of detection 15 cm.
Then I made the detector rotates at pin 12 to 10 degrees and wait 1 sec to rotate to 170 degrees. After that it will wait 1 sec.
Else, the detector will stop.
I rebuilt the circuit as the same way I used in Tinkercad, I fix the servo motor on piece of cardboard, then I fix the ultrasonic detector on the top to move the detector with the movement of the motor.
Then I uploaded the code on the Arduino by using the IDE software and finally I tried the circuit as shown in the veido.
Circuit testing
The most challenge I faced in this week that the detector can't be stable on the motor with the one face sellotape, which made me unable to test the circuit well.
I overcame on this problem by using the double tape which helped me in the process of fixing the detector over the servo motor.
In this week I practiced more on electrical circuits, how making them electronic circuits, and how deals with different connections of different components. The integration of many components in the same circuit and how can make a code to run those components by using Arduino board and IDE software.
EOWeek Session
This week was really grateful, we made two model of hands by using circuits and TinkerCad;
The first one is moving manually.
The other one is moving digitally.
I worked with Toka and Kristin. It was an enjoyable time to work with them together.