Week 6 - 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)
Ultra sonic sensor
Led
As my project has the Led and ultra sonic sensor components
so i start to think to Build and Program a smart circuit using an Arduino UNO which reads a signal from an input component ( ultra sonic sensor) to control an action component ( LED) using Code Blocks to have a trial with those two components through week 6
Tool Chain
Which software/machines/materials did you use in the assignment? Why?
software : Tinker cad to simulate the circuit online
Arduino software to past the blocks code in it
materials: Arduino uno , LED, buzzer, wires, resistors,
breadboard, ultrasonic sensor to create the circuit in real.
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?
here the trial of the led and the arduino
I started by watching the videos of the exercises for week 6, and practice it,
here some of what i did, I started by doing the exercises of the code on tinker cad with the blocks code way and with the real component through the week
the code of the led
the block code of the buzzer
the block code of the servo
the block code of the motor
i started by checking the reading of the ultrasonic sensor before adding any other component on the serial monitor, by adding the block of (print to serial monitor) then adding the block (read from ultrasonic sensor) to read it
then adding if condition
after i added the other blocks for the connection of the led component and the ultrasonic sensor to read the cm measurements, so i added the cm block code from the variables to read the block of (read ultrasonic sensor)
simulating the circuit on tinker cad
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?
After simulating the block code on the tinker code, i started to connect the component on real with the same pins i used on tinker cad
Then copy the text code from tinker cad and paste it on Arduino software
Title of Media
after copying the code on Arduino software, i started with reading the ultrasonic sensor from the serial monitor, then try to come near and far from the leds to try the function if it applicable for them or not
but it doesn't work as it appear on the video
at first i couldn't know where is the problem, till i added those two sentence on the code _ digital Write(5, LOW);
digital Write(3, LOW);led light
to turn off the light of the other led, as both of them turning on always
after i added those two sentences and change the distance
the function of the ultrasonic and the led worked
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?
menna elbadry suggested to me to add more led but i failed to add if condition inside each other
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 faced many challenges while adding the code of the ultra sonic sensor on the tinker cad blocks but menna elbadry my instructur helped me a lot to over come this challenge in the code of week 6 also nourhan magdy my peeer as i was facing a trouble in understanding the feature of if condition and else, i always used both of them in wrong way till both of them explained it to me
Final Project
How can you use the skills and knowledge that you've acquired this week in your final project?
Title of Media
WOW!
What is the coolest thing that you've learned this week? What is something that you will never forget from this week?
that i tried some different tones for buzzer, as i hate the sound of the buzzer so i liked to try some different sound for it to modify it is annoying sound through knowing this feature in hands on activity
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