What is voice controlled home automation?
When it comes to Home Automation system, we thing it is very complicated. Don't worry guys! In this tutorial I am going to show you, how to make a voice controlled home automation system using Arduino Nano and HC-05 bluetooth module. Please read the blog till the end, there is many important thing to know. Let's begin. For Home automation system we are going to need an electronics control switches that is why I am using 12 Volt 8 channel relay board. By applying some type of electrical signal, we can easily control the switches. To control the switches we are going to need a controller.
How do I make my Arduino voice control home automation?
For this project, I am going to use Atmega328 microcontroller based Arduino Nano. To connect our Home automation system with smart phone, we are going to need a bluetooth module. Here I am using HC-05 Bluetooth module. We also need a 12V power supply. This power supply supposed to supply 12 volt, but unfortunately it is providing more than 20 volt, that is why I am using DC to Dc converter. You guys don't need this dc to dc converter, if you are using 12v power supply. Next we are going to need some 3pin and 2pin socket, 1 fuse, a 3pin plug and an electrical board.
Voice controlled home automation using arduino and bluetooth –
This is the circuit diagram, which I am going to use. You can easily download this circuit diagram from the link given in the description. It will look great, if add an own design PCB to your project. So I have design this PCB circuit in eagle. If you guys don't know, How to design a PCB Check out my PCB designing tutorial, I have putted those blog post links in the description. After finishing my design I have order my PCB from JLCPCB. Upload your Gerber file to order a high quality PCB. They are providing 5 PCB at only $2. Let’s give them a try. After 10th day of placing my order I have received my order. The quality of the PCB is very nice, I am very happy with their product's quality and price. I will surely order this again in future. Here, I have design this board for multipurpose use. So, in this project I am going to need Just Bluetooth connection and data output pin. So, I am soldering a 16v 100uF capacitor a power LED with a current limiting resistor a diode, some female header. So, that I can easily plug in my Arduino board and Bluetooth module. I have also connected some male header to data pin of Arduino. To fix all the component in this electrical box, I have drilled some hole. Next I have solder some wire 12 volt power supply's input and output side 12 volt power supply's output to dc to dc converter input side and I have also solder some wire to converter's output side for power the relay board and controller circuit.
To connect the controller circuit with the relay board, I have solder some wire with female header, so, that I can easily connect our controller board with my relay board. Then, I have fixed all the component with the help of nut bolt and jip tight. Next, I have connecter all the socket with my electrical board. After this, I have connected all the neutral points into one single point. After that I have connected all common pins of relay for line. Then, I have to connect all the socket line with normally open pin of the relay board. Now, I am connecting neutral of 220VAC to neutral of our system. And line of our system to line of 220V through a fuse, I have also connected 12v power supply ac input to 220VAC.
Now, time to upload your sketch to arduino. Now you have to download the sketch from the link given in the description below. And change as per your pin configuration. Now, connect your arduino. Go to "Tool" and select your port and board, then click on upload.
How do I make my home automation app?
For my home automation system, I have made this app. If you are using some different pins of arduino nano, then you need to configure the app. To configure the open your web browser and search for MIT app inventor 2 and click on the first link. After that, you need to register this by using your Google account. Then go to project import your .aia file. Download my aia file from link in the description. This is our app look like, here we can edit our user interface. Now click on block and change your pin number, here and also you need to change voice recognize section too. After changing your all parameters go to build and build application. Now install this app in your app.
How might voice commands be used in home automation?
Now you have to provide necessary voice commands to run the home automation project. For example I am giving the voice like “Turn on device 3”. After saying the command the device 3 is automatically turned on. Again if I say “Turn off device 3”, the device 3 will turned off automatically. You can also provide the other voice commands to control the room light and fan – for example “Turn on device 8”, “Turn off device 8”. This is how you can control all the electronic gadgets of your room by using smart home automation system with voice control.