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)

The assignment for this week is to make a smart device with multiple inputs and actions. I will make roulette game with ultra sonic sensor activation. I was inspired by a mini game.

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 Used Arduino as the brain for the project.

We use Arduino IDE to write the code.

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?

For Input we use Ultrasonic sensor and on and off switch.

The ultrasonic sensor will turn on the circuit at certain distance and turn it off when the distance increase. 

For output we use LED and DC motor.

We use driver module to protect Arduino.

We put adapter because Arduino cannot power the DC motor efficiently.

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?

Code:

We Set the on function based on one of these conditions:

We set the off function based on one of these conditions:

WhatsApp Video 2023-04-08 at 20.57.13.mp4
WhatsApp Video 2023-04-08 at 21.22.40.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 that the DC motor was not working after connecting to the motor drive. I searched and found out that it has to be connected to adapter because the 5v from Arduino board is not enough to run the DC Motor and it needs 9v or 12v adapter and it needs a common ground with Arduino so I did it and it worked.

Final Project

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

Now I can after many tries I guess, make a simple code for my project.

WOW!

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

Coding !!!

Assignment Design Files