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)

Smart Fan and change the Color of the Light

The Idea is Based on Turning ON and OFF a Fan using the Mobile and Controlling the Change of the Color of the Lighting
The number of each key is shown during operation

This Makes it Easier for the User to Control the Devices from his Place

Tool Chain

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

Website tinkercad
Arduino IDE Program
Android Phone GUI
USB Cable Arduino
Arduino Uno
Bluetooth HC-05 Sensor
Jumper Wires
Breadboard
7Segment
LED
RGB
10
Resistor 220 ohm
Smart
mobile phone
Fan 5 vollt

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?

  • I opened the tinkercad website

I choose from a list Component ( Slideswitch - Bluetooth HC-05 Sensor - Arduino uno - - 7Segment - DC Motor - LED RGB-10 Resistor 220 Ω )

  • Connect the ends of the components using wiring

connection Arduino:

  • TX pin HC-05 Sensor on pin 0.

  • RX pin HC-05 Sensor on pin 1.

  • A pin 7Segment on pin 2.

  • B pin 7Segment on pin 3.

  • C pin 7Segment on pin 4.

  • D pin 7Segment on pin 5.

  • E pin 7Segment on pin 6.

  • F pin 7Segment on pin 7.

  • G pin 7Segment on pin 8.

  • Green pin RGB LED on pin 9.

  • Blue pin RGB LED on pin 10.

  • Red pin RGB LED on pin 11.

  • Vin Relay Module on pin 12.


inputs is (Android Phone GUI - Bluetooth HC-05 Sensor )
outputs is ( 7 Segment- RGB - Fan)


the Code

If PushButton Number 1 is Pressed through the Mobile
The LED Lights up in Red and Shows the Number 1 on 7Segmant

else If Push Button Number 2 is Pressed through the Mobile
The LED lights up in green and the number 2 Appears on 7Segmant

else If Push Button Number 3 is Pressed through the Mobile
The LED Lights up in Blue and the Number 3 Appears on 7Segmant

else If Push Button Number 4 is Pressed through the Mobile

The LED goes out and the Number 4 Appears on 7Segmant

else If Push Button Number 5 is Pressed through the Mobile
The Relay Works, and therefore the Fan Works, and the Number 5 Appears on 7Segmant

else If Push Button Number 6 is Pressed through the Mobile
The Relay is Disconnected, so the Fan Stops, and the Number 6 Appears on 7 Segmant

for One Second


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?

I connected the wires as in the circuit diagram shown earlier


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 Could not Simulate the Circuit Because the Bluetooth HC-05 Sensor is not in the Tinkercad Menu

The Circuit was Connected Directly and No Errors Appeared

Final Project

WhatsApp Video 2022-09-13 at 4.15.55 PM.mp4

Assignment Design Files