Voice Controlled LED Using Arduino and Android Mobile

by respiduino in Circuits > Arduino

5554 Views, 21 Favorites, 0 Comments

Voice Controlled LED Using Arduino and Android Mobile

Voice Controlled LED Using Arduino and Android

In this project I will control a LED using voice command. To implement this project we need to arrange some stuff like:

1. Bluetooth Module

2. Arduino UNO

3. Android Phone

4. LED with resistor

5. And a android app namely “amr voice”

Description

block diagram.PNG

Working of this project is simple. First of all we need to connect LED and Bluetooth module with Arduino.

After it upload code in Arduino.

Download AMR Voice App From Google Play Store

Screenshot_2016-07-27-13-21-56.png
Screenshot_2016-07-27-13-22-02.png
Screenshot_2016-07-27-13-22-19.png
Screenshot_2016-07-27-13-22-24.png
Screenshot_2016-07-27-13-22-29.png

Now download AMR Voice App from google play store and

install it. And open it

Connect App With Bluetooth Module

Screenshot_2016-07-27-13-23-33.png

Try It

vlcsnap-2016-07-27-13h21m02s176.png
vlcsnap-2016-07-27-13h20m41s208.png

After successfull Connection between mobile and bluetooth module now tap at the mic symbol in app screen and

say “light on” to turned on l and “light off “ to turned off the LED

Circuit

Circuit.jpg

Connection are simple. Connect a LED at any pin of arduino. In my case I used 12. Connect rx and tx of bluetooth module to software serial pins tx(11) and rx(10) of Arduino respectively. And connect power supply to bluetooth module.

Coding

ft.PNG

Coding is much simpler. Here I have used SoftwareSerial

library to enable virtual Serial port at pin 10 and 11 of arduino.

comparing string.PNG

And in given picture I have compare received string with predefined string to take some needed action.