Week6 # - 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)

this week assignment is to 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


My idea

The idea is inspired by the alarm device that protects houses from thefts, when approaching certain doors, the sensor receives the signals, so the alarm makes sounds.

https://www.youtube.com/watch?time_continue=121&v=HAEpYyP_A84&feature=emb_logo


This week we were assigned to Design, simulate, and build a simple electronic device that performs two actions.

Tool Chain

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

Design Software (an electric circuits & simulation) : TinkerCAD



Components:


Arduino uno and wire

LED

breadboard

jumpers wire

resistor 220 om


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?

simply the circut is works like alarm devies , so when something get close to IR sensor the buzzer is makeing a noise


blocks and text code

code blocks using tinkercad

blocks and text code

download the code to Arduino

code explain :

void loop set up

pin 2 input

pin 13 output

in void loop

if digital read pin 2 high then set pin 13 high then delay 1000

if digital read pin 2 low then set pin 13 low - delay 1000

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?

simulation the circuit on tinker cad put the buzzer and the sensor together on bread board then write the blocks code ( if else conditions )

put the component all together and test with the power

video_20221006_154248.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)

The challenge this week is to write and understand the Coding , and Amani helped me understand (if condition ) and else and digital read blocks .

Final Project

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

i understand how the DC motor circuits work

WOW!

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

https://drive.google.com/file/d/1l6bN7zITuAPYvFmmUGjjqrK_Sn5ihpF3/view?usp=sharing

Title of Media

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