UNIT V - Applications
UNIT V - Applications
HOME AUTOMATION
UNIT - V
APPLICATIONS
UNIT V – APPLICATIONS
Interfacing of sensors with controller - Fire alarm system - Gas leakage detection system - Burglar alarm
system-Arduino Uno and Node MCU: Lamp, motion and temperature control using Bluetooth and WIFI
DR.C.PAZHANIMUTHU
ASSISTANT PROFESSOR (SL.G)/EEE
KPR INSTITUTE OF ENGINEERING AND TECHNOLOGY
COIMBATORE
delay(10);
}
void loop() {
int command;
if (Bluetooth.available()) {
command = Bluetooth.read();
Serial.println("Input received:");
if (command != 0)
{
// A non-zero input will turn on the LED
Serial.println("LED ON");
digitalWrite(led, HIGH);
}
else
{
// A zero value input will turn off the LED
Serial.println("LED OFF");
digitalWrite(led, LOW);
}
}
}
Nov 19, 2024 22
CONTROL LAMP USING ARDUINO AND BLUETOOTH