Week VI - 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)
useless box became a source of inspiration
the idea of this project is very close to an application called the useless box and the function of this box is when the user press the switch on a handle comes out from the box to repress the switch again on off position and get into the box again and you can do this process, again and again, it,s just a funny application and has no real benefit I applied the same idea but with a different mechanism I used light sensor and servo motor instead to do the same action
Tool Chain
Which software/machines/materials did you use in the assignment? Why?
Buzzer
LDR light sensor (LM 393)
jumper wires ( male/male ) (male female)
bread board
card board
wax glue gun
servo motor
Arduino Uno board
USB cable
tinker cad
Arduino IDE sofware
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?
Title of Media
design of the circuit on tinkercad
1- connect the buzzer +ve with (pin 13) and -ve with (GNG)
2- use PIR sensor on tinkercad instead of LDR sensor because it's not available on tinkercad and it has the same pinout as LDR
3- connect 5v pin and GND in two parallel bridges on the breadboard
4- connect LDR as follow
+ve pin ( middle pin ) with +ve bridge in the breadboard
-ve pin ( right pin) with GND bridge on breadboard
signal pin ( the left pin ) with Pin 7 in the Arduino
5- connect Servo motor as follow
+ve pin with +ve bridge in breadboard
GND pin in the motor with GND bridge in the breadboard
signal pin with pin 8 in Arduino
coding using blocks
construct blocks assuming that we are connecting the LDR sensor starting an If condition with the condition of the read of pin 7 of the sensor is 1 it means it senses light so start action1, else start action 2
action 1: is to play the speaker on pin 13 and rotate the servo on pin 8 to 180 degrees then to zero degrees
action 2: is to rotate the servo to zero degrees and turn of speaker
simulation of circuit
moving inside the range of PIR gives on pin 7 signal (1) which is equivalent to the signal of LDR when it senses light in its range and this signal occures the motion of the servo motor and also the peep of the buzzer
extracting the code and send it to the Arduino board
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?
prepare pieces of cardboard with suitable dimensions in the shape of cuboid
prepare all needed parts to build the circuit as shown before
connecting circuit and test all connections and functions
assembling all faces of the cuboid and fixing the sensor and the servo motor using double face tape and using thread to connect between the servo motor and the door of the box
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-the inner space of the box was too small which makes connecting wires
2- I had a problem connecting the servo motor with the door and I solved it using a toothpick and thread and gluing it using a wax gun
Title of Media
Final Project
How can you use the skills and knowledge that you've acquired this week in your final project?
Title of Media
my useless box its main function is when the door is opened the light sensor will sense the presence of the light so it will order the buzzer to peep and the servo motor to rotate 180 degrees to close the door and return to zero degrees and if the door is closed nothing will happen
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