PROJECT REPORT
on
SMART HOME AUTOMATION SYSTEM
Department of Computer Science
University of Centeral Punjab
Submitted by Group A
Reg no Name
K2F23UASCS017 M.Hussain
K2F23UASCS0 Yousaf Saif
K2F23UASCS0 Ammar Shahid
K2F23UASCS0 M.Zaryab
Submitted to
Prof. Arooj Sultan
Lecturer
Department of Computer Science
Date of Submission:
1
Abstract
The overall design of awireless ,low-cost home automation system(HAS)is shown in
this project.The autonomous management of electrical equipment in your house is
known as home automation.Since these gadgets are online,they can be managed from
a distance. Beyond just being convenient, home automation seeks to make houses
smarter, more effective, and safer.Our task is to create a home automation system that
utilizes an environmental monitoring system that can be accessed using a mobile
device. The system will operate all appliances without the need for internal Wi-Fi
technology.The system makes use of an embedded webserver built around an Arduino
Mega 2560 micro controller that can be controlled remotely over Bluetooth in order to
access and manipulate electronic applications. Furthermore, the suggested system
doesn't need In addition to offering a unique communication protocol to monitor and
control the home environment beyond simple switching, a dedicated server PC is
comparable to other systems that are now available.
Keywords: Home Automation, Home Appliances, Bluetooth, Security System.
2
Contents Pages
1. Introduction
Objectives
Scope
Overview and Benefits
Socio Economic Impact
2.Literature Review
3. Methodology
Procedure
Components
4.Expected Outcome
5.Conclusion
6. Apendix
Code
7.Reference
3
CHAPTER #1
INTRODUCTION
4
The idea of the smart house is new and draws on the expertise of many scientific and
engineering fields. For over ten years, much research has been conducted to improve the
power efficiency of power management systems at the consumer level. A home that
combines technology and services through home networking to increase energy
efficiency and improve quality of life is referred to as a "smart home" .
5
CHAPTER #2
LITERATURE REVIEW
6
Although the term "smart home" is not new to the scientific community, people's
perceptions and expectations of it are still very distant. Converging electrical technology
are driving growth in the home automation industry. Numerous smart systems with
Bluetooth, internet, short message service (SMS) based[4], etc. control have been
proposed. Good Bluetooth capabilities and the built-in adapters found in the majority of
modern laptops, and mobile phones will help to lower the system's overall cost.
Inthe design and construction of a voice-activated wireless automation system based on
microcontrollers are shown. Via a microphone, the user issues voice commands, which
are then translated and wirelessly transmitted to the primary control receiver unit via an
RF link. An additional voice-activated smart home automation system is presented in
Reference [5]. This system makes use of Microsoft Speech Recognition engine and
Microsoft Visual Basic software to provide graphical user interface (GUI) on a PC .
After that, the signal is sent over an RF link to the micro controller that is interfaced with
the house hold appliances. Once more, a PC is utilized, which results in higher expenses
and power usage.
A growing number of Smart houses with unique technology have been developed over
time. Numerous solutions utilizing Arduino and Bluetooth technology have been
presented . Bluetooth technology was employed for local interface and distant
monitoring via the internet utilizing RTP (Real-time Transport Protocol) and web-based
GUI (GraphicalUserInterface)in a networked monitoring system for home
automation.With a few small adjustments, the suggested system might be used for a
variety of home automation applications.
Using Bluetooth Low Energy in Smart Home Energy Management highlighted the effect
of high-power rated loads during peak hours and stand by appliances on energy usage
fees incurred by customers. The strategy proved effective in lowering peak load demand
and electricity costs while improving user comfort, according to the data. It was
suggested to implement smart home automation using open-source Visual Basic software
with Arduino as the master controller in conjunction with light and temperature sensors.
With a Visual Basic software, it could use voice commands to operate household
appliances. Using the Matlab GUI, the security system kept the house safe from
invaders. The addition of scheduler sand wireless connectivity could improve the
system .An automation system for
7
homesecurity and electricity control was suggested in adifferent studythat madeuseof
Wi-Fi technology.
A web server with IP connectivity and an Android app for device remote control were
integrated into the Smart Home Automation and Security System employing Arduino
and Wi-Fi .The Arduino was fitted with an LDR andan LM35 temperature sensor to
enable automated management off an sand lighting .The installation of a dedicated server
PC was not necessary. The system offered voice activation for switching operations,
password change functionality, device control and monitoring, scheduling and automated
home environment control, and a remote link to the home web server.
8
CHAPTER #3
METHODOLOGY
9
Procedure
The entire system operates in two stages. Initially, portable Android devices are used
to control the system through the installation of Bluetooth technology.Finally,employ
an automode that can sense its surrounding sand operate itself.The anticipated design
for the first two objectives is depicted in the accompanying image.
Figure01: Basicdesign ofthis system.
A temperature sensor measures the temperature; other types of sensors are required to
determine the physical state. A micro-controller is used to obtain this information . This
LDR feature makes it possible to automatically turn on and off light control by figuring
out how bright the day is. The micro-controller uses a relay switch to transmit control
signals to the electronic device that performs the on/off switching . It is capable of acting
as an input device as well as an output device. An output device to read the value of the
physical condition and an input device to operate household appliances.
Using Android, an application is created for the system. The micro web server is hosted
by the Arduino micro-controller, which also initiates the necessary action . The primary
controller is directly interfaced with the actuators/relays and sensors.
10
Figure02: Flow chart for working procedure of the design
11
12
13
14
CHAPTER 4
EXPECTED OUTCOME
15
There are several approaches of discussing the system' spredicted result.Commands are
given using the voice activation function; if no command is received, a prompted
message is presented.Additionally,we can add a reminder to the app that will let us know
when to turn on particular house hold appliances and even set a timer for them.
16
17
18
CHAPTER 5
CONCLUSION
19
A comparison of home automation systems is provided, based on a survey study.
Performance factors of micro controllers ,user interfaces ,and communication
interfaces are compared. Numerous do-it-yourself (DIY) platforms, such as the
Raspberry Pi, Arduino, and other microcontrollers, are available that enable the quick
and simple creation of Home Automation systems at cheap cost and great
performance. Various home automation systems, such as web-based, email-based,
Bluetooth-based, mobile- based, SMS-based, ZigBee-based, dual tone multi-
frequency-based, cloud-based, and Internet-based , are detailed in this review . Future
home automation will bequicker and more intelligent. It would be expanded to
include large-scale settings including workplaces, factories, and colleges. This study
examines a web-based smart home system that, after user verification, can be
remotely operated suggested and put into action. Using a RESTful web service, the
Android-based smart home app connects to the mini web server via the internet.
Installing the smart home software and managing and keeping an eye on the smart
home environment may be done on any Android- enabled smartphone.Alow-cost
smart home system that uses a micro controller for all processing has been developed;
it does not require a PC. Additionally, the system makes advantage of Google's
speech recognition engine, doing away with the requirement for an additional voice
recognition module. Future plans call for adding SMS and call alerts as well as
minimizing the amount of wiring that needs to be changed in order to install the
suggested system in homes that already exist. This will be a complished by setting up
a wireless network inside the house that will beused to monitor and operate the smart
home environment.
The Arduino UNO is used to centrally regulate and efficiently monitor parameters in
this home automation system. This home automation solution is both economical and
effective. It simultaneously displays and monitors temperature in real time. It has the
ability to detect human presence within the house and adjust the appliances
accordingly. It can cut electricity expenditures by turning off linked equipment while
not in use, hence reducing needless electricity use.
The literature on smart house activities has been reviewed in this article, with an
emphasis on elucidating the goals of a smart home, which include enhanced energy
management and home automation as well as lower environmental emissions.
Manufacturers who are drawn to SHEMSs include Apple, Hohm, and GE. These
20
companies are thinking about creating hardware ,software , and communication
system
21
Specifically for EMS devices . Scholar shave examined SHEMS with a variety of goals
in mind , including minimizing power bills , optimizing user comfort , minimizing
utility peak demand, and lowering carbon emissions. Numerous EMS applications
for end- user appliance scheduling ,control ,automation ,and communication have
been covered in this article. To sum up, this research has elucidated the function of
SHEMSs in an energy-efficient future environment.
The concept sand advantages that come with the adoption of the internet of things
(IoT) are probably going to completely change how people react to their
surroundings. Thanks to these advancements , people can now controle very aspect of
a house from a single system.Having a single system control every aspect of the
house raises security concerns, but these worries are unfounded. The features can be
customized by the technology, and if there is an incursion in one part of the system,
the homeowner is likely to notice the change. Furthermore, the Internet of Things idea
is good for the environment since it encourages communal resource management.For
instance,when a light bulb burns out due to There is no longer any
blackness ,indicating that waste has decreased. Even more so, when the refrigerator
alerts the home owner to an impending product's expiration, it suggests that wise use
of our food supplies is still possible. As a result, it's past time for more people to
embrace the innovative concept so the internet of things.
22
CHAPTER #6
APENDIX
23
6.1Code
#include<SoftwareSerial.h>int
in1 = 9;
intsensor=8; int
led = 13;
unsignedlongt1=0,t2=0; int
state = 1;
intTX=10;
intRX=11;
char data='L',mode='A';
SoftwareSerialbluetooth(TX,RX);
void setup()
{
Serial.begin(9600);
bluetooth.begin(9600);
pinMode(in1, OUTPUT);
pinMode(sensor,INPUT);
pinMode(led, OUTPUT);
digitalWrite(in1,HIGH);
digitalWrite(led,HIGH);
}
voidloop()
{
if(bluetooth.available())
{
data=bluetooth.read();
if(data=='M'||data=='A')
{
mode=data;
}
}
if(mode=='A')
{
if(digitalRead(sensor)==HIGH)
{
state=1; digitalWrite(led,LOW);
t1=millis();
}
else
{
t2=millis();
24
digitalWrite(led,HIGH);
if((t2-t1)>10000)
{
state=0;
}
}
if(state==0)
{
digitalWrite(in1,HIGH);
}
elseif(state==1)
{
digitalWrite(in1,LOW);
}
}
elseif(mode=='M')
{
data=bluetooth.read();
if(data == 'L')
{
digitalWrite(in1,LOW);
}
elseif(data=='l')
{
digitalWrite(in1,HIGH);
}
}
}
25
CHAPTER #7
REFERENCE
26
References
Mohamed AbdEl-Latif Mowad, Ahmed Fathy, Ahmed Hafez" Smart Home
Automated Control System Using Android Application and Micro controller
"International Journal of Scientific & Engineering Research, Volume 5, Issue 5,
May-2014 ISSN 2229-5518
Nathan David,Abafor Chima,Aronu Ugochukwu;"Design of a Home Automation
System Using Arduino "International Journal of Scientific & Engineering
Research,Volume 6, Issue 6, June-2015 795 ISSN 2229-5518
M. Islam, B. Roy, N. H. Preety, F. B. Mahtab, et al.,Design of Arduino based
home automation systems incorporating identity detection. PhD thesis, BARC
University, 2017.
S. Anwaarullah and S. V. Altaf, "RTOS based Home Automation System using
Android,"InternationalJournalofAdvancedTrendsinComputerScienceandEngineering,
vol. 2, pp. 480-484, January 2013 2013.
C.Chiu-Chiao,H.C.Yuan,W.Shiau-Chin,andL.Cheng-Min,"Bluetooth-BasedAndroid
Interactive Applications for Smart Living," in 2nd International Conferenceon
Innovations in Bio-inspired Computing and Appplications (IBICA 2011), 2011, pp.
309-312.
D. Javale, M. Mohsin, S. Nandanwar, and M. Shingate, "Home Automation and
Security System Using Android ADK," International Journal of Electronics
Communication and Computer Technology (IJECCT), vol. 3, pp. 382-385, March
2013 2013.
J. Potts and S. Sukittanon, "Exploiting Bluetooth on Android mobile devices for
home security applications," in Southeastcon, 2012 Proceedings of IEEE Orlando, FL
2012.
R.A.Ramlee, M.H.Leong, R.S.S.Singh, M.M.Ismail, M.A.Othman, H.A.Sulaiman, et
al., "Bluetooth Remote Home Automation System Using Android Application," The
International Journal of Engineering And Science,vol.2, pp.149-153, 11,January
2013.
M. Yan and H. Shi, "Smart Living Using Bluetooth Based Android Smartphone,"
International Journal of Wireless & Mobile Networks, vol. 5, pp. 65-72, February
2013.
27
28
View publication
stats