Week 7 - 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

Design and program a smart device that perform a certain function or solve a problem: program Arduino UNO to read signals from multiple input components (Sensor, Switch, or variable resistor) to control multiple action components (Motor, Buzzer, LED...etc) using Arduino C (Text Code).

inspired by



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?

Arduino uno and wire

LDR sensor

breadboard

jumpers wire

buzzer

switch on/off

fac

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?

code explain :

in void setup

pin 8 input (LDR sensor )

pin 9 output ( buzzer )

pin 11 input ( faswitch on/off )

pin10 output(fac)

in void loop

if digital read 8 high then analog 9 ,170 (if we put hand in

ldr sensor the buzzer will make sound

delay

if analog write 9,170

else analog write 9,0

if digital read pin 11 high then analog write pin 10 high ( when we switch on the (on/off switch ) Fan is on

delay

else analog write pin 10 low

LDR sensor

PIR instead of LDR sensor on tinker cad because there is no LDR on tinkercad

LDR sensor - buzzer - motor and switch on/off

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?

LDR sensor to ground and power and pin 9

buzzer - to ground + to pin 8


video_20221006_140429.mp4
video_20221009_221327_edit.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 ,

The instructors helped me understand that we start the code with void setup by defining ( input and output ) and then in void loop we put the code that we want to run repeatedly

the challenge this week is the ability to put more than input and output .

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?


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