SlideShare a Scribd company logo
Copyright © 2016 Authors. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted
use, distribution, and reproduction in any medium, provided the original work is properly cited.
International Journal of Engineering & Technology, 7 (4) (2018) 3914-3917
International Journal of Engineering & Technology
Website: www.sciencepubco.com/index.php/IJET
doi: 10.14419/ijet. v7i4.13112
Research paper
Design and Implementation Smart Home Alarm System with
Zigbee transceiver
Hadi Jameel Hadi1
*, Zaid Khudhur Hussein2
, Waail Mahmod Lafta3
, Zaenab Kareem Alammar3
, Huda
Almaarofi3
1
Al-Mustafa University College, Baghdad- Iraq
2
Al-Esraa University College, Baghdad- Iraq
3
Griffith University, Australia
*Corresponding author E-mail: hadi.cet@almustafauniversity.edu.iq
Abstract
The smart house system is a significant area for the Internet of Things (IoT) with appropriate demands that structure for the smart home
usages. The proposal for the smart home system (HCS) via IoT built in XBee is presented in this paper. The system design uses XBee
wireless technique communications, which is able to send and receive the transmission data between the central controller unit and vari-
ous house sensor nodes to reading and sending Temperature, Gas Sensing and IR Security information. The tested results illustration the
wireless monitoring usage for the ability is recognized. The control proposed system design is simple and achievable, which can be used
for smart house remote monitoring extensively.
Keywords: House Control System (HCS), Wireless Sensor Network (WSN), ZigBee, Arduino.
1. Introduction
When electrical energy and information technology were intro-
duced into households at the end of the 20th century. The use of
electrical household devices has increased rapidly. It created the
need to automatize and control the living environment, and this is
where the term “Smart House” originates from. A “Smart House”
is commonly defined as an “automatic networking technology for
integrating the equipment with appliances which the complete
house be able for observed with controlled centrally such as a
single device. Even though the idea of a smart house existed be-
fore, system implementation was possible only after appropriate
technical solutions were offered. With the appearance of a micro-
controller, cheap processor production and personal computers,
the smart home system has become cheaper and more accessible.
Today, it is possible to have a low-price, fast and simple home
control system HCS.
In order to achieve this level of complex automation, the HCS
should be modular and robust. When upgrading or downgrading
the system (depending on the end-user needs) with various types
of sensors, switches, valves, motors, etc., the HCS has to be sta-
ble, adaptable and responsive. To achieve a stable, adaptable and
responsive system, future work should be focused on expanding
hardware support and running stability tests for various elements
and operational conditions. Considering HCS software, extra func-
tionalities should be implemented to expand and simplify the us-
er’s interaction with the system. It can be accomplished with the
implementation of speech and face recognition software, probabil-
istic behavior recognition methods and creating a simple, efficient
and enjoyable user interface. The primary goal of the HCS was to
ensure a more comfortable and easier way of life. In a short period
of time, the primary goal of the HCS was expanded to optimize
energy consumption and increase environmental safety. Today,
the smart home system unifies devices managing lighting, win-
dows, doors, heating, air conditioning, security and surveillance,
various multimedia devices.
2. Related Works
In this section, some considered changed techniques using Ar-
duino and ZigBee technology System with their features are pre-
sented. Fang Chen, Linlin Qin [1] presented the ZigBee with tem-
perature with humidity sensors was usage like sensor node, a fan
and the wet curtain formed as two controller nodes which are re-
spectively connected with the ZigBee module.
Jun-Long Pan and Chia-Ju [2] presented Smart Home Monitor &
Supervisor (SHMS), using ZigBee techniques, the sensors with
actuators that attached via a ZigBee technique system. The design
is a simple smart socket, that works remote control by ZigBee.
Nazrul Nayan and Ili A.M. Ikhsan [3] presented design and im-
provement of ZigBee technique, that functions as a communica-
tion channel for hardware and sensors in a home automation
International Journal of Engineering & Technology 3915
method for smart houses. An (LCD) is used to show the system
output on a receiver.
Hiro Gabriel Ferreira, Edna Dias [4] presented prototypical built
from standard technology for allowing occasion sense with con-
trolling for electrical equipment’s, then extant with advanced de-
veloping, over the RESTful or UPnP techniques to enable expan-
sion is easy for uses which be able to efficiently improving the life
through an apparent interface by regular public.
3. System Implementation
In this paper, a design with the implementation of the device to a
proposed structure is presented. The structure scheme has two
parts: hardware with software. The hardware part has components
of the design (Arduino Uno, ZigBee, LM35 Temperature, MQ-2
Gas, and Infrared Radiation (IR) Sensor) and software part is the
programing language in this paper using Arduino C that written
and saved in the Arduino Uno (the code) with procedures which
run and control hardware.
3.1. Arduino
Most hardware modules for design are based on Arduino that sug-
gested for microcontroller, form scheme, the device contains one
principal microcontroller. Arduino Uno is constructed on the AT-
mega328 microcontroller as shown in Fig. 1. [5].
Arduino has 14 digital input/output pins (6 pins can be used as
PWM), 6 analog inputs, 16 MHz quartz crystal, USB connection,
power jack and 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 from Arduino inte-
grated development environment (IDE), that using for progress
with for estimating the designed system [6].
Fig. 1: Arduino UNO
3.2. XBee
The operation of widespread is currently wireless transmission
methods, such as Wi-Fi, WiMAX, LTE, etc., based on the use of
radio frequency channels and ZigBee [7].
XBee technology is the exposed global standard manufactured for
IEEE 802.15.4 MAC/PHY. It describes a network layer over
802.15.4 that supporting progressive net routing abilities [8].
And using the AES method for the encryption, The AES method
is a symmetric-key secret message that is in cooperation with the
transmitter and the receiver to employ a solitary key for encrypt-
ing and decrypting. The data block length is unchanging to be 128
bits, although, the length is possible to be 128, 192 or 256 bits.
Additionally, the AES is an iterative procedure, every iteration is
known as a round and the overall number of rounds is 10, 12 or 14
if key length is 128, 192 or 256 in that order. The 128-bit data
block is split into 16 bytes. These bytes are configured to a 4×4
array called the state and the entire inner processes of the AES
algorithm are carried out on the state (Karthigaikumar and
Rasheed, 2011) [9].
Many wireless sensor networks have utilized ZigBee as the com-
munication technology among its sensor nodes, especially the
networks that are using grid topology such as [10], [11].
ZigBee interacts member circuit with sensor techniques to the
innovative category for wireless, small, little power network tech-
niques, that using several techniques for their advantages, like a
low (complexity with power consumption, with cost), great (effi-
ciency with reliability) with the network coverage zone that very
much wide [8].
ZigBee confused with XBee mostly. These modules are distinct
from each other, ZigBee is a communication protocol, when XBee
supports ZigBee.
The XBee module can be used as a medium for interaction and a
communication module between microcontrollers and serves as a
wireless network for data transfer. Two types of XBee devices are
used in home automation: XBee S1 and XBee S2[6].
Table 1: Comparison of characteristics of Bluetooth, WLAN and
ZigBee [3].
3.3. LM35 Temperature Sensor
LM35 series is an accurate integrated circuit temperature devices.
The sensor does not require any external adjustment or else extra
for delivering usual precisions from ±1⁄4°C in a room with ±3⁄4°C,
within complete range from −55 to +150°C [12].
3.4. MQ-2 Gas Sensor
MQ-2 gas sensor can detect some gases. Sensitive material for
SnO2, then for fresh airborne have a lower conductivity. The sen-
sor takes high sensitivity for LPG, Propane with Hydrogen, which
can be useful for Methane and additional flammable steam. The
sensor has most features that low cost with appropriate to different
application [13].
3.5. Infrared Radiation (IR) sensor
The wavelength of the Infrared radiation among is around 750 nm
to 1 mm, spanning five orders of scale. The longer wavelength
3916 International Journal of Engineering & Technology
income that has the lower frequency. Object normally radiate in-
frared through the spectrum for wavelengths, then the single exact
section from the spectrum is to attention because the sensor typi-
cally considered single to gather radiation inside the precise BW
[14].
3.6. Software
Arduino program is taken from Arduino (IDE), which is used for
progress with for projected design. Whatever, diverse category
libraries that are well-matched with the Arduino IDE using in the
program code for the design as in LCD, keypad, I2 C protocol
libraries.
4. Proposed design
After completing the program code for the system which is written
in Arduino c Language and the flow chart of the system for both
the Station (transmitter and receiver) shown in Fig.2, the base
station of designed system has Arduino UNO and ZigBee technol-
ogy. The ZigBee unit configures and controls the Base station
performance like coordinator as shown in Fig 3.
The proposed system working steps has two stages (Transmitter
stage and receiver stage). In transmitter stage, send Temperature,
Gas Sensor and IR Data from Sensors by using ZigBee Router,
and send data to base station by using Serial Communication. In
receiver stage, ZigBee coordinator receives Data from ZigBee
Router. Arduino receiving Data from ZigBee is by using Serial
Communication. Then, if Data equal to normal conditions, Ar-
duino can activate alarm system.
(a) Tx Section
(b) Rx Section
Fig. 2: The flowcharts for the proposed system
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 generating and transmitting
the data through ZigBee Transceiver and then tested the system.
The results from the sensors perfectly are shown in Figs. 4-5.
International Journal of Engineering & Technology 3917
Fig. 4: Sensor node Router
Fig. 5: Full Prototype
5. Conclusion
In this paper, a design for low cost smart house system controller
by using Arduino Uno microcontroller with ZigBee technique to
monitor the base station for the alarm system plus the sensors
node, system was designed as easy, low cost, and low power con-
sumption system which gives the reliability with a self-effacing
way of handling. The other advantage is providing gateway node
for the Wireless Sensor Network. The system capability for addi-
tional detecting node is able to add application of exact scheming.
Details from the system with the tested result have confirmed
illustrations and usefulness for this system.
References
[1] FangChen,LinlinQin, ”Design and Implementation of ZigBee Wire-
less Sensor and Control Network System in Greenhous”, Proceed-
ings of the 36th Chinese Control Conference, Pp 8982- 8986 Da-
lian,China. July 26-28, 2017
[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 Intercommu-
nication Through REST API and UPnP Using IP”, ZigBee and Ar-
duino 1st International Workshop on Internet of Things Communi-
cations 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”, Interna-
tional 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 Auto-
mation System Using Android and Arduino Board”, International
Journal of Innovative Research in Science, Engineering and Tech-
nology Vol. 5, Issue 4, pp 5076-5082, 2016.
[7] Dr. Hussam Dheaa Kamel, Hadi Jameel Hadi, “The Characteristic
of Li-Fi Technology Comparing with Wi-Fi”, International Journal
of Computation and Applied Sciences IJOCAAS, Volume2, Issue 2,
April 2017.
[8] Zaid Abdulzahra Jabbar, R.S. Kawitkar, “Implementation of Smart
Home Control by Using Low Cost Arduino & Android Design”, In-
ternational Journal of Advanced Research in Computer and Com-
munication Engineering Vol. 5, Issue 2, February 2016.
[9] Estabraq Abdul Redaa Kadhim Zaid Khudhur Hussein and Hadi
Jameel Hadi “AES Cryptography Algorithm Based on Intelligent
Blum-Blum-Shub PRNGs”, Journal of Engineering and Applied
Sciences 12 (Special Issue 10): 9035-9040, 2017.
[10] HUSAM KAREEM, S.J. HASHIM, SHAMALA SUBERAMA-
NIAM and ADUWATI SALI, “Energy Efficient Two Stage Chain
Routing Protocol (TSCP) for wireless sensor networks”, Journal of
Theoretical and Applied Information Technology, Vol. 59 No.2, 20
January 2014
[11] Husam Kareem Farhan, “Enhanced Chain-Cluster Based Mixed
Routing Algorithm for Wireless Sensor Networks”, Journal of En-
gineering, Volume 22 January 2016
[12] https://learn.adafruit.com/adafruit-mics5524-gas-sensor-breakout
[13] https://learn.adafruit.com/tmp36-temperature-sensor
[14] https://learn.adafruit.com/ir-sensor/using-an-ir-sensor

More Related Content

PDF
Maintain load balancing in wireless sensor networks using virtual grid based ...
PDF
Design and implementation smart home alarm system with zigbee transceiver
PDF
Low cost energy-efficient smart monitoring system using open-source microcont...
PPTX
Bi directional visitor counter
PDF
Low cost smart weather station using Arduino and ZigBee
PDF
IRJET- Wireless Sensor Network Based Internet of things for Environmental...
PDF
Home Automation System using Arduino and GSM
PPTX
Wild fire monitoring system
Maintain load balancing in wireless sensor networks using virtual grid based ...
Design and implementation smart home alarm system with zigbee transceiver
Low cost energy-efficient smart monitoring system using open-source microcont...
Bi directional visitor counter
Low cost smart weather station using Arduino and ZigBee
IRJET- Wireless Sensor Network Based Internet of things for Environmental...
Home Automation System using Arduino and GSM
Wild fire monitoring system

What's hot (18)

PDF
Secure remote protocol for fpga reconfiguration
PDF
Kv2518941899
PDF
PDF
Intelligent fire detection and alert system using labVIEW
PDF
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
PDF
Ethernet based home appliances control
PDF
IRJET- Design and Implementation of Smart City using IoT
PDF
Android Based Switch Controlling Technique for LED BulbsUsing Bluetooth/Wi-Fi...
PPT
smart Home energy Management System
PDF
Monitoring of Forest Fire Detection System using ZigBee
PDF
Gas management & disaster system using ZigBee
PDF
Study of ZIGBEE Technology and its Application in Wireless Automation System
PPTX
PPT on Bluetooth Based Wireless Sensor Networks
PDF
Project Dissertation - ZigBee Based Wireless Sensor Network
PDF
Bluetooth based smart sensor networks
PPT
Bluetooth based-smart-sensor-network
PDF
IRJET- IoT based Street Light Monitoring & Control with Lora/Lorawan Network
PDF
IOT Based Smart Power Management System using WSN
Secure remote protocol for fpga reconfiguration
Kv2518941899
Intelligent fire detection and alert system using labVIEW
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Ethernet based home appliances control
IRJET- Design and Implementation of Smart City using IoT
Android Based Switch Controlling Technique for LED BulbsUsing Bluetooth/Wi-Fi...
smart Home energy Management System
Monitoring of Forest Fire Detection System using ZigBee
Gas management & disaster system using ZigBee
Study of ZIGBEE Technology and its Application in Wireless Automation System
PPT on Bluetooth Based Wireless Sensor Networks
Project Dissertation - ZigBee Based Wireless Sensor Network
Bluetooth based smart sensor networks
Bluetooth based-smart-sensor-network
IRJET- IoT based Street Light Monitoring & Control with Lora/Lorawan Network
IOT Based Smart Power Management System using WSN
Ad

Similar to Design and implementation smart home alarm system with zig bee transceiver (20)

PDF
Ijarcet vol-2-issue-4-1368-1373
PDF
WSN Based Temperature Monitoring System for Multiple Locations in Industry
PDF
Low cost smart weather station using Arduino and zig bee
PDF
Low cost smart weather station using arduino and zig bee
PDF
IRJET- Design and Development of Low Power Sensor Node For Plant Monitori...
PDF
A ZigBee Based Wireless Sensor Network for an Agricultural Environment
PPTX
Deigne and Construction Smart Remote(Smart Phone ) base Home appliance contr...
PDF
Thinking differently zig bee based smart home automation
PPTX
Dharshan INTERNSHIP PPT-1.pptx
PDF
Wireless Data Transfer in Under Water System
PDF
Dynamic Communication of Wireless Sensor Network
PDF
Design and implementation of a smart home system with two levels of security ...
PDF
Electrical Appliances Control using Wi-Fi and Laptop
PDF
M44096368
PDF
Iaetsd flexible and reconfigurable soc for sensor network under zynq processor
PDF
Application of Zigbee in Smart Home with Dynamic Routing Algorithm
PDF
IRJET- Home Automation using IoT: Review
PDF
A SECURITY PROTOCOL FOR WIRELESS SENSOR NETWORKS
PDF
A SECURITY PROTOCOL FOR WIRELESS SENSOR NETWORKS
PDF
Design and implementation home security system and monitoring by using wirele...
Ijarcet vol-2-issue-4-1368-1373
WSN Based Temperature Monitoring System for Multiple Locations in Industry
Low cost smart weather station using Arduino and zig bee
Low cost smart weather station using arduino and zig bee
IRJET- Design and Development of Low Power Sensor Node For Plant Monitori...
A ZigBee Based Wireless Sensor Network for an Agricultural Environment
Deigne and Construction Smart Remote(Smart Phone ) base Home appliance contr...
Thinking differently zig bee based smart home automation
Dharshan INTERNSHIP PPT-1.pptx
Wireless Data Transfer in Under Water System
Dynamic Communication of Wireless Sensor Network
Design and implementation of a smart home system with two levels of security ...
Electrical Appliances Control using Wi-Fi and Laptop
M44096368
Iaetsd flexible and reconfigurable soc for sensor network under zynq processor
Application of Zigbee in Smart Home with Dynamic Routing Algorithm
IRJET- Home Automation using IoT: Review
A SECURITY PROTOCOL FOR WIRELESS SENSOR NETWORKS
A SECURITY PROTOCOL FOR WIRELESS SENSOR NETWORKS
Design and implementation home security system and monitoring by using wirele...
Ad

Recently uploaded (20)

PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
PPT on Performance Review to get promotions
PPTX
Welding lecture in detail for understanding
PPTX
OOP with Java - Java Introduction (Basics)
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
composite construction of structures.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Project quality management in manufacturing
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
bas. eng. economics group 4 presentation 1.pptx
Lecture Notes Electrical Wiring System Components
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Construction Project Organization Group 2.pptx
PPT on Performance Review to get promotions
Welding lecture in detail for understanding
OOP with Java - Java Introduction (Basics)
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
composite construction of structures.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Project quality management in manufacturing
Internet of Things (IOT) - A guide to understanding
Operating System & Kernel Study Guide-1 - converted.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Sustainable Sites - Green Building Construction
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Design and implementation smart home alarm system with zig bee transceiver

  • 1. Copyright © 2016 Authors. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. International Journal of Engineering & Technology, 7 (4) (2018) 3914-3917 International Journal of Engineering & Technology Website: www.sciencepubco.com/index.php/IJET doi: 10.14419/ijet. v7i4.13112 Research paper Design and Implementation Smart Home Alarm System with Zigbee transceiver Hadi Jameel Hadi1 *, Zaid Khudhur Hussein2 , Waail Mahmod Lafta3 , Zaenab Kareem Alammar3 , Huda Almaarofi3 1 Al-Mustafa University College, Baghdad- Iraq 2 Al-Esraa University College, Baghdad- Iraq 3 Griffith University, Australia *Corresponding author E-mail: hadi.cet@almustafauniversity.edu.iq Abstract The smart house system is a significant area for the Internet of Things (IoT) with appropriate demands that structure for the smart home usages. The proposal for the smart home system (HCS) via IoT built in XBee is presented in this paper. The system design uses XBee wireless technique communications, which is able to send and receive the transmission data between the central controller unit and vari- ous house sensor nodes to reading and sending Temperature, Gas Sensing and IR Security information. The tested results illustration the wireless monitoring usage for the ability is recognized. The control proposed system design is simple and achievable, which can be used for smart house remote monitoring extensively. Keywords: House Control System (HCS), Wireless Sensor Network (WSN), ZigBee, Arduino. 1. Introduction When electrical energy and information technology were intro- duced into households at the end of the 20th century. The use of electrical household devices has increased rapidly. It created the need to automatize and control the living environment, and this is where the term “Smart House” originates from. A “Smart House” is commonly defined as an “automatic networking technology for integrating the equipment with appliances which the complete house be able for observed with controlled centrally such as a single device. Even though the idea of a smart house existed be- fore, system implementation was possible only after appropriate technical solutions were offered. With the appearance of a micro- controller, cheap processor production and personal computers, the smart home system has become cheaper and more accessible. Today, it is possible to have a low-price, fast and simple home control system HCS. In order to achieve this level of complex automation, the HCS should be modular and robust. When upgrading or downgrading the system (depending on the end-user needs) with various types of sensors, switches, valves, motors, etc., the HCS has to be sta- ble, adaptable and responsive. To achieve a stable, adaptable and responsive system, future work should be focused on expanding hardware support and running stability tests for various elements and operational conditions. Considering HCS software, extra func- tionalities should be implemented to expand and simplify the us- er’s interaction with the system. It can be accomplished with the implementation of speech and face recognition software, probabil- istic behavior recognition methods and creating a simple, efficient and enjoyable user interface. The primary goal of the HCS was to ensure a more comfortable and easier way of life. In a short period of time, the primary goal of the HCS was expanded to optimize energy consumption and increase environmental safety. Today, the smart home system unifies devices managing lighting, win- dows, doors, heating, air conditioning, security and surveillance, various multimedia devices. 2. Related Works In this section, some considered changed techniques using Ar- duino and ZigBee technology System with their features are pre- sented. Fang Chen, Linlin Qin [1] presented the ZigBee with tem- perature with humidity sensors was usage like sensor node, a fan and the wet curtain formed as two controller nodes which are re- spectively connected with the ZigBee module. Jun-Long Pan and Chia-Ju [2] presented Smart Home Monitor & Supervisor (SHMS), using ZigBee techniques, the sensors with actuators that attached via a ZigBee technique system. The design is a simple smart socket, that works remote control by ZigBee. Nazrul Nayan and Ili A.M. Ikhsan [3] presented design and im- provement of ZigBee technique, that functions as a communica- tion channel for hardware and sensors in a home automation
  • 2. International Journal of Engineering & Technology 3915 method for smart houses. An (LCD) is used to show the system output on a receiver. Hiro Gabriel Ferreira, Edna Dias [4] presented prototypical built from standard technology for allowing occasion sense with con- trolling for electrical equipment’s, then extant with advanced de- veloping, over the RESTful or UPnP techniques to enable expan- sion is easy for uses which be able to efficiently improving the life through an apparent interface by regular public. 3. System Implementation In this paper, a design with the implementation of the device to a proposed structure is presented. The structure scheme has two parts: hardware with software. The hardware part has components of the design (Arduino Uno, ZigBee, LM35 Temperature, MQ-2 Gas, and Infrared Radiation (IR) Sensor) and software part is the programing language in this paper using Arduino C that written and saved in the Arduino Uno (the code) with procedures which run and control hardware. 3.1. Arduino Most hardware modules for design are based on Arduino that sug- gested for microcontroller, form scheme, the device contains one principal microcontroller. Arduino Uno is constructed on the AT- mega328 microcontroller as shown in Fig. 1. [5]. Arduino has 14 digital input/output pins (6 pins can be used as PWM), 6 analog inputs, 16 MHz quartz crystal, USB connection, power jack and 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 from Arduino inte- grated development environment (IDE), that using for progress with for estimating the designed system [6]. Fig. 1: Arduino UNO 3.2. XBee The operation of widespread is currently wireless transmission methods, such as Wi-Fi, WiMAX, LTE, etc., based on the use of radio frequency channels and ZigBee [7]. XBee technology is the exposed global standard manufactured for IEEE 802.15.4 MAC/PHY. It describes a network layer over 802.15.4 that supporting progressive net routing abilities [8]. And using the AES method for the encryption, The AES method is a symmetric-key secret message that is in cooperation with the transmitter and the receiver to employ a solitary key for encrypt- ing and decrypting. The data block length is unchanging to be 128 bits, although, the length is possible to be 128, 192 or 256 bits. Additionally, the AES is an iterative procedure, every iteration is known as a round and the overall number of rounds is 10, 12 or 14 if key length is 128, 192 or 256 in that order. The 128-bit data block is split into 16 bytes. These bytes are configured to a 4×4 array called the state and the entire inner processes of the AES algorithm are carried out on the state (Karthigaikumar and Rasheed, 2011) [9]. Many wireless sensor networks have utilized ZigBee as the com- munication technology among its sensor nodes, especially the networks that are using grid topology such as [10], [11]. ZigBee interacts member circuit with sensor techniques to the innovative category for wireless, small, little power network tech- niques, that using several techniques for their advantages, like a low (complexity with power consumption, with cost), great (effi- ciency with reliability) with the network coverage zone that very much wide [8]. ZigBee confused with XBee mostly. These modules are distinct from each other, ZigBee is a communication protocol, when XBee supports ZigBee. The XBee module can be used as a medium for interaction and a communication module between microcontrollers and serves as a wireless network for data transfer. Two types of XBee devices are used in home automation: XBee S1 and XBee S2[6]. Table 1: Comparison of characteristics of Bluetooth, WLAN and ZigBee [3]. 3.3. LM35 Temperature Sensor LM35 series is an accurate integrated circuit temperature devices. The sensor does not require any external adjustment or else extra for delivering usual precisions from ±1⁄4°C in a room with ±3⁄4°C, within complete range from −55 to +150°C [12]. 3.4. MQ-2 Gas Sensor MQ-2 gas sensor can detect some gases. Sensitive material for SnO2, then for fresh airborne have a lower conductivity. The sen- sor takes high sensitivity for LPG, Propane with Hydrogen, which can be useful for Methane and additional flammable steam. The sensor has most features that low cost with appropriate to different application [13]. 3.5. Infrared Radiation (IR) sensor The wavelength of the Infrared radiation among is around 750 nm to 1 mm, spanning five orders of scale. The longer wavelength
  • 3. 3916 International Journal of Engineering & Technology income that has the lower frequency. Object normally radiate in- frared through the spectrum for wavelengths, then the single exact section from the spectrum is to attention because the sensor typi- cally considered single to gather radiation inside the precise BW [14]. 3.6. Software Arduino program is taken from Arduino (IDE), which is used for progress with for projected design. Whatever, diverse category libraries that are well-matched with the Arduino IDE using in the program code for the design as in LCD, keypad, I2 C protocol libraries. 4. Proposed design After completing the program code for the system which is written in Arduino c Language and the flow chart of the system for both the Station (transmitter and receiver) shown in Fig.2, the base station of designed system has Arduino UNO and ZigBee technol- ogy. The ZigBee unit configures and controls the Base station performance like coordinator as shown in Fig 3. The proposed system working steps has two stages (Transmitter stage and receiver stage). In transmitter stage, send Temperature, Gas Sensor and IR Data from Sensors by using ZigBee Router, and send data to base station by using Serial Communication. In receiver stage, ZigBee coordinator receives Data from ZigBee Router. Arduino receiving Data from ZigBee is by using Serial Communication. Then, if Data equal to normal conditions, Ar- duino can activate alarm system. (a) Tx Section (b) Rx Section Fig. 2: The flowcharts for the proposed system 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 generating and transmitting the data through ZigBee Transceiver and then tested the system. The results from the sensors perfectly are shown in Figs. 4-5.
  • 4. International Journal of Engineering & Technology 3917 Fig. 4: Sensor node Router Fig. 5: Full Prototype 5. Conclusion In this paper, a design for low cost smart house system controller by using Arduino Uno microcontroller with ZigBee technique to monitor the base station for the alarm system plus the sensors node, system was designed as easy, low cost, and low power con- sumption system which gives the reliability with a self-effacing way of handling. The other advantage is providing gateway node for the Wireless Sensor Network. The system capability for addi- tional detecting node is able to add application of exact scheming. Details from the system with the tested result have confirmed illustrations and usefulness for this system. References [1] FangChen,LinlinQin, ”Design and Implementation of ZigBee Wire- less Sensor and Control Network System in Greenhous”, Proceed- ings of the 36th Chinese Control Conference, Pp 8982- 8986 Da- lian,China. July 26-28, 2017 [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 Intercommu- nication Through REST API and UPnP Using IP”, ZigBee and Ar- duino 1st International Workshop on Internet of Things Communi- cations 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”, Interna- tional 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 Auto- mation System Using Android and Arduino Board”, International Journal of Innovative Research in Science, Engineering and Tech- nology Vol. 5, Issue 4, pp 5076-5082, 2016. [7] Dr. Hussam Dheaa Kamel, Hadi Jameel Hadi, “The Characteristic of Li-Fi Technology Comparing with Wi-Fi”, International Journal of Computation and Applied Sciences IJOCAAS, Volume2, Issue 2, April 2017. [8] Zaid Abdulzahra Jabbar, R.S. Kawitkar, “Implementation of Smart Home Control by Using Low Cost Arduino & Android Design”, In- ternational Journal of Advanced Research in Computer and Com- munication Engineering Vol. 5, Issue 2, February 2016. [9] Estabraq Abdul Redaa Kadhim Zaid Khudhur Hussein and Hadi Jameel Hadi “AES Cryptography Algorithm Based on Intelligent Blum-Blum-Shub PRNGs”, Journal of Engineering and Applied Sciences 12 (Special Issue 10): 9035-9040, 2017. [10] HUSAM KAREEM, S.J. HASHIM, SHAMALA SUBERAMA- NIAM and ADUWATI SALI, “Energy Efficient Two Stage Chain Routing Protocol (TSCP) for wireless sensor networks”, Journal of Theoretical and Applied Information Technology, Vol. 59 No.2, 20 January 2014 [11] Husam Kareem Farhan, “Enhanced Chain-Cluster Based Mixed Routing Algorithm for Wireless Sensor Networks”, Journal of En- gineering, Volume 22 January 2016 [12] https://learn.adafruit.com/adafruit-mics5524-gas-sensor-breakout [13] https://learn.adafruit.com/tmp36-temperature-sensor [14] https://learn.adafruit.com/ir-sensor/using-an-ir-sensor