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)

Remote Control of a Smart Home

My idea of this week's assignment is a remote control of a smart home. You can easily control the lights and the ventilation of your home via an app on your mobile phone.

Tool Chain

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

HC-5 Bluetooth module

to receives the data and sends it to the Arduino through the TX pin of the Bluetooth module

Male-Female Jumpers

to connect components together

Male-to-male Jumpers

to connect components together

Mini Breadboard

to connect all the jumper wires and other components

LED

To lighten the house

220 ohm resistor

to limit current flow for the Red LED

Arduino Bluetooth Control

to send serial data to the Arduino Bluetooth module when a button is pressed on the app

Arduino IDE

To code the circuit and upload it to Arduino

Tinkercad

To simulate and code the circuit before implementation

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?

Tinkercad Simulation

The Main components of my circuit are :

  • HC-5 Bluetooth Module

  • LED

  • 220 ohm resistor

  • Arduino Uno R3

Procedures:

  1. Connect the Red LED Cathode with the 220 ohm Resistor on the same row of the Breadboard and the anode with pin 3

  2. Connect the HC-5 Bluetooth Module with the Arduino as following:

    • TX with RX of Arduino

    • RX with TX of Arduino

    • GND with GND

    • VCC with 5V

  3. Connect one of the Fan's wire's to the GND of the Arduino and the other with Pin 13.

  4. Use Arduino IDE to program the Bluetooth module. I identified char variables for the incoming data. In the void setup, identify the Pins of the LED and the Fan as outputs. In the void loop, add While loop for reading the incoming data. Then, if condition to control the LED and the Fan.

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?

  • Upload the code to the Arduino , but first disconnect the TR & RX of the Bluetooth Module. Connect them again after uploading the code.

  • Open the Arduino Bluetooth Controller on your phone and connect it with the Bluetooth module.

  • Configure the buttons (Button A = 1 - Button B = 2).

  • Click on Button A to turn on the LED & Fan

  • Click on Button B to turn off the LED & Fan

VID_20220925_161155.mp4

Title of Media

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 didn't find Bluetooth Module or a Fan on Tinkercad for the simulation. I replaced them with a WIFI module and a DC Motor.

Final Project

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

Maybe I would add DC motor to move my final project and control it with the Bluetooth module in another version of it.

WOW!

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

Never to get connect to a Bluetooth Module while your peer are connecting their Bluetooth Module next to you as all of the Bluetooth Modules appeared with the same names on the phones 😂😂

Assignment Design Files