Project video :

Pictures:

Requirements :

Red Led + Blue Led ( you can use any other colour , but make necessary changes in the program )

Sketch :

** See the diagram very carefully

SOURCE CODE:

fff

** Please Note : Before you upload the sketch to the Arduino , disconnect the wires hooked onto the TX and RX pins of the arduino . Then upload the sketch , and connect the wires back again .

The Final Lap :

Now you have finished wiring up the circuit , and also the code has been uploaded . You can see your Bluetooth module blinking already .

The final step is to use the android app to connect to your Bluetooth module and control the Led's .

The app you are going to use here is already available in the play store . The name is BT voice control for arduino . Use this app to first search your Bluetooth module and then connect to it , using the default passcode 1234.

** You can also make your own android application to connect to this project . For simplicity sake I have used this app, you can make your own using MIT appinventor 2 or Eclipse .**

The voice commands i have used here are :

Turn both on

Turn both off

Switch red light on

Switch red light off

Switch blue light on

Switch blue light off

Your automation project will not function if you say something else . In case you want to make modification of what you wish to say to control a specific function ; fiddle with the strings entered in the source code .