Week #8- 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 am interested in smart desk lamp and i want to make a smart desk lamp for my own work as it is very expensive.



his week I choose to try a relay module and a piezo as I faced problems with relay the weeks before .

Tool Chain

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

Arduino IDE

It is an open-source Arduino Software (IDE), used it to makes it easy to write code and upload it to the board.


TinkerCad

for the wiring diagram


mobile application (Arduino BlueControl)

to send data for Arduino using Bluetooth

I used :

-Arduino : to control components

-Relay , to control with bulb

mobile application

- piezo

- light bulb

-male-female wires :to connect components with Arduino.

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?

start by defining pins of components and a variable to save data on it called (incomingdata)

begin the serial monitor and define outputs components in the void setup

putting if condition if we press 1 on app Arduino sends signal to piezo when pressing 0 Arduino stops sending signal to piezo

if we press 2 on app Arduino sends signal to relay (bulb) when pressing 3 Arduino stops sending signal to relay (bulb)

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-09-20 at 12.22.17 AM.mp4
WhatsApp Video 2022-09-20 at 12.22.41 AM.mp4

connect to Arduino

after collect my components , I start to connect components to Arduino
--
Bulb to relay as shown in picture

--Piezo attached one leg with one digital pin and the other with the ground

connect Arduino to laptop using USB cable and upload code and control with GUI app


GUI app

step one connect to Bluetooth

step two buttons settings

step three control

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)

I face a problem with rx and tx inlet and osama advice to restart the Arduino and replace rx and tx pins after searching it works .

a code helps me


Final Project

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

This week I have a courage to make my final project
this week skill is to contribute all the knowledge i have in the weeks before to make the 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