About Bluetooth Home Automation
PIN OUT
Device---------------------- Arduino pin12
Bluetooth module Tx --- Arduino pin Rx
Bluetooth module Rx --- Arduino pin Tx
Bluetooth module VCC-- 5v Arduino (OUTPUT)
Bluetooth module GND--GND Arduino (OUTPUT)
-------Arduino Code--------
int Device = 12;
String readString;
void setup() {
Serial.begin(9600);
pinMode(Device, OUTPUT);
}
void loop() {
while (Serial.available()) {
delay(3);
char c = Serial.read();
readString += c;
}
if (readString.length() >0) {
Serial.println(readString);
if (readString == "on")
{
digitalWrite(Device, HIGH);
}
if (readString == "off")
{
digitalWrite(Device, LOW);
}
readString="";
}
}
//watch my videos on youtube- https://www.youtube.com/channel/UCvR-ssFhPXo2xO1A9JfzXyA
Download and install
Bluetooth Home Automation version 1.3 on your
Android device!
Downloaded 100+ times, content rating: Everyone
Android package:
appinventor.ai_poddarrupak2808.HomeAutomation, download Bluetooth Home Automation.apk
by B####:
Easiest setup and a very simple app