Introduction: V2 Home Automation by Voice Control Using Google Voice Recognition API
This time I offer a project in which I have been working, and which expect to receive comments, ideas, improvements, in order to achieve one of the best systems available on the network.
In this article you will find all the details and ideas that I have in mind to add. Currently I have part of the system installed in my home, and it worked very well.
Step 1: Characteristics:
System features according to the diagram in Figure # No.1:
The switches are intelligent and communicate with each other. The idea of communicating switches is due to the coverage of the radio signal can be extended this way. For example, if we have a switch relatively far from the center, say that in the main room, and issued an order on or off the light of that room, the order sent from the radio Arduino center would be received by the switch or the closest to the central switches. These switches would attend no order because it does not recognize the serial switch configured to enable or disable we want, but may forward the order, thus crossing the house, down to the farthest room. It is good to consider this detail as the radii of the switches are very embedded in the wall, which limits the range of the signal.The cover is made of tempered glass, and are sensitive to the touch. They have a built-in buzzer circuit, two LEDs (Led Blue: it is a courtesy light for the night, and red LED: on when we touch the glass to activate the circuit on or off).The switch can be programmed to turn off the light past X number of minutes, in order to save power if the user forgets to turn off the light.The switch could turn on the light automatically, and sound the buzzer, for example, to cover the alarm function.The switch responds to voice commands and Text to Speech from a cell phone, thanks to 1Sheeld system that have joined the system. Said voice recognition system uses a Google API very good, it works with almost any language, obviously the cell phone must have internet connection.The central controlling switches for the times I have implemented a arduino UNO + 1Sheeld. To connect this center to the cloud, I’m trying to integrate an Ethernet module to the system.The idea of integrating the system into the cloud is to have a small Web page from which you can observe the system state by area, on, off, view logs consumption of electricity, gas and water.
Step 2: Electronic Diagram and BOM
The following list of materials specifies the electronic parts used in the circuit:
Step 3: Download:
You can download the schematic circuit and BOM from the following link:
Step 4: PCB
I used the power supply, pretty good and small:
Step 5: RF Transmiter:
Another important component is the RF transmitter at 2.4 GHz, all the details and examples in which I have relied to build this project have drawn from the following website:
Circuit built on a generic switch, which I bought on Ebay. The original circuit has been removed to install ours.
To get this item on eBay, enter the following description in the search:
SmartHome 1/2/3/4 1/2 Way Gang Touch Control Light Switch Crystal Glass USA BK
Disassemble the switch and remove the following parts:
- Touch Screen Board
- Electronic Chipset
Step 7: Switch Disassemble:
The central circuit consists of a "Arduino UNO" and a "1Sheeld"
You can get this component at the following address: www.1sheeld.com
This component is very easy to use. For this project I have provided all the programming necessary for you to control the switches easily. The code is open and you can modify as you want.
Step 8: Programming:
You can write any phrases in the program, in any language, and google API will recognize the instruction you have given, and executes the action we have already programmed into the Arduino UNO.
You can download programs to the central circuit and switches to the following address:
Insert "1sheeld" in Arduino ONE, and connects the RF transmitter as follows:
1 - GND
2 - VCC 3.3V !!! NOT 5V
3 - CE to Arduino pin 9
4 - CSN to Arduino pin 10
5 - SCK to Arduino pin 13
6 - MOSI to Arduino pin 11
7 - MISO to Arduino pin 12
8 - UNUSED
More details in: http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
Step 9: 1Sheeld
You can add very many features to this project 1sheeld APP. It's very easy to do. I'll be updating this Instructable with some new ideas. You can also ask questions to clarify your doubts in my email address: email@example.com
Please see the following demo videos:
Participated in the
Circuits Contest 2016