Академический Документы
Профессиональный Документы
Культура Документы
Abstract— The Internet of Things (IoT) is increasingly being is to say smart home has highly advanced automatic system for
recognized by researchers, companies and analysts all over the sensing the surrounding and many other function [8]. There
world as one of the most advanced technologies that has the are so many challenges in the modern home automation such
capacity to revolutionize the behaviour of everything around us.
It possesses the potential to not only affect the health, safety and as temperature, gas, light, fan, obstacles and human healthcare
productivity of billions of people but also has a major economic for smart home[9].
impact. Inspired by the idea of “smart technologies” and “home The IoT applications can be found in various vital fields
automation”, we propose an IoT framework with smart-sensing such as: energy, health, transportation, environment, etc.
based automatic appliance control. This paper presents a method Millions of application in all these fields can work optimally
and an implementation technique for the management of smart- if there is a strong interconnection among IoT enabled
appliances. A prototype has been developed and tested to verify
the efficacy of the implemented technique. The results show that devices[10]. Development of IoT enabled technologies
such prototypes can be influential in making home appliances results in a great deal of economic savings too, and
smart enough to operate only when required. The broad companies all over the world are investing in this technology
application of the proposed work will lead to greater economic to make smart technologies scalable for everyone. This will
benefits, in terms of increasing infrastructure intelligence, and eventually result in leading a life with much more ease, when
will also have social impacts in terms of global sustainability.
the daunting tasks will be dealt automatically and smartly by
Index Terms - Internet of Things (IoT), MQTT, nodeMCU, devices themselves.
Eclipse Paho client, Smart Systems, Automated Appliance Control. Data acquisition and controlling smart devices based on
acquired data plays vital role in the successful implementation
of IoT applications. In recent years, many implementations for
smart home system have been in practice to make residential
I. INTRODUCTION
buildings smart day by day. Many researches are finding
Over the past several years, there has been an immense means for effective implementation and monitoring of
domestic appliances by means of low cost sensing system [11].
increase in the use of autonomous sensing systems due to the
The implementation of web services and cloud computing in
reduction of the on-state power consumption of the electrical
controlling smart and intelligent home equipment has
components and the spread of the wireless communication
introduced a reliable security mechanism in the field of IoT
technologies. The world is going through a dramatic
[12]. However, from a system perspective, the realization of an
transformation from an isolated system to pervasive internet
IoT network, together with the required backend network
enabled thing capable of generating, transmitting and receiving
services and devices, still lacks an established best practice
valuable information. The next wave in the era of computing
because of its novelty and complexity.
will be outside the realm of the traditional desktop [1].
This paper offers an analysis report of a smart prototype
Commonly referred to as the Internet of Things (IoT), is a
developed by the authors using the concept of IoT.
novel paradigm shift in IT arena. With the advancement of
Accordingly, the rest of the paper is organized as follows:
technology many research projects are done based on IoT and
Section II provides an overview of the main elements that
home automation is one of them [2].
constitute the framework of our sensing based automated
Internet of Things (IoT) conceptualizes the idea of
appliance control. Section III provides a brief idea about the
remotely connecting and monitoring real world objects
main features of every hardware component and element,
(things) through the Internet [6]. When it comes to our house,
including the software that is used in making the prototype.
this concept can be aptly incorporated to make it smarter, safer
Section IV consists of the screenshots of the user-interface
and automated [7]. A home which is smart, is the technology
windows that were instrumental in monitoring the
used to make all the electronics equipment around the home
performance of the prototype. Section V presents a detailed
act smart or intelligent, is the technology used to make all
explanation of the screenshots shown in Section IV. Section
electronics around the home act smart or more automated that
VI gives the conclusion to the paper.
II. METHODOLOGY
A. Overall structure
1359
International Conference on Computing, Communication and Automation (ICCCA2017)
A. DHT11 Temperature and Humidity sensor to-machine (M2M) communication and plays an important
role in the Internet of Things (IoT) [5]. MQTT allows devices
DHT11 temperature & Humidity Sensor features a to send (publish) information about a given topic to a server
temperature & humidity sensor with a calibrated digital signal that functions as an MQTT message broker, as shown in Fig 3.
output. Its exclusive digital-signal-acquisition technique, and The broker then pushes the information out to those clients
temperature and humidity sensing technology ensures high that have previously subscribed to the client's topic. To a
reliability and excellent long term stability. The sensor human, a topic looks like a hierarchical file path [14]. Should
includes a resistive type humidity measurement component the connection from a subscribing client to the broker get
and NTC (Negative Temperature Coefficient) temperature broken, the broker will buffer messages and push them out to
component offering excellent quality, fast response, anti- the subscriber when it is back online. Should the connection
interference ability and cost effectiveness. It can measure from the publishing client to the broker be disconnected
temperature from 0-50 °C with an accuracy of ±2°C and without notice, the broker can close the connection and send
relative humidity ranging from 20-90% with an accuracy of subscribers a cached message with instructions from the
±5%. The sensor provides fully calibrated digital outputs for publisher [13].
the two measurements [3]. There are many MQTT platforms available for IoT
implementations, however the most popular are the mosquitto
B. HC-SR501 PIR Motion Sensor and the hivemq clients.
By default, the Raspberry Pi doesn’t come equipped with
Every object that has a temperature above perfect zero emits the MQTT protocol and needs to be installed manually.
thermal energy (heat) in the form of radiation which lies in the
infrared region. The PIR sensors are tuned to detect this IR E. Eclipse Paho library
wavelength which only emanates when a living being arrives
in their proximity[4]. Interfacing HC-SR501 with nodeMCU is The Paho project was created to provide scalable open-
easy as the output of the sensor is MCU friendly i.e., gives a source implementations of open and standard messaging
3.3V when HIGH and it can be powered from the 5V rail of protocols aimed at new, existing, and emerging applications
the MCU. for Machine-to-Machine (M2M) and Internet of Things (IoT).
Paho initially started with MQTT publish/subscribe client
C. nodeMCU & ESP8266 implementations for use on embedded platforms, and in the
future will bring corresponding server support as determined
In the prototype, whenever DHT11 senses any change in by the community [17]. Paho client libraries can be written in
temperature and/or humidity, it converts the sensed data to many programming languages, viz. C, C++, Java, Python, etc.
digital data and sends it to nodeMCU through the pin no. For this project, we performed Paho client programming in C
GPIO-05. Again, if HC-SR501 detects any change in motion, [18].
it instantly sends a high signal (3.5V) to the pin GPIO-12 of
the nodeMCU. In the following steps, the sensed values i.e.
temperature, humidity and motion detection output are IV. SYSTEM IMPLEMENTATION
published through three different topics using ESP8266. The
subscribers at the Raspberry Pi end receive the data and based In this section, we demonstrate the steps in integrating the
on various analyses, control signals are published to control various components of the prototype, the flow of the hardware
the appliances or the output units which are placed at the control scripts, and the results observed after implementation.
nodeMCU end. We describe these below.
Fig. 7: Screenshot of the terminal window at the analyzer’s end Fig. 10: Encircled portion indicates the smart nature of the analyzer
to reconnect with the broker
VI. CONCLUSION
1363