Week 8

Voice Controlled Home Automation

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)

This week’s assignment was to communicate wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on your phone or PC.

One of my dreams is to live in a smart and automated home, so I chose to mimic the smart home idea in a simple way.

This video inspired me to control through vocal commands : 

https://www.youtube.com/watch?v=hkOUWIv6v-w

Tool Chain 

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

Softwares:

Electric Components:

Others:

Cardboard - scissors- ruler - tape

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?

Designing the virtual circuit on Tinkercad

Action components: Light bulb, DC motor & servo motor

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?

Building the physical circuit

-The bulb & the relay were wired just like this tutorial (https://lastminuteengineers.com/one-channel-relay-module-arduino-tutorial/); It's controlled by Arduino pin 5 

-the fan & the 5v regulator (which is used as MOSFET) were wired https://proteshea.com/control-dc-fan-with-n-channel-mosfet-and-arduino-uno/; It's controlled by Arduino (Pin 9)

Left pin of the regulator to the common GND on the breadboard, the mid-pin to Arduino pin 9, and the right pin to the black wire on the fan. The red wire of the fan gets connected to the positive rail on the breadboard. 

-the servo motor was connected and controlled by Arduino (pin 6):

-VCC pin of the HC-05 was connected directly to the 5V pin of the Arduino board

-GND pin was connected to the common ground on the breadboard

-TXD pin of HC-05 to the RXD pin of the Arduino UNO (PIN 0)

-RXD pin of HC-05 to the TXD Pin of the Arduino UNO (PIN 1)

Programming the smart Home system using Arduino IDE software

-The bulb is turned on if the incomingData equals "1"

-The fan is turned on if the incomingData equals "2"

-The servo/door is moved/opened if the incomingData equals "3"

-The bulb is turned off if the incomingData equals "4"

-The fan is turned off if the incomingData equals "5"

-The servo/door is moved/closed if the incomingData equals "6"

-Both bulb & fan are turned on if the incomingData equals "7"

-Both bulb & fan are turned off if the incomingData equals "8"

Click here to find the code file.

Vocal commands configuration through Arduino BlueControl mobile app

Making the enclosure & Mounting the Components

Testing the final output

SmartHome.mp4

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)

Final Project

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

Wireless communication & troubleshooting skils

WOW!

WhatsApp Video 2023-03-08 at 10.06.28 PM.mp4

My team won Makeathon #2 competition

We programed, assembled, and wirelessly controlled a Micro Robot Arm.