Arduino-Android HomeAutomation

A mimimalistic demo app of Voice Controlled Home Appliances using Arduino. The source code for Arduino and Android app will be made available on my blog http://anwaarullah.com soon.

If you need any help in building the Circuit, please email me at syed@anwaarullah.com

Basic Setup:

1. Connect a Bluetooth Module to the Arduino Serial Port
2. Connect 3 Loads (or LEDs for testing) to Pins 8,9 and 10
3. Upload the Arduino Code below
4. Open the App and establish a connection with the Bluetooth Module
5. Select the Appropriate buttons and the LEDs/Load should lit up accordingly

The following pins are connected to the Buttons on the App:

Yellow Lamp = Digital Pin 8 of Arduino
Fan = Digital Pin 9 of Arduino
Red Lamp = Digital Pin 10 of Arduino

To give in voice commands, hit the mic button and say in any of these commands:

"red lamp on"
"red lamp off"
"fan on"
"fan off"
"yellow lamp on"
"yellow lamp off"

I've attached a sample schematic that can be used for reference in connecting.

To see a demo of this application, please visit this video http://vimeo.com/53071330 and navigate to 20:00 on the video. This was a talk where I made this App for a demo.


#### Arduino Source Code ####

char ch = 'A';

int lamp1 = 8;
int lamp2 = 9;
int lamp3 = 10;


void setup()
{
Serial.begin(9600);

pinMode(lamp1, OUTPUT);
pinMode(lamp2, OUTPUT);
pinMode(lamp3, OUTPUT);

digitalWrite(lamp1, LOW);
digitalWrite(lamp2, LOW);
digitalWrite(lamp3, LOW);
}

void loop()
{
if (Serial.available() > 0)
{
ch = Serial.read();

if (ch == '1') {
digitalWrite(lamp1, HIGH);
}
if (ch == '2') {
digitalWrite(lamp2, HIGH);
}
if (ch == '3') {
digitalWrite(lamp3, HIGH);
}
if (ch == '4') {
digitalWrite(lamp1, LOW);
}
if (ch == '5') {
digitalWrite(lamp2, LOW);
}
if (ch == '6') {
digitalWrite(lamp3, LOW);
}
}
delay(500);
ch = 'A';
}

Note: Please be careful while handling high voltage loads. Take all necessary precautions while building the circuit. I'm not responsible for any damage whatever, in any way whatsoever arising out of the use of this App (Physical or Material).
Read more
4.1
10 total
5
4
3
2
1
Loading...

Additional Information

Updated
September 26, 2014
Size
722k
Installs
1,000+
Current Version
1.0
Requires Android
2.2 and up
Content Rating
Everyone
Permissions
Offered By
PotentialLabs
©2018 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.