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 Idea for This week's assignment is to build a smart circuit, mine will be the base of a barking sensor for cars. when it senses obstacle or another car approaching it lights the corresponding led as an alert.

I got Inspired when I heard what the sensor can do and the idea just clicked.


Tool Chain

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

We Used Tinker CAD to simulate The Circuit and its component.

It is easy to use and safer to test our project without risking the component.

We use Arduino Uno as The Brain

We Use Ultrasonic Sensor as The Distance Input.

We use Arduino IDE as Code software.

Components:

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?

The Inputs:

The Output

we used the code blocks with the following in mind:

At 15m to 10 cm turn the green LED on and the rest off.

At 10 to 5cm Turn the yellow LED on and the rest off.

Below 5cm Turn the Red LED on and the rest off.

So, the first "If" Is if anything in a distance more than 15 cm don't turn on any LED.

The rest of the conditions were trickier, we had to add to parameters, so we used the and block to determine a range for the activation of certain LED. so, in the second condition we made the green LED Turn only when the distance was 15cm or less but more than 10 cm and the other LEDs Remain off. the same goes for the third condition, turn on the Yellow LED and the rest off when the distance is 10cm or less but more than 5 cm.

The condition was set to turn the Red LED on and the rest off when the distance was 5cm and less.



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?

WhatsApp Video 2023-04-04 at 19.46.55.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 was to make the code read value bigger than a number but smaller than another. 

I Asked the instructor and gave me a hint.  So I used of the "and" function and made it work.

The "and" block is a nesting block works to add 2 conditions together. 

Final Project

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

Using Code Blocks is a friendly way to code. It should make it easier and more manageable.

Assignment Design Files