Hello Friends, Today In this project we will Learn about Voice controlled home automation project by using just our voice with the help of android Smartphone. This is very unique and cost-effective. In this project Arduino Uno and Bluetooth module is playing a very vital role to control the whole unit. In this system we are using an application called AMR Voice for the serial communication between android phone and microcontroller. AMR Voice will detect our voice and it will take logical decision by itself, that what exactly operation we wants to control, For Example if we have to ON The Light we will speak ” Light On” The Amr Voice app will Read our information and it will allow the Microcontroller to Switch on the Light.
As according to this method we will Program and Code Every Appliance according to our mind. Hence We can Control our Every Home appliances through our Voice order Command only. In Fact This is a very Interesting and amazing Project, So keep Continue with us and Enjoy Learning about this Project.
- 1 Voice controlled home automation project
- 2 Description of components used in Voice controlled home automation project
- 3 Block Diagram for Voice controlled home automation project
- 4 Circuit Diagram
- 5 Working of Voice controlled home automation project
- 6 Arduino Code for Voice controlled home automation project
- 7 Advantages
Voice controlled home automation project
- Arduino UNO
- Bluetooth Module
- Android Phone
- Battery Clip
- Bulb Holders
Description of components used in Voice controlled home automation project
The UNO is the most used and documented board of the whole Arduino family. Arduino is an open source computer hardware and software company. Arduino board designs use a species of microprocessors and controllers. The microcontrollers are typically programmed using a dialect of features from the programming languages C and C++. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards (shields) and other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs from personal computers. Common examples of such devices intended for beginner hobbyists include simple robots, thermostats, and motion detectors.
It is a device which is use for serial communication between transmitter and receiver. This is completely based on the Bluetooth technology. Some of the common used Bluetooth modules are HC-05 and HC-06. The main function of this module is to transmit UART data. It has basically 6 pins namely RX, TX, VCC, GND, STATE, ENABLE.
Relay is basically an electromagnetic switch which is completely based on the principle of electromagnetic induction. The function of relay is so simple that whenever an electric current is passed through the coil of the relay then the coil starts behaving like a magnet and attracts the armature rod of other part of switch towards itself which either completes the circuit or breaks the circuit.
Here basically we are using a NPN type transistor (BC 547) which is acting like a switch. We activate relay as the power generated by the pins of the Arduino is not sufficient to drive relay, so we are using transistor to drive our relay. A NPN transistor is basically a semiconductor in which P-type semiconductor is sandwiched with N-type semiconductors. Transistor has a three terminal namely collector, Base and Emitter. The collector is given a +ve supply while emitter is connected to ground and base acts like an activating terminal for the transistor. Whenever a small amount of current is passed through the base of the transistors then it gets activate and collector and emitter terminal gets shot and act like a complete current flowing conductor.
A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element.In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias active elements, and terminate transmission lines, among other uses.Resistors are used for many purposes. A few examples include delimit electric current, voltage division, heat generation, matching and loading circuits, control gain, and fix time constants. They are commercially available with resistance values over a range of more than nine orders of magnitude. They can be used to as electric brakes to dissipate kinetic energy from trains, or be smaller than a square millimeter for electronics.
A wire is a conductor which is used to make the flow of current throughout the circuit. A wire is of many types such as single index, multi index, co-axial cable etc.
When a battery is supplying electric power, its positive terminal is the cathode and its negative terminal is the anode.The terminal marked negative is the source of electrons that when connected to an external circuit will flow and deliver energy to an external device. When a battery is connected to an external circuit, electrolytes are able to move as ions within, allowing the chemical reactions to be completed at the separate terminals and so deliver energy to the external circuit. It is the movement of those ions within the battery which allows current to flow out of the battery to perform work.
A holder is used to hold bulb in it. It is basically used in electrical connection in our home and offices.
Block Diagram for Voice controlled home automation project
Working of Voice controlled home automation project
The working of the whole system of this device is very simple. At the receiver the commands are used for controlling the home appliances to turn on and off. At the receiving end the appliances are controlled by the relays that are interfaced by the microcontroller through Bluetooth.
The data is sent by the android app called AMR Voice with the help of Bluetooth of android phone and on the other hand data is being received by the receiver section. There is a Bluetooth module which is acting as a receiver and then the data received by the Bluetooth module is sent to the Arduino which further gives the command to the respective pins of it which operates the relay with the help of transistor. As here the transistors are acting like a switch. The function of the transistor is just to operate the relay as the signal through the pins of the Arduino board/IC is quite low and is unable to activate the pins of the relay, so we are using transistor to operate relay properly. The AC supply is connected in series with the relay and the bulb holder.
The program on the microcontroller refers to the serial data to generate respective output based on the input data to operate the relay.
Then the respective device connected to the circuit will be turned on or off depending on the command given. For example if you are saying light on command the system will turn light ON and light OFF command will turn light off etc.
Such that by giving various commands from your mobile phone you can control your home appliances. To operate the device first you have to pair your Bluetooth device on your mobile phone and then you have to open the application on your android phone called BT Controller or AMR voice and then in settings you have to select connect robot and then you have to select your Bluetooth device (i.e. HC-05) and after that your system will be synced with your android phone and is ready to send and receive data but make sure that you have turned ON your mobile data connection if not then you won’t be able to communicate with your device.
Arduino Code for Voice controlled home automation project
const int rxPin = 0;
const int txPin = 1;
SoftwareSerial mySerial(rxPin, txPin);
ch = mySerial.read();
else if(data=="*lamp off")
else if(data=="*light on")
else if(data=="*light off")
else if(data=="*fan on")
else if(data=="*fan of")
else if(data=="*TV on")
else if(data=="*TV off")
else if(data=="*all on")
else if(data=="*all of")
- Managing all of your home devices from one place.
- Flexibility for new devices and appliances.
- Maximizing home security.
- Increased energy efficiency.
- Improved appliance functionality.
So now your Project is Ready to work ,Keep enjoying this project…….
Click Here to Learn : How to make 8051 Development Board in very easy steps
So, Friends I hope you guys have enjoyed very well This Voice controlled home automation project . In upcoming Tutorial I will be back with some new interesting Projects and we will discuss about some useful development topics. Here if you want to recommend that what I should write in upcoming Tutorial then please leave your comments. and if u need any help or query please don’t Hesitate to discuss with me. Thank You 🙂
Watch and Learn : How to make a Racing Car
- We also Develop Final Year innovative Engineering Projects according to requirement of our clients in : ME, EEE, ECE, CSE, CIVIL , BCA & MCA.
- For any Help or Query : Call / Whatsapp – +91 8409498926