3 2 Publikasi AndiAdriansyahEECCIS2014New

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/286592731

Design of Small Smart Home system based on Arduino

Conference Paper · August 2014


DOI: 10.1109/EECCIS.2014.7003731

CITATIONS READS

78 12,362

2 authors:

Andi Adriansyah Akhmad Wahyu Dani


Universitas Mercu Buana Universitas Mercu Buana
76 PUBLICATIONS 530 CITATIONS 19 PUBLICATIONS 174 CITATIONS

SEE PROFILE SEE PROFILE

All content following this page was uploaded by Andi Adriansyah on 25 May 2016.

The user has requested enhancement of the downloaded file.


EECCIS2014
The 7th – Electrical Power, Electronics, Communications, Controls, and Informatics International Seminar 2014

Design of Small Smart Home System


Based on Arduino

Andi Adriansyah Akhmad Wahyu Dani


Department of Electrical Engineering,
Faculty of Engineering, Universitas Mercu Buana
Jl. Raya Meruya Selatan, Kembangan, Jakarta, 11650, Indonesia
andi@mercubuana.ac.id

Abstract -- Smart Home is applied in order to provide light systems, fire and smoke sensors. ElShafee and Hamed
comfort, energy efficiency and better security. Smart Home [7] presents a new design and prototype implementation of a
System is still rarely used in Indonesia because of the cost and the Home Automation System that uses WiFi technology as a
difficulty of getting the device. The objective of this paper is to network infrastructure that connects its parts. The proposed
offer a Small Smart Home System designed and created by
system consists of two main parts. The first part is the server
utilizing WLAN network based on Arduino microcontroller. The
system is able to monitor and control lights, room temperature, which presents the core systems that manage, control, and
alarms and other household appliances. Results from testing the monitors the user's home. The second part is a hardware
system show proper control and control monitoring functions can interface module. Jin [8] designed and implemented a
be performed from a device connected to a network that supports simulation model of a simple network that is characterized by
HTML5. a network Radio Broadcast Data System (RBDS) and a
combination of ZigBee / IEEE 802.15.4 and HomePlug C & C
Keywords -- Smart Home, Microcontroler Arduino, WLAN on Network Simulator Version 2 (NS-2) that supports multiple
I. INTRODUCTION interfaces / channel. Hamed [9] using LabView software to
monitor temperature, humidity, lighting, fire and burglar
Smart Home is technology to make a house to become alarms, gas density from the house and has an infrared sensor
intelligent and automated. Usually, that technology has to guarantee the security of the family. This system also has an
automation systems for lighting, temperature control, security internet connection to monitor and control the home
and many other functions [1]. According to Robles and Kim appliances from anywhere in the world. This approach
[2], Smart Home is the term for determining residence using combines hardware and software technologies. Schaefer and
the control system to integrate home automation system. The Kays [10] focus on a system, which utilizes good channels and
system allows integrating electronic devices controller with avoids unnecessary overhead, but at the same time is able to
only a few buttons that are connected with the simple use alternative channels in case of a deep fades. The optimal
telecommunications system. Smart Home includes number of channels for the 2.4 GHz range is identified.
communications, entertainment, security, convenience, and
information systems [3].There are several terms that are Unfortunately, smart home technology is very few adopted
commensurate with the Smart Home such as: Home in Indonesia. Most are adopted in apartments, residential, and
Automation, Intelligent Building or Home Networking. luxury homes. This is because it is very expensive to adopt
smart home i.e. for complex telecommunications and control
Since it was first formally introduced by the American systems and some equipment that are not available in the
Association of House Builders [4], Smart Home drives a lot of market. This paper offers a small smart home system to
research to develop performance, types of controlled address problems above. The small smart home systems is
equipment and telecommunications systems more reliable. designed with the Arduino microcontroller-based with WLAN
Several studies in the field of Smart Home are as follows. systems, which is able to monitor and control lights, room
Khiyal Khan, and Shehzadi [5] focused on controlling temperature, alarms for detecting suspicious movements, and
household appliances to provide security against tampering other household appliances.
and provide security when the user is away from the place.
The system is SMS based and uses wireless technology. Kaur After briefly describing the smart home, the next section
[6] designed a microcontroller-based Home Automation of this paper is to discuss design process and parts of the
System which focuses on security that includes password- system designed. Several experiments were conducted to test
based locking system, counter-dependent automatic switching the performance of the system. Finally, this paper will be
system of room, temperature controlled cooling system, saving closed with the conclusion.

978-1-4799-6946-3/14/$31.00©2014 IEEE 123


EECCIS2014
The 7th – Electrical Power, Electronics, Communications, Controls, and Informatics International Seminar 2014

II. SYSTEM DESIGN


The system was designed by having several blocks,
namely: input/output block, the microcontroller block,
networking block and controlling/monitoring devices block.
The whole system can be seen in Fig. 1. Detailed explanations
of each block are as follows.

MONITORING /
INPUT / OUTPUT CONTROL DEVICE

LAMP 1
PIR 1
NETWORKING
LAMP 1
LM35 MIKRONTROLLER
Fig. 3. Connection Circuit of LM35 Sensor
LAMP 3 WIRELESS
PIR 2 ARDUINO ETHERNET
ROUTER

STOP CONTACT BUZZER Output part consists of the relays and buzzer. Buzzer
STOP CONTACT
RELAY
serves as a warning alarm when there is suspicious movement.
Relays connected with lamps and socket. Relay circuit is
shown in Fig. 4.

Fig. 1. Block Diagram of Proposed System

A. Input/Output Block
Input/output block consists of two pieces of PIR (Passive
Infra-Red) motion sensor and an LM35 temperature sensor as
inputs and some lamps, sockets, relay and buzzer as outputs.
PIR sensor is used to detect the presence of motion. The
sensor readings are used to turn off the lights if there is no
activity and turn on the lights otherwise. In addition, this
sensor is also used for security systems to detect suspicious
movements. If it detects any suspicious movement an alarm
(buzzer) will sound. An LM35 is functioning as temperature
monitoring. This sensor also serves as an input in order to
execute some sockets. The socket will in on condition when
the temperature exceeds a certain limit. This condition will Fig. 4. Relay Circuit
activate a fan or Air Condition (AC) while connected to the
socket. Connection circuit between microcontroller system B. System Microcontroller
with a PIR sensor and an LM35 sensor is shown in Fig. 2 and The second block is a microcontroller system that serves as
Fig. 3. the center of all systems and regulates all activities of the
input/output system. The system used in this paper is Arduino.
Arduino is a system that uses ATMega 328 as its
microcontroller. Arduino consists of an Arduino Board as
hardware part and an IDE (Integrated Development
Environment) that used C-like as its software language. All
devices form input/output and networking block are connected
to this. The Arduino system is depicted in Fig.5.

Fig. 2. Connection Circuit of PIR Sensor

124
EECCIS2014
The 7th – Electrical Power, Electronics, Communications, Controls, and Informatics International Seminar 2014

Fig. 5. Arduino System

C. Network Block
The third is network block that consists of an Ethernet part
and a wireless router device. An Arduino Ethernet Shield is
used to connect the Arduino board to the Internet via 3G/4G
Wireless Router. Arduino Ethernet Shield is made based on
the Wiznet W5100 Ethernet chip which provides the ability to
network with TCP and UDP. Ethernet shield is shown in Fig.
6.
Fig. 7. Smart Home Layout Designed

III. EXPERIMENT RESULTS


A small smart home system has been designed. All of
equipment needed, Arduino microcontroller system and
network devices connected as planned. Fig. 8 shows prototype
small smart home system.

Fig. 6. Arduino Ethernet Shield

D. Monitoring/Controlling Device
The last block is monitoring/controlling that consists of
any devices such as: HP, tablet, laptop or PC. These devices
connected to LAN or WLAN via network block using HTML5
with two-way communication. The situation and conditions of
home based on the sensor readings sent to the monitoring
device every two seconds. Status of the equipment that
monitored and controlled will be seen in the monitoring
device. While the monitoring device able to control appliances
at home at any time.
E. Smart Home Designed
Fig. 8. Smart Home System Hardware Implementation
Fig. 7 shows the implementation of Smart Home designed.
It can be seen that the system has four lamps, two PIR sensors, Web monitor display to know any status of home condition
an LM35 temperature sensor, two sockets and buzzer. All is shown in Fig. 9. Based on this figure, it can be seen there
equipment’s placed in each planned place. A scenario has been are 4 pieces button: the first and second buttons are used to
designed to control all equipment’s. This scenario then was control lights, the third button is used to activate the socket,
written in C-like Arduino language.

125
EECCIS2014
The 7th – Electrical Power, Electronics, Communications, Controls, and Informatics International Seminar 2014

while the fourth button is used to update the temperature


PIR Sensor used Buzzer will on
automatically. Below the button status, monitor shows room 2
Sensor
for move while any move OK
temperature, fan socket status, PIR status and Lamp status as PIR1
detection detected
well. Generally, HP web monitor display is the same as in
laptop. Push For Lamp Lamp will active
3 OK
Button1 activation depend on button

Push For Lamp Lamp will active


4 OK
Button2 activation depend on button

Push For socket Socket will active


5 OK
Button3 activation depend on button

1. For LM35 send data


6 LM35 temperature to Arduino OK
monitor microcontroller

Fan or AC will
2. For active while
temperature temperature is OK
regulator exceeds a certain
limit

(a)
Network analysis also has been done to know network
performance using the software tool named as Wireshark.
With this software, all existing packages in network can be
displayed. Based on network analysis result that captured it
shows that there are good communication between home
equipment and monitoring device. Fig. 10 shows network
analysis result that captured while first button is pressed.

(b)
Fig. 9. Web Display: (a) In Laptop and (b) In HP Fig. 10. Network Analysis

Some experiment has been conducted to know system This paper demonstrates that the Small Smart Home
reliability. Tests are performed in lab by testing all sensors, System via WLAN network has been successfully designed.
relays, sockets and buzzer. Table 1 shows the test results. System is able to work properly, all equipment can be
controlled via the internet with reliably and results can be
TABLE I. RESULTS OF SYSTEM TEST
displayed and controlled by multi-type devices perfectly. The
No Test Function Procedure Result performance of the communication system works well,
PIR Sensor used Lamp will on
although it is highly dependent on the internet provider.
Sensor
1 for Lamp while any move OK
PIR1
activation detected

126
EECCIS2014
The 7th – Electrical Power, Electronics, Communications, Controls, and Informatics International Seminar 2014

REFERENCES [6] Kaur, I., “Microcontroller Based Home Automation System with
Security”, International Journal of Advanced Computer Science and
[1] Sripan, M. Lin, X. Petchlorlean, P. Ketcham, M., “Research and Thinking
Applications (IJACSA), Vol. 1, No. 6, 2010.
of Smart Home Technology”, International Conference on Systems and
Electronic Engineering (ICSEE'2012), December 18-19, 2012, Phuket, [7] ElShafee, A. & Hamed, K. A., “Design and Implementation of a WiFi
Thailand Based Home Automation System”, World Academy of Science,
Engineering and Technology 68, 2012.
[2] Robles, R. J., & Kim, T., “Applications, Systems and Methods in Smart
Home Technology: A Review”, International Journal of Advanced [8] Jin, C., “A Smart Home Networking Simulation for Energy Saving”,
Science and Technology, Vol. 15, 2010. Master thesis, Carleton University, Canada. 2011.
[3] Redriksson, V., "What is a Smart Home or Building", 2005, unpublish. [9] Hamed, B., “Design & Implementation of Smart House Control Using
LabVIEW”, International Journal of Soft Computing and Engineering
[4] Aldrich, F., “Smart Homes: Past, Present and Future, In: Inside the Smart
(IJSCE), Vol. 1, Issue 6, 2012.
Home”, Edited by Harper, R., Springer-Verlag, London, 2003, pp. 17-
40. [10] Schaefer, F. M and Kays, R, “A Wireless Multi-Channel Transmission
System for Smart Home Applications”, Proc. Of European Wireless
[5] Khiyal, M. S. H., Khan, A., & Shehzadi, E., “SMS Based Wireless Home
Conference 20014, pp. 1-6
Appliance Control System (HACS) for Automating Appliances and
Security”, Issues in Informing Science and Information Technology
Volume 6, 2009.

127

View publication stats

You might also like