Voice Control Home Automation System

by yobots in Circuits > Arduino

1550 Views, 7 Favorites, 0 Comments

Voice Control Home Automation System

Home automation4.jpg

In this tutorial, I have shown you how to make home automation system using your smartphone through Bluetooth. We can control our electrical appliances by Google voice reorganization tool also. I have designed an app for this particular project. You can make this system for your science projects or you can make it for your home.

Watch It

​Material List

♠♠♠♠♠♠♠♠♠♠♠♠♠♠ Material list♠♠♠♠♠♠♠♠♠♠♠♠♠♠

1) Arduino Nano

2) 12V relay board

3) 12v Adapter

4) HC-05 Bluetooth module

5) 3Pin socket (4pcs)

6) 2Pin socket (2pcs)

7) 3Pin plug

8) 1Fuse

9) Electrical board

10) Some wires

For home automation system we are going to need an
electronics control switches, that’s why I am using a 12v 8channel Relay board. By applying some electrical signal we can control our switches.

To control the switch we are going to need a control here I am using Atmega328 microcontroller based Arduino Nano.

To connect Our Home automation system with a smartphone are going to need a Bluetooth module. Here I am using HC-05.

To power our system I am using 12v dc power supply

Circuit Diagram

Home auto mation circuit - Copy.jpg

This is my circuit diagram I have done all the connection as per this circuit diagram.

PCB

Screenshot (480).png
PCB 1.jpg

It will look great when we add an own design PCB to our project. So I have designed This PCB and order it from jlcpcb.com

♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦

JLCPCB for $2 PCB Prototype & 2-Days Build Time: https://jlcpcb.com

♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦

If you don't know how to design PCB please check this videos


Giveaway

♠♠♠♠♠♠♠♠♠♠♠♠♠♠ Giveaway♠♠♠♠♠♠♠♠♠♠♠♠♠♠

If you want one of this PCB just leave a comment on yobots youtube channel about this project and put your email id followed by #. If you are a lucky winner you will receive a PCB with all the component.

Assemble

Screenshot (489).png
Screenshot (490).png

I have fixed all the component with the help with nut bolt and jip tight.

after that, I have fixed all the socket with my electrical board.

Connection

Screenshot (497).png
Screenshot (498).png
Screenshot (500).png
Screenshot (501).png
Screenshot (502).png
Screenshot (503).png
Screenshot (504).png

1st I have connected all the neutral point of all socket than line point of our system to the normaly open pin of relay board.

Next, I have connected all the common pin of relay board together.

Now connect 22VAC neutral with neutral of our system and line of 220VAC to common pin of relay board through the fuse.

I have also connected our 12v dc power supply input to the 220VAC system.

and

Also, connect relay board with controller board with the help of jumper wire.

Upload Sketch Code to Arduino

Screenshot (505).png
Screenshot (506).png
Screenshot (507).png

Download this sketch from below and change as per your pin configuration.

#include<SoftwareSerial.h>
SoftwareSerial mySerial (11, 12);

int pinNumber;

void setup()

{

mySerial.begin(9600);

pinMode(6, OUTPUT);

pinMode(7, OUTPUT);

pinMode(8, OUTPUT);

pinMode(9, OUTPUT);

pinMode(10, OUTPUT);

pinMode(14, OUTPUT);

pinMode(15, OUTPUT);

pinMode(16, OUTPUT);

}

void loop()

{

while (mySerial.available())

{

pinNumber = mySerial.parseInt();

digitalWrite(pinNumber , !digitalRead(pinNumber));

} // put your main code here, to run repeatedly:

}

Android App

Screenshot (521).png
Screenshot (522).png
Screenshot (520).png
Screenshot (518).png
Screenshot (523).png

If you are using the diffrent pin of Arduino then, you need to configure this app. To configure the app 1st download my .aia file which I have attached.

Now go to ai2.appinventor.mit.edu

Register with your Google account.

Go to project>imort .aia from computer

Click on the block at top right corner.

Now edit as per your pin configure and also change voice recognize section too.

After changing all the parameters go to Build> build.apk

Download Zip File

♠♠♠♠♠♠♠♠♠♠♠♠♠♠ Download all the file ♠♠♠♠♠♠♠♠♠♠♠♠♠♠

Some Other You Would Like

♠♠♠♠♠♠♠♠♠♠♠♠♠♠ Other Projects ♠♠♠♠♠♠♠♠♠♠♠♠♠♠

Smart phone control robot

How to make CNC machine at home:

Arduino 3x3 LED cube

Music Operated dancing LED:

How to make 7segment LED Display

How to make a Morden night lamp

How to make distance meter

Like Comment and Subscribe

♠♠♠♠♠♠♠♠♠♠♠♠♠♠ Like, Comment and Subscribe♠♠♠♠♠♠♠♠♠♠♠♠♠♠

If you want to help me with my all future project please subscribe my channel and also leave a comment in the comment section.

www.youtube.com/c/yobots

Follow me

https://www.patreon.com/yobots

www.facebook.com/yobots