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)

I love games that contain simple electronics and at the same time bring nice fun and always remind me of childhood games so when I found Simon Say game I was very excited to know how to make these special games and the way to control it. Able to save the player's movements through a few buttons and leds I made Simon Say game and controlled the game by code,The Simon game is the exciting electronic game of lights and sounds in which players must repeat random sequences of lights by pressing the colored pads in the correct order.

Tool Chain

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

software

tinkercad software


This program is used to simulate any electrical circuit, whether using Arduino or through electricity directly, Once I search for the electronic components which I want and connect the circuit,and I can know if it will work or not through this program before actually making the circuit

Arduino IDE software

Arduino is a coding software use c++ language for code and its communication language between Arduino board and electronic components by coding language and i connect board with software by USB cable

materials

1- paper for make the body of scorpion

2- scissors for cutting cardboard

3- hot glue to attach parts together

5- ruler and pencil to drew design

6- string for connecting tail with axis of servo

7- electronic components for making the model with Arduino board

jumper wires for connecting components together

320 ohm resisror to reduce current flow, from 5v of arduino to 3v which led need

bread board for easy connection

4 colored leds for lighting and acting as eyes scorpion


4 push buttons for controlling leds

buzzer for make voice to get more simulation for game

Arduino uno board for controlling the 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?

simon say

I designed this model to fit the components and give a shape to the game and I designed it out of paper and then I installed the circuit (4 colored leds ,4 buttons and buzzer) inside the model and uploaded the code to the Arduino and then started playing

my inputs are 4 push buttons ,outputs 4 colored leds,buzzer


the process

1- make the circuit in tinkercad (arduino uno,breadboard,4 colored leds,4 push buttons,buzzer,4 resistors)

2-write code by arduino ide software

( ino file code ) drive.google.com/file/d/13HYAYV6beYv2fnNXkFRro1EmHId_QKkl/view?usp=sharing

code description

3-make the circuit real

5- make the model by paper , scissors ,hot glue and string for connect servo with tail and but the circuit in body

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?

1- make an experiment to run circuit

-connected leds with 320 ohm resister to reduce current flow, from 5v of arduino to 3v which led need

  • i connected (-) pins of 4 leds in negative pins in breadboard and connected common (-) of breadboard with gnd of arduino

  • connected (+) pins of leds with resistors

  • another pins of resistors with pins of push buttons

  • another pins of push buttons with digital pins of arduino

  • finnaly connected (-) pin of buzzer in (-) pins in breadboard and (+) pin of buzzer with pwm(The Fading example demonstrates the use of analog output (PWM) to fade a buzzer ) pin in arduino

2-made body of simon say game with paper,scissors,hot glue


3- i powered this circuit by Arduino uno

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)

1- in simon game i have problem with library of code because of multi function in code so i search more and more to get library which worked with my circuit with modifies

2-i confused in circuit because i had 2 option *first, put leds in pins and push buttons in another pins in arduino *option 2 which i chose make common pins in breadboard between leds and push buttons and put leds and pussh buttons in 1 group fo pins in arduin


3- i had a great problem with keypad code i cant upload a right code so I am so grateful to all my maker friends who stood by me (yasin elfiky ,nada shagr ,my kindly instructors israa and menna ) until the last one who helped me and made the code work doaa elbess by this way after download keypad library open it by the way of picture below

keypad library

Final Project simon say

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

  1. i have learned how can i write code with arduino ide software

  2. i have learned how to use tinkercad software to make circuits and simulation them

  3. i learned how can i Combine different components and control it with code

  4. i learned about different types of sensors

  5. how to use breadboard to get connection easier

  6. use Arduino to control circuit of components

  7. and how can i use electrical curcuit with arduino ,input and outputs to build a nice project

  8. new skill how i can get code library

WOW!

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

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.

with youssef ali we made simple smart home system with 2 modes (manual,automatic)

Assignment Design Files