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)

the assignment is: Build and Program a smart circuit using an Arduino UNO which reads a signal from an input component (Sensor, Switch, or variable resistor) to control an action component (Motor, Buzzer, LED...etc) using Code Blocks

I care about this idea because I like the Ultrasonic sensor and the idea of Movement detection 

Ultrasonic Sensor with LED and Buzzer Using Arduino



https://www.youtube.com/watch?v=pjKdQJuzRF4



Tool Chain

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

Ultrasonic distance sensor

Arduino Uno

Breadboard

Buzzer

jumper wires

LED

Resistor

Tinkercad website

Arduino IDE

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 started creating the circuit by placing & connect Arduino & breadboard together. 

Then I added an Ultrasonic sensor to the breadboard & linked it to the Arduino.

 After that, I added one led with separate resistors & connected it to the Arduino.  

After that, I added Buzzer & connect its anode & cathode pins to the Arduino. 


I started by creating blocks to read the input of the ultrasonic sensor and I added an if condition to make the led read the output from the ultrasonic sensor .

and I added another if condition to control the buzzer and make it read the output of the ultrasonic sensor. 

which is mean when the ultrasonic sensor reads something in the range of 100mm the led will turn on. 

and when it read something in the range of 50mm the buzzer will turn on.

Circuit design Week6 Assignment _ Tinkercad.mp4

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 started to build the circuit the same as the tinkercad Circuit and test it 

then I took a copy of the written code from tinkercad and put it in Arduino IDE after I connected the Arduino to the laptop and load it .

Circuit design Week6 Assignment.mp4

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)

it takes a lot of time for me to adjust the write range for the ultrasonic sensor in reality and after many trials, I adjusted it by changing it to 20 cm to make the led lights, and 10 cm to active the Buzzer

Final Project

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

By this week I KNEW many different new components and I can almost read the code and understand it 


WOW!

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





The waving hand exercise 



Automata technicians in the additional session






The lather medal stretching  activity 

Assignment Design Files