Smart Voice Controller (Arduino) - Android Smartphone

by kukata86 in Circuits > Remote Control

12326 Views, 101 Favorites, 0 Comments

Smart Voice Controller (Arduino) - Android Smartphone

DSC_0113.jpg
pic4.jpg
DSC_0120.jpg

Smart Voice Controller is a device that is extremely practical, interesting and easy to make. Through it you can control up to 8 devices in your home, by voice commands from your smartphone. You only need your phone to work with Android, has Bluetooth and internet.

Software for Smartphones With ANDROID:

Screenshot1.png
Screenshot2.png
Screenshot3.png
Screenshot5.png
Screenshot4.png

The software converts your voice commands and sends them to the controller. For this conversion need to have Internet connectivity on your phone. Commands wich will controll each individual relay output (or multiple outputs), must be predefined and stored in the controller below. ie each relay should know what command will change it's state.

Example:

relay 1 (ON) - Voice COMMAND: light on

relay 1 (OFF) - Voice COMMAND: light off

relay 2 (ON) - Voice COMMAND: fan on

relay 2 (OFF) - Voice COMMAND: fan off

........................

Command for relay response is pre-set in the Arduino controller software which we describe below in the article. To download the software for Android, visit section Software for Android in the Author's website.

Controller (with 8 Relay Outputs):

Arduino.jpg
Relay.jpg
Bluetooth.jpg
5v_relay.JPG
12v_relay.jpg

To make the controller there is no need to have skills in making circuit boards. The controller is constructed of 3 modules which are sold at electronics stores. You only need to connect them as described. Even if they are not available in local stores in your town, all devices can be ordered online.

Arduino UNO - Look at Ebay.com

JY-MCU Bluetooth module - this is serial bluetooth module but placed on board to work with 5 volts. Can be used only HC-05 or HC-06 if you do not find JY-MCU but remember to lower the voltage to 3.3 volts. JY-MCU can buy from DX.com

8 Channel 12V or 5V module for Arduino - it is recomпended to use a 12 volt model of the shield, although the 5 volt are most used. If triggered 8 realys with 5 volts supply taken from Arduino voltage regulator has risk to preheat the regultor. For this reason we use 12 volt version and take the power directly before build-in voltage regulator in Arduino. You can find shield in Ebay.com

12V power supply - can be purchased from any eletronics store.

Controller Software (for Arduino):

The code of SVC_Arduino.ino is attached article in the authors website. Click below to view the source code .The code must be loaded into the Arduino to be able to respond to your voice commands. With red colored lines is marked the code where you can change it to use your custom voice commands. You can also add process like allon() in the code, to trigger only a couple of relays simultaneously with one command, instead of all (as is done with the voice command all on/off below in the code).The schematic can be set to react in different languages. Once you upload the code to the Arduino, the schematic does not require computer to work.

Arduino SOURCE CODE

When programming the Arduino. disconnect TX and RX pin from the Bluetooth module because it can cause a conflict in communication and may not be able to upload the software.

Download:

Source code - Archive contains only the source code for Arduino.

Arduino and source code - Archive contains Arduino software including source code of the controller.

The password for all archives article: www.kukata86.com

Additional Information About the Bluetooth Module:

Bluetooth module operates normally with its default settings. Default password for bluetooth module is 1234. If you decide to have more control in the options of the module i suggest you read the following article. In in you will find information: How to change the name of the bluetooth, password entry or speed of data transfer. Good luck with your experiments.

Modify-The-HC-05-Bluetooth-Module.pdf

C-05_AT_Commands.pdf

Arduino_HC-05_AT_Commands.rar

You can view more interesting schematics in www.kukata86.com

Pictures:

pic1.jpg
pic2.jpg
pic4.jpg
pic7.jpg
pic6.jpg
pic5.jpg
pic3.jpg
DSC_0118.jpg
DSC_0106.jpg
DSC_0123.jpg
DSC_0112.jpg
DSC_0101.jpg
DSC_0103.jpg
DSC_0105.jpg
DSC_0116.jpg
DSC_0122.jpg
DSC_0109.jpg
DSC_0100.jpg