Week#7- Journal
Ideation
This week's assignment idea was to build and Program a smart circuit using an Arduino UNO which reads a signal from multiple input component (Sensor, Switch, or variable resistor) to control multiple action component (Motor, Buzzer, LED...etc) using Code Blocks
inspiratiom:
At first, I made a decision that I should use the ultrasonic sensor. I was curious about getting to know it and how to operate it.
So I searched in Arduino projects and on Google for Arduino circuits in which the Ultrasonic sensor is inserted.
I have found many alternatives and multiple ways in which the Ultra Sonic Sensor connects with many community members, so I tried to choose the easiest to program and what is available to me in the kit.
Tool Chain
Which software/machines/materials did you use in the assignment? Why?
software
materials
ultrasonic sensor
Breadboard
LDES
Buzzer
ARDUINO UNO BOARD
Male to Female wire
male to male jumper wires
Resestor 220 ohm
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?
I unified the components and created the circle on the TinkerCAD website
To be able to test its operation before implementing it with real components, in order to avoid burning anything and avoiding errors.
Then I also wrote the code on Tinkercad and copied it and reviewed it on the Arduino because I can more easily discover and correct errors.
After I finished writing the code, I made a verfi to make sure that no other errors appeared
Thus, the code is ready to be uploaded to the Arduino
The code is that I first define the sound tones that will be issued from the buzzer
This is done through ready-made codes for these tones from the Arduino website
I chose 6 codes for different sounds so that each LED has a distinctive sound,
Then I moved to define the number of the connector on it each component.
After that, in the Voice Setup, I determined which of the components inputs and which ones were outputs.
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?
I prepared and assembled the components, then connected them through the Breadboard and connected them to the Arduino And a computer to upload the code to them..
-After building the circuit completely, I connected the Arduino to the computer and uploaded the code to test the operation of the circuit correctly before making the unlocure.
Before I started making an enclosure using the cardboard, I first removed the components, unplugged the connection directly on the breadboard, and extended the components’ wires using male to female wires so that I could install them on the cardboard easily and be flexible in moving with me and installing them
-Then I worked on the enclosure part using cardboard.
.
Community of Learning
Did you ask for feedback? What are the ideas that others have contributed or suggested? What was someone else’s idea that you built upon? How did you help your peers? How did your peers help you?
The first challenge I faced was when I created the circuit and uploaded the code
And the circuit didn't work
I don't know where the problem is
I thought the problem was in the breadboard or in the components, and I asked Instructor Ahmed Ibrahim to give me another breadboard when I came to the lab on Saturday
Indeed, I tried the new breadboard and the circuit did not work for the second time
When I asked Instructor Ahmed again on Slack, he suggested to me that the two halves of the breadboard might not be connected to each other.
This was actually one of the reasons I didn't notice it.
Overcoming Challenges
When you got stuck, what/who did you turn to? At what point did you have to pause to research or learn more before moving on? What are some mistakes, pitfalls, or challenges that others can avoid if they were doing this assignment?
I had a problem connecting the trigger and the echo to the sensor.
I also had a problem at the beginning in adjusting the distances, based on which the specified LED is turned on and the tone specified in the bazar is working
But I searched the projects implemented using the ultrasonic sensor and read its code to know the limits of the distances it senses.
Final Project
WOW!
What is the coolest thing that you've learned this week? What is something that you will never forget from this week?
Weekly Digest [OPTIONAL]
Tell us about any other cool things that you've made this week: in the Hands-on activity, tutorial examples, exercises, or any other cool mini-project that you tried out aside from the assignment.
Title of Media
Assignment Design Files
Laser cutter model
Laser work program