You are on page 1of 4

Design and Implementation Smart Home Alarm

System with Zigbee transceiver


Hadi Jameel Hadi Waail Mahmod Lafta, Zaid Khudhur Hussein,
Computer Techniques Eng. Depart., School of Engineering, Medical Instrumentation Eng. Depart.
Al-Mustafa University College, Griffith University, Al-Esraa University College,
Baghdad- Iraq Australia Baghdad- Iraq
hadi.j@ieee.org w.lafta@griffith.edu.au zais.khudhur@esraa.edu.iq

Zaenab Kareem Alammar, Huda Almaarofi,


School of Information & Communications, School of Engineering,
Griffith University, Griffith University,
Australia Australia
zaenab.alammar@griffithuni.edu.au h.almaarofi@griffith.edu.au

Abstract— Smart house system is an important area for stable, adaptable and responsive system, future work should be
network connection process using Internet of Things (IoT) focused on expanding hardware support and running stability
approach. There are a great demand and a significant need to tests for various elements and operational conditions.
come up with a proper structure for smart home system. In this Considering HCS software, extra functionalities should be
paper, a smart home system developed using XBee Wireless implemented to expand and simplify user’s interaction with the
Technique embedded through the Internet of Things (IoT) system. It can be accomplished with the implementation of
approach. The advantages of the XBee wireless technique is to speech and face recognition software, probabilistic behavior
limit communication, able to send and receive transmission data recognition methods and creating a simple, efficient and
between central controller and various house sensor nodes to
enjoyable user interface. The primary goal of the HCS was to
read and apply Temperature, Gas Sensing and IR Security
information. The tested results showed the wireless monitoring
ensure a more comfortable and easier way of life. In a short
usage was able to be recognized. The proposed system design period of time, the primary goal of the HCS was expanded to
control is simple, achievable, and able to extensively use for optimize energy consumption and increase environmental
smart house remote monitoring. safety. Today, the smart home system unifies devices
managing lighting, windows, doors, heating, air conditioning,
Keywords—House Control System (HCS), Wireless Sensor security and surveillance, various multimedia devices.
Network (WSN), ZigBee, Arduino.
II. RELATED WORKS
I. INTRODUCTION In this section, some considered changed techniques which
When electrical energy and information technology were using Arduino and ZigBee technology System with their
introduced into households at the end of the 20th century, the features, Fang Chen, Linlin Qin [1] present the ZigBee with
use of electrical household devices has increased rapidly. It temperature with humidity sensors was usage like sensor node,
created the need to automatize and control the living a fan and the wet curtain formed as two controller nodes which
environment, and this is where the term “Smart House” are respectively connected with the ZigBee module.
originates from. A “Smart House” is commonly defined as an
Jun-Long Pan, and Chia-Ju [2] present Smart Home
“automatic networking technology for integrate the
Monitor & Supervisor (SHMS), using ZigBee techniques, the
equipment’s with appliances which the complete house be able
sensors with actuators that attached via ZigBee technique
for observed with controlled centrally such as single device.
system. The design is simple smart socket, that work remote
Even though the idea of a smart house existed before, system
control by ZigBee.
implementation was possible only after appropriate technical
solutions were offered. With the appearance of a Nazrul Nayan, Ili A.M. Ikhsan [3] present designed and
microcontroller, cheap processor production and personal improvement of ZigBee technique, that functions such as a
computers, the smart home system has become cheaper and communication channel for hardware and sensors in a home
more accessible. Today, it is possible to have a low-price, fast automation method for smart houses. A (LCD) is used to show
and simple home control system HCS. the system output on a receiver.
In order to achieve this level of complex automation, the Hiro Gabriel Ferreira, Edna Dias [4] present prototypical
HCS should be modular and robust. When upgrading or built from standard technology for allow occasion sense with
downgrading the system (depending on the end-user needs) controlling for electrical equipment’s, then extant with
with various types of sensors, switches, valves, motors, etc., the advanced developing, over the RESTful or UPnP techniques to
HCS has to be stable, adaptable and responsive. To achieve a
enable expansion is easy for uses which be able to efficiently The XBee module can be used as a medium for interaction
improving the life through apparent interface by regular public. and a communication module between microcontrollers and
serves as a wireless network for data transfer. Two types of
III. SYSTEM IMPLEMANTATION XBee devices are used in home automation: XBee S1 and
XBee S2[6].
In this paper, a design with implementation of the device to Table 1. Comparison of characteristics of Bluetooth,
proposed structure is presented. structure scheme from two WLAN and ZigBee [3].
parts: hardware with software. hardware part contant of
components of the design (Arduino Uno, ZigBee, LM35
Temperature , MQ-2 Gas, and Infrared Radiation (IR) Sensor)
and software part is the programing lunguae which in this
paper is the Arduino C that written and saved in the Aedunio
Uno (the code ) with procedures which run and control
hardware.

A. Arduino
Most hardware module for design is the Arduino that
symbolized for microcontroller, form scheme, device contains
one principal microcontroller. Arduino Uno constructed on
ATmega328 microcontroller. As shown in Fig. 1. [5].
Arduino has 14 digital input/output pins (6 pins can be used
as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a
USB connection, a power jack, an ICSP header with a reset
switch [6].
Arduino software is set of commands using the code in
language Arduino C program then tell hardware procedures
that do then can to do it. Arduino program, that characterized
form Arduino integrated development environment (IDE), that
using for progress with for estimate projected system [6]. C. LM35 Temperature Sensor
LM35 series an accuracy integrated circuit temperature
devices, the sensor does not require any external adjustment or
else extra for deliver usual precisions from ±1⁄4°C in room
with ±3⁄4°C, up to complete −55 to +150°C collection [8].

D. MQ-2 Gas Sensor

MQ-2 gas sensor to dectet some gases , Sensitive material


for SnO2, then for fresh airborne have lower conductivity. the
sensor takes high sensitivity for LPG, Propane with Hydrogen,
which can be usage for Methane a nd additional flammable
steam, the sensor has most features that low cost with
appropriate to different application [9].

E. Infrared Radiation(IR) sensor

Wave length of the Infrared radiation among around 750


nm 1 mm , spanning five orders of scale. The longer wave
Fig. 1. Arduino UNO length income that has the lower frequency.Object normally
radiate infrared through the spectrum for wave lengths, then
B. XBee the single exact section from spectrum is to attention because
XBee technology is the exposed global standard the sensor typically considered single for gather radiation
manufactured for IEEE 802.15.4 MAC/PHY. It describes inside the precise BW [10].
network layer over 802.15.4 that supporting progressive net
routing abilities [7]. F. Software
Arduino program, which is symbolized from Arduino
ZigBee interacting element circuit with sensors techniques (IDE), which usage for progress with for estimate projected
for innovative category for wireless, small, little power design. Whatever, diverse category libraries, that are well-
network techniques, that using several techniques for their
matched and the Arduino IDE which using in the program
advantages, like a low (complexity with power consumption,
code for the design as LCD, keypad, I2 C protocol libraries.
with cost), great (efficiency with reliability) with the network
coverage zone that very much wide [7]. IV. PROPOSED DESIGN
ZigBee is often confused with XBee. In fact, these modules After completed the program code for the system which is
are distinct from each other: ZigBee is a communication written in Arduino c Language and the flow chart of the
protocol, whereas XBee supports ZigBee. system for both the Station (transmitter and receiver) shown in
Fig.2. Then the design for the proposed system that has the
Arduino UNO like Base station which content the ZigBee
technology the ZigBee unit configured and control the Base
station performance like coordinator as shown in Fig 3.

Start

Enter Temperature, Gas


Sensor and IR Data from
Sensors to ZigBee Router

Fig. 3. Base station coordinator

We employ three types of sensors on the sensor node, the


LM35, MQ-2- Gas sensor and IR sensor for generate and
ZigBee Router Process and send transmit the data throw ZigBee Transceiver and then tested the
data to base station by Serial system which he results from the sensors perfectly as shown in
Communication Fig 4. and Fig 5.

End

(a)

Start

ZigBee receive
Data from Fig. 4. Sensor node Router
Router

Arduino receive Data from ZigBee by


Serial Communication

Data equal to
normal state

Arduino active alarm


system

Fig. 5. Full Prototype


V. CONCLUSION
End
This paper presented a design for low cost smart house
system controller by using Arduino Uno microcontlloer with
(b)
ZigBee technique to monitor the base station for the alarm
system plus the sensors node. The system was designed for as
Fig.2. The flowchart for the proposed system.
low cost and power consumption, which flexibility and
feasibility in the way that can be handled. The other advantage
of this system is providing an exit node for the Wireless
Sensor Network. Moreover, the system is capable to support
additional detecting node for the exact scheming. The tested
results confirmed the effectiveness for this system.

VI. REFERENCES
[1] FangChen,LinlinQin Design and Implementation of ZigBeeWireless
Sensor andControl Network System in Greenhous Proceedings of the
36th Chinese Control Conference July 26-28, 2017, Pp 8982- 8986
Dalian,China.
[2] Shih-Pang Tseng, Bo-Rong Li, Jun-Long Pan, and Chia- Ju Lin,” An
Application of Internet of Things with Motion Sensing on Smart House
“, 978-1-4799-6284-6/14 2014 IEEE.
[3] Nazrul Anuar Nayan, Ili A.M. Ikhsan Yasuhiro Takahashi, Using
ZigBee Communication Technology in a Smart Home Wireless Sensor
Network, Proceedings of Second International Conference on Modern
Trends in Science, Engineering and Technology pp 19-25,2014.
[4] Hiro Gabriel , Edna Dias IoT Architecture to Enable
Intercommunication Through REST API and UPnP Using IP, ZigBee
and Arduino 1st International Workshop on Internet of Things
Communications and Technologies (IoT'13) pp 53- 60 ©2013 IEEE.
[5] Hadi Jameel, Husam Kareem, Low-Cost Energy-Efficient Smart
Monitoring System Using Open-Source Microcontrollers, International
Review of Automatic Control (I.RE.A.CO.), Vol. 9, N. 6 pp 423-428
November 2016.
[6] Poonam B. Patil1, Rupali R. Patil2, Swati V. Patil3, Home Automation
System Using Android and Arduino Board, International Journal of
Innovative Research in Science, Engineering and Technology Vol. 5,
Issue 4, pp 5076-5082, 2016.
[7] Zaid Abdulzahra Jabbar, R.S. Kawitkar, Implementation of Smart Home
Control by Using Low Cost Arduino & Android Design, International
Journal of Advanced Research in Computer and Communication
Engineering Vol. 5, Issue 2, February 2016.

[8] https://learn.adafruit.com/adafruit-mics5524-gas-sensor-breakout

[9] https://learn.adafruit.com/tmp36-temperature-sensor

[10] https://learn.adafruit.com/ir-sensor/using-an-ir-sensor

You might also like