Download Home Remote Control APK latest version Free for Android
Version | 1.0 |
Update | 7 years ago |
Size | 1.54 MB (1,616,723 bytes) |
Developer | Engr Khandaker Marsus |
Category | Apps, Lifestyle |
Package Name | appinventor.ai_kmarsus.HomeAutomation |
OS | 1.6 and up |
Home Remote Control APPLICATION description
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);
}
}
}