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 decided to choose two action components to create this circuit, I chose DC fan & buzzer to go with.

Tool Chain

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

Software used:

  1. Arduino IDE to upload the code to the Arduino

  2. MIT app inventor to create mobile app interface.


Components:

  1. Arduino Uno

  2. Bluetooth module

  3. 5v relay

  4. DC fan

  5. Buzzer

  6. Jumpers

  7. Breadboard

  8. 9v Adaptor


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?

  • Action components: Buzzer & DC fan (referred to by DC motor)

In this circuit Buzzer is connected to pin (2), and relay controlling DC fan is connected to pin (3), thus these two pins are controlled by the Arduino using serial communication via mobile app & Bluetooth.

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 started to mount each component to the bread board. I connected a common ground from Arduino to breadboard, And connected the ground of the Buzzer, Bluetooth & Relay to it.

The DC fan is connected to the Arduino and the power source using a 5V relay.

For the Bluetooth module, the GND & VCC are connected to the common ones from Arduino, and TXD & RXD are connected to similar pins on Arduino.

The Code is very simple, it defines 3 variables, 2 integers for the pins of the buzzer and fan, and one character for the serial communication through Bluetooth.

The code structure consists of 4 if loops, each loop takes a character sent via serial communication to make specific task.

1 : turns buzzer on

0 : turns buzzer off

2 : turns fan on

3 : turns fan off



Now it's time to make serial communication through Bluetooth and mobile app (BT Bluetooth )

First: the user interface of 5 buttons

1-bluetooth: to open Bluetooth menu and connect to HC-05 Bluetooth module.

2-Buzzer ON (button 1): it turns the buzzer on by sending text (1) as we defined in the Arduino code.

3-Buzzer OFF (button 2): it turns the buzzer off by sending text (0) as we defined in Arduino the code.

4-Buzzer ON (button 3): it turns the fan on by sending text (2) as we defined in the Arduino code.

5-Buzzer ON (button 4): it turns the fan off by sending text (3) as we defined in the Arduino code.



Community of Learning

Did you ask for feedback? What are the ideas that others have contributed or suggested? What was someone else’s idea that you built upon? How did you help your peers? How did your peers help you?

I started to mount each component to the bread board. I connected a common ground from Arduino to breadboard, And connected the ground of the Buzzer, Bluetooth & Relay to it.

The DC fan is connected to the Arduino and the power source using a 5V relay.

For the Bluetooth module, the GND & VCC are connected to the common ones from Arduino, and TXD & RXD are connected to similar pins on Arduino.

Overcoming Challenges

When you got stuck, what/who did you turn to? At what point did you have to pause to research or learn more before moving on? What are some mistakes, pitfalls, or challenges that others can avoid if they were doing this assignment?

A valuable advice I found online that we start by making simple serial communication before making the actual mobile app, and starting from there we can build on the code and translate it into a user interface .

Final Project

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

It help me to know how to connect Bluetooth module and how to deal with it.


WOW!

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

WhatsApp Video 2022-03-30 at 7.03.36 PM.mp4


Assignment Design Files