With the application you can control your home fan and light.
Required Component:
1. Arduiono, Model: Mega 2560 or Anyone
2. Bluetooth Module: HC-05
Details:
Connection Diagram for Bluetooth Module:
Bluetuth (HC-05)..........Arduiono
EN..............................No Connection
VCC............................5V
GND............................0V
TXD............................RX-0
RXD............................TX-1
Status.........................No Connection
2. Download the code.
Before downloading stop Bluetooth device.
Just disconnect VCC or GND leg.
3. Pair the device: pin 1234
4. Install software and enjoy..
Code:
char input;
void setup()
{
Serial.begin(9600);
pinMode(18, OUTPUT);
pinMode(19, OUTPUT);
pinMode(20, OUTPUT);
pinMode(21, OUTPUT);
Serial.println(">> START<<");
}
void loop()
{
if(Serial.available()>0)
{
input= Serial.read();
if(input=='a')
{
Serial.println("Light ON:a");
digitalWrite(18, HIGH);
delay(2000);
digitalWrite(18, LOW);
}
else if(input=='b')
{
Serial.println("Light off: b");
digitalWrite(19, HIGH);
delay(2000);
digitalWrite(19, LOW);
}
else if(input=='c')
{
Serial.println("Fan ON: C");
digitalWrite(20, HIGH);
delay(2000);
digitalWrite(20, LOW);
}
else if(input=='d')
{
Serial.println("FAN OFF: d");
digitalWrite(21, HIGH);
delay(2000);
digitalWrite(21, LOW);
}
else
{
Serial.println("Undefined Input:");
Serial.println(input);
}
}
}
This version of Home Remote Control Android App comes with one universal variant which will work on all the Android devices.
If you are looking to download other versions of Home Remote Control Android App, We have 1 version in our database. Please select one of them below to download.