Introduction: Voice Controlled Home Automation
Hello there, In this instructable, I'm going to teach you to make a voice-controlled Home Automation. We'll just tap into our mobile and control our appliances by our voice. Trust me it's not so hard to make as it sounds. Just follow the steps and you will make a Home Automation for your own. Our home automation is just turn on and off the appliances which you have connected to it.
Please follow me on Instagram to stay tuned of my latest instructables "https://www.instagram.com/vikaspal2131/"
Step 1: Materials + Tools
The Things which you need to have to create this Home Automation are listed below. First, collect all these things before moving to next steps.
1. Arduino Uno
2. Hc-05 Bluetooth module
3. 5x BC 547
4. 5x 1N4007
5. 5x 1K Resistor
6. 5x 5v 8 Channel RELAY module
7. 2x PCB Board
Step 2: Circuit Diagram
The picture above is our circuit diagram. Now let me taught you how our home automation is going to control our appliances. First, we'll open an application on our mobile and tell it what to do and then our mobile will send the Arduino that what we want to do through a Bluetooth module. Then the Arduino send a voltage to the transistor base according to which we thing we want to do. Then it set the transistor on and start the 12v power supply to go through it. Then the 12v power supply reaches the relay circuit where it make's it to let the 220v AC current to go through it and make the appliance work.
Step 3: Placing the Components
After collecting all the stuff, we'll start our very first step by adding components to the PCB Board. Take a look at the first photo, It having five BC 547 transistor on PCB board, Place the transistor on PCB board as shown in the picture and sold it. After that, place the 1K Resistor in front of the base of the all the transistor as shown in the picture. Now solder the one side of the resistor pin to the transistor base( Do that for all transistor and resistor who are front of each other).
Step 4: Wiring the PCB Board
We've placed our components and soldered it. Now we'll go further to wire all that stuff. First, we'll start with joining all transistor collector to one place. Do that by soldering all the collector's pin to a side of power supply rail.
After that, we'll wire our emitter pin of the transistor. Solder all the wire's of different transistor collector pin to unique place means they don't have to connect to any other thing( solder it as like I do).
Now one last thing you have to do is to join male wires to the resistor pin. Solder it on the pin which is not soldered with anything. Start by cut the one end of the male wire so you can solder it easily. Solder the cut end of the male wire to the resisitor to the pin we wanted( Do that with all-resistor).
Step 5: Making Circuit
Now it's time to make the circuit which will be going to supply 220v to our appliances. First, take your second PCB Board and place the relay and diode like given in the image. Place the three pin side of relay inside and place the cathode side of the diode in the front of coil pin which is on right to the com pin(see the image for reference) and anode side to the com pin. Solder the relay and diode on the board and also connect the diode pins to pins of relay we placed it in the front of. We need 5 relays on the board so add 4 relays and diodes more to the board and use connect it as we did before. Now what we need to do is to join one emitter wire of a transistor to a diode of a relay. But to do that you have to add wires at the end of the soldered emitter wire on the first PCB Board. Now join the all five remaining emitter wire to the remaining relays diode( Be sure to join one wire to one relays diode and to the cathode side of the diode).
Now we'll join all the anode side of the diodes to the power supply rail side. Use soldering iron or wire to do that.
Step 6: Wiring All Things Together
Now our both circuits are ready, we just need to connect all the things together to make it alive. Start by joining the positive wire to the relay circuits power rail where we join all anode side of the diode. After that join the negative wire of the adapter to the transistor circuits power rail where all Collectors of these transistors soldered.
On the same spot where you add the adapter negative wire on transistor circuit, join a male wire on it too. Left the end of the wire as we will use it later. Now Join all the relays com. pins through a wire next to each other. After that take an AC wire for the AC power supply and then connect it to a com. pin of a relay. Now connect the AC wires to the no. pins of relays ( don't join them, keep them apart from each no. pin wires).
Step 7: Configuring Arduino
Our all things are ready. We just need to configure and program our Arduino to control our appliances. Take your Bluetooth module and on the back side of it, there is the name of Arduino pins where you need to join that wire too. Start by joining the red wire of the Bluetooth module to the 5v Arduino pin, then the black one to Gnd. pin. The white wire goes into the Tx. pin and skinny color wire to Rx. pin.
We had connected our Bluetooth module to the Arduino, Now we will join the transistor circuit male wire to the Arduino which are going to control the appliances. Start by connecting the wires from 2 numbers pin of the Arduino. Join all the wires serial wise as for how you connected it to the relay circuit. Take the reference as for how you soldered the emitter wire to the end point. Now join the blue male wire to the GND pin of Arduino which we soldered it with adapter negative wire.
We've all set, we created the circuits and connected it to Arduino now we just need to upload the program onto the Arduino. First, download the Arduino program from the below. Connect your printer cable to the Arduino and then to your laptop or computer. Open the Arduino IDE, if you don't have one download it from here. First, clear the all pre-written program from the IDE and then copy the program from the file you downloaded to the IDE. Click the upload button to start uploading the program onto the Arduino. But be sure to disconnect the Tx and Rx connection before uploading the program. After the program successfully uploaded to the Arduino reconnect the Tx and Rx connection.
Step 8: Installing App and Getting Started
To control the appliances with your voice we'll have to download an application from Google play store name BT voice control for Arduino. Download it and open it, then connect to your Arduino by click three dots at the top right corner of the application. Select "connect to robot" and them to your Bluetooth module. Its name might become as null as we don't define it. So just click on it and for the password type "1234" or try "0000". After the connection succeeds, enjoy using your home automation.
Participated in the
Invention Challenge 2017
Participated in the
Unusual Uses Challenge 2017
Participated in the
Power Supply Contest