How to make a Home automated with the help of Arduino
PROJECT ON
HOME
AUTOMATION
Requirement: - Arduino kit, jumble wires,
5v dc power supply, relay switches, ac power supply, Bluetooth module
Software used:- Arduino program based on C
language, java
Introduction:- Home
automation involves introducing a degree of computerized or automatic control
to certain electrical and electronics system in a building. These lighting,
temperature control, etc.., this paper demonstrate a simple home automation
system which contains a remote mobile host controller and several client module
(home appliances). The client modules communicate with host controllers through
a wireless device such as a Bluetooth enabled mobile phone, in this case, an
android based smart phone.
Circuit diagram:-
Program:-
#define led 13
//The default baud rate of HC-05
module is 9600. The void setup code:
char command;
String string;
void setup()
{
Serial.begin(9600);
pinMode(led, OUTPUT);
}
void loop()
{
if (Serial.available() > 0)
{string = "";}
while(Serial.available() > 0)
{
command = ((byte)Serial.read());
if(command == ':')
{
break;
}
else
{
string += command;
}
delay(1);
}
if(string == "1")
{
LEDOn();
}
if(string =="2")
{
LEDOff();
}
}
//There are two functions in the
code. Actually their names says everything.
void LEDOn()
{
digitalWrite(led, HIGH);
}
void LEDOff()
{
digitalWrite(led, LOW);
}
Description:-
Ardiuno- Arduino/Genuino Uno is a microcontroller
board based on the ATmega328P. It has 14 digital input/output pins (of which 6
can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB
connection, a power jack, an ICSP header and a reset button. It contains everything
needed to support the microcontroller simply connect it to a computer with a
USB cable or power it with a AC-to-DC adapter or battery to get started.
Relay- A relay is
an electrically operated switch.Relays are used where it is necessary
to control a circuit by a low-power signal.Relays protect electrical circuits
from overload or faults.
Bluetooth module- HC-05 is
a Bluetooth Smart module targeted for low-power sensors and
accessories. It integrates all features required for a Bluetooth Smart
application.It is powered directly from a standard 3V coin cell battery or a
pair of AAA batteries. In the lowest power sleep mode it merely consumes 500 nA
and will wake up within a few hundred microseconds.
Application:-
Yet there
is an increasing demand for smart homes, where appliances react automatically
to changing environmental conditions and can be easily controlled through one
common device.This wireless technology is especially useful in home environment, where
there exists hardly any infrastructure to interconnect intelligent appliances.
Advantages:- The main advantage of “Home Automation through Android Mobile”
is that the “Physically Challenged and
Disabled People” .Replace television, air conditioner, room lights, fans
etc., remotes for sleep mode, Smart Home.
Conclusion:- Home Automation is
undeniably a resource which can make a home environment automated. People can
control their electrical devices via these Home Automation devices and set up
controlling actions through Mobile. In future this product may have high
potential for marketing.
Comments
Post a Comment