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)

First, I'm a person who like to lock my room's door all the time and I'm being nervous when someone open the door and didn't lock it again.

So, I thought how to make a smart device which will serve my thinking.

I saw this photo in Project Hub here, And I said that this is the design I will make.

Tool Chain

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

Tinker cad to simulate the circuit before connecting the hardware

Breadboard to connect all components on it.

Arduino uno to take inputs and perform action.

arduino ide for uploading the code on the board.

IR Sensor to detect that door opened.

2*16 LCD Display "I2C" to display the state of the circuit

Resistor 330 ohm to limit the current.

LEDs to warn that door is opened

Buzzer to warn that door is opened

Jumbers to wire all 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?

First, I begin to implement the circuit in tinker cad and check its functionality.

So, I began to connect components like PIR sensor because there isn't IR sensor in tinker cad.
I connected its VCC , GND and Signal Pin to the Arduino, and make a simple code which check the functionality of the sensor as I need or not.

Secondly,

started to implement code using Blocks in tinker cad, And begin to start to simulate the circuit and check code functionality before connecting it in real.





Explanation of the code:

  1. IR Sensor as an input.

  2. Make 2 LEDs and 1 Buzzer and LCD display as output.

  3. IR Sensor: detect that something across it.

  4. Buzzer: To make sound when someone open the door.

  5. LEDs: one is green and it lighten when door is locked, the other one is red and it's lighten when door was opened.

  6. LCD: when the door is closed, It shows "Welcome" and "Be quite", when the door is opened it showed "Close The Door".

bandicam 2022-08-28 22-59-53-741.mp4

Test 1 Simulation

bandicam 2022-08-28 23-04-12-159.mp4

Final Simulation

Then, I begin to add extra component one by one until I got the last version of simulation which functionality as I want.

That's It :)

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 2022-08-28 at 10.49.34 PM.mp4

Test 1 Circuit

First, I start to check each component one by one and every step I added an extra component until I got the final outcome of the circuit.

At First, I connected IR Sensor with buzzer and checked them.

test2.mp4

Test 2 Circuit

Then, I connected the 2 LEDs and edit code to make the green LED lighten as no one open the door and the other led to lighten when some one open the door.

Test3.mp4

Test 3 Circuit

Third, I Connected LCD display into my circuit , And I Checked its functionality, It's worked as I wish.

Final.mp4

Final Outcome

Finally, I put the circuit near to my room's door and I established the IR Sensor and set its position to make it works efficiently.

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 problem I faced that I can't work with LCD display I2C in tinker cad this is the first time to me to deal with it in simulation and I tried to turn it on put It can't do this.

I Searched for how to deal with I2C Display in tinker cad and this tutorial make me solve the problem.


Final Project

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

This Week, I learnt how to deal with sensors and how to connect more than component each other to got a smart device that can serve me in my life or solve a problem I faced.

I think that in my final project I will need to connect more that 1 Sensor to each other. So, I think that this week's assignment helped me alot to learn this skill.

WOW!

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

Bye .. Bye

This Week, We had made a simple box which can make "Bye ...bye" to anyone can be near it less than 10 cm.

Assignment Design Files