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)


Smart barking system

I searched about projects on google and I find a project using the humidity sensor, but I had a problem with it.

I heard some of my colleagues talking about it, and I was Curious about how can I make it, so I start to search about it and I find it simple and I can make it with my kit, so I decided to make it.

I used the Ultrasonic sensor, LED's, buzzer and switch to on\ off the project.

Tool Chain

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

Tinker CAD

It is a very helpful software, helps to do mistakes without real damage.

Slide switch to open and close the project.

Ultra sonic to give the leds input ,so it will light at specific distance.

buzzer, make different sounds at different distances.

Jumpers to connect the components

leds take the output from ultrasonic

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?

wirrring week 7.mp4

I started wiring

using Arduino, breadboard, 3 LEDs, buzzer, and slide switch

The connections

-putting

the buzzer at the breadboard connect its Gun to ground of Arduino at the

breadboard, and the power to 3 pin on Arduino to take the reading of Ultrasonic.

-I connected the three LEDs to the Gun of

Arduino and the power to 9,10,11 pins at Arduino respectively.

- Ultrasonic connected to Gun and 5 V power of

Arduino, Trigger and echo to 5,6 pins on Arduino.

-Side switch connected it to power and ground

of Arduino at the breadboard and the I/O to 2 pin.


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?


week77.mp4

I started to write the code

Before any thing I declared the variable.

Then I begin the Serial and declare

every pin if it input or out put.

Finally I started to write the code at void

loop which include the main code (which will be repeated )

I

start with If condition which will include the most of code, will start when

the side switch will be high, and inside this if condition there is

another three if conditions, condition for every LED

First

condition for Yellow LED which will light when the distance between 20 and 15,

and the buzzer will make specific sound.

Second

condition for Green LED which will light when the distance between 15 and 10,

and the buzzer will make another sound which mean the car get closer.

third

condition for Red LED which will light when the distance between 10 and 0, and

the buzzer will make sound which mean there is something bad will gonna happen.


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?

I was confused about the second input, so I asked Eyad and Eman and both of them recommended me to use the switch button.

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?

In the beginning, I use the big difference between distances and used large distances like 50, Ultrasonic can not read it and as a result, can not take any action to light the labs or make a sound from the buzzer.


Final Project

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

Using more than one input and output, give me experience to make the final project.

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