Ieee
Ieee
A. Rajeswari
Department of ECE
Coimbatore Institute of Technology
Coimbatore, India
e-mail: [email protected]
Abstract—Internet of things (IoT) provides a platform that household appliances, power generation systems, office
allows devices to be connected, sensed and controlled remotely equipment, and so on, which generate a massive amount of
across a network infrastructure. This work aims to develop a data to provide new services to people and both public and
smart laboratory system in CIT campus based on IoT and private sectors [8, 10].
mobile application technologies to monitor the overall activities As campus grows every year, new management problems
of the lab including energy consumption and utilization of and energy issues appear. Managing the resources in the
devices, environmental parameters via sensors, thereby campus has become a real problem. Monitoring and
providing a smart environment to CIT with energy efficiency controlling the unused devices that consume power during
and comfort. IoT smart hardware kits are designed using
human absence is also a major inability. In addition to this,
ESP8266, Arduino UNO, relays, current transformers,
Raspberry Pi3 and sensors. The proposed work controls and
coordinating the people participating in the daily activities of
monitors the devices of the CIT IoT lab using the dashboard the laboratory is tedious when population of the usage of the
developed in Node-RED or ANDROID STUDIO Mobile space out numbers a manageable threshold. Another problem
Application. Devices in laboratory are connected to IoT smart is power management. It is difficult to monitor all sub-
hardware kit. Dashboard and Mobile Application has been systems such as lighting, projecting and air conditioning
developed for interfacing IoT smart hardware kit & MQTT system. But if these are left indiscriminately, energy will be
broker. Node MCU is also coded to monitor and update the wasted. People cannot check the status of the sub-system at
temperature, humidity and light intensity inside laboratory. A ease. In order to resolve these problems, IoT technology is a
database has been created for a prototype switch to view status suitable method [5].
history. From the results of implementation, it is observed that Smart devices of IoT can be used to replace some
the appliances in our lab are remotely monitored and traditional devices so that sub-system devices will connect to
controlled, thereby reducing their energy consumption each other for better access to construct an IoT network.
considerably. Human efforts are reduced when things gets automated. The
need for the work is to reduce manual effort by automating
Keywords-Internet of Things (IoT); Embedded Computing laboratory resources thereby achieving a futuristic model of
System; MQTT; ESP 8266; Arduino board; Smart systems Laboratory using IoT and Efficient use of the laboratory
resources and power management.
I. INTRODUCTION Internet of things Laboratory (www.citeceiot.in) was
More than 85% of systems are unconnected, and do not inaugurated at CIT on January 2018. It enables researchers
share data with each other or the cloud. One such technology to exploit the potential applications of Internet of Things for
that facilitates the interconnection is the INTERNET OF multidisciplinary research with more end-user interactions.
THINGS [6]. The Internet of things is a communication The aim of proposed work is to implement a smart
paradigm that refers to the idea of connecting the objects of laboratory at CIT by replacing electrical appliances by smart
everyday life to the internet. These objects are assembled IoT hardware kits (Test bed) which is designed for our IoT
with microcontrollers, transceivers to enable communication, lab. All the electronic devices are networked to give the real-
and configured with protocol stacks that will realize the time data thereby providing the accessibility of the devices
interaction of the objects with one another to reach to through a hand-held device. The proposed test bed facilitates
common goals without human intervention management of energy utilization.
This paradigm gained its strength from the fact that it is To achieve such aims, the IoT Lab focuses its research
interacting with a wide variety of devices such as: robots, and development of the following objectives:
drones, heating and air-conditioning systems, security alarms, x To create an environment for research, design,
development and testing of IoT solutions, in the
170
and a light is controlled. Based on the light intensity, the x Current Transformer- It is a transformer that
lights also get turned on inside the room. The sensed values measures the AC current of the circuit. It senses the
are reported in real time and can be viewed in dashboard. current flowing through it and the values are in
analog.
x Relay- It acts as a protective switch. It uses an
electromagnetic switch operated by a small electric
current that can turn on or off a much larger current.
IV. IMPLEMENTATION
The 220v that comes from the main power supply is
reduced to 5v by step down transformer. It is then regulated
and given to the Arduino UNO and ESP8266. If user wants
to turn on/off devices, command is sent from mobile phone
to MQTT server. The server then publishes the command to
the respective ESP8266 module present in an IoT kit to
Figure 2. Block diagram of the proposed system which that the particular device is connected. After the
reception of the command by ESP8266 relay gets turned on,
All the devices in laboratory use Message Queuing thereby providing the supply to that device and the device
Telemetry Transport protocol (MQTT) for communication gets turned on. Current transformer is used in the IoT kit
[11]. MQTT is a machine- to- machine/ internet of Things which checks the actual flow of current. It sends the actual
connectivity protocol. It is designed as an extremely status of device (ON/OFF) to the Arduino which is
lightweight publish / subscribe messaging transport. The determined by the amount of current flow. Arduino, then
electrical appliances and sensors are connected to ESP 8266 sends that device status to ESP8266 through serial port.
and those are act as MQTT clients which helps in accessing ESP8266 sends that data to MQTT server and actual device
the devices connected to common network so that it can status can be viewed in Node-RED dash board. So, the
transmit data via MQTT protocol. Here, all those Wi-Fi Node-RED dashboard acts as an output window that shows
modules act as MQTT clients and Node-RED (Raspberry Pi the actual status of all devices, provides access to the devices
3) acts as MQTT broker (Server). Node-RED is a and shows the temperature , humidity and light intensity of
programming tool for wiring hardware devices [12]. It the lab.
provides a browser-based editor that makes it easy to wire Raspberry pi 3 is connected to a network, and run this
wide range of nodes in the palette that can be deployed to its application in it. An online server (test.mosquito.org) [15]
runtime in a single click. Node-RED application aids in act as an MQTT broker. The control signals can be sent from
creating the interactive user interface dash boards. any device connected in the network to the broker. And,
clients publish the status of the devices and energy consumed
by individual appliance to the broker and can be viewed in
the dashboard. Thus all devices can be controlled universally,
and the status of the devices can be visualized.
Our Contributions:
x IoT based smart lab has been designed and
implemented in our department
x Application code written for interfacing IoT smart
hardware kit & MQTT broker, and for monitoring
temperature, humidity and light intensity inside the
laboratory
x Developed Dashboard and mobile application
using Node-RED and ANDROID STUDIO
x A database has been created for a prototype switch
Figure 3. Hardware components of CIT_IoT development kit to view status history
171
cloud. ThingSpeak provides instant visualizations of data can provide optimized light intensity for the surrounding and
posted by the devices. reduces the electrical power consumption during daytime.
In our ECE lab, three different boards of IoT hardware
are used to monitor and control the 4 lights, 1 projector, 1 fan
and 1 air conditioner. This was implemented and tested
successfully. After successful testing, this same setup was
installed in IoT lab to monitor and control the 3 lights and 3
fans. Fig 4 and 5 show the dash board which is used to
control and monitor the device status and able to view
temperature and humidity values inside the lab.
Figure 7. Daylight level dash board for displaying the Status of the light
Figure 4. Real time monitoring and controlling Dashboard for ECE lab
172
which publishes control signals to an MQTT BROKER Thus the emerging huge scope for doing research work in
(Online Server). IoT. The issues need to be addressed are interoperability of
multiple systems, data security, standards and government
policies for IoT, increasing computing power to handle the
huge amount of data generated by sensors, increasing
availability of sensors and actuators to connect things in IoT.
ACKNOWLEDGMENT
This work is financially supported by the Coimbatore
Institute of Technology. The authors would like to
acknowledge Dr.V.Selladurai, Principal, CIT for his
guidance and support throughout the period of this work.
REFERENCES
[1] Shopan Dey, Ayon , Sandip Das,(2016), “Home Automation Using
Internet of Thing”, IEEE Annual conference on Ubiquitous
Computing, Electronics & Mobile Communication Conference
(a) (b) (UEMCON), vol.4, no.5.
[2] Jianli Pan, Raj Jain, (2015), “An Internet of Things Framework for
Smart Energy in Buildings: Designs, Prototype, and Experiments”,
IEEE Internet of Things Journal 2.6 , vol.2, no.6.
[3] Hu Yin (2015), “Smart Lab Technologies”, Handbook of Mobile
Teaching and Learning, Springer-Verlag Berlin Heidelberg, pp.1–11.
[4] Hafsa Tahir, Ayesha Kanwer and M. Junaid, (2016), “Internet of
Things (IoT): An Overview of Applications and Security Issues
Regarding Implementation”, International Journal Of
Multidisciplinary Sciences and Engineering, , Vol. 7, No. 1.
[5] Mary Cherian , Hitesh Kumar P,(June 2014), “Implementation of a
Secure and Smart Lab with Wireless Sensor Network”, International
Journal of Science and Research, Vol.3, No. 6.
[6] Ala Al-Fuqaha, Mohsen Guizani, Mehdi Mohammadi, Mohammed
Aledhari, (2015), “Internet of Things: A Survey on Enabling
Technologies, Protocols and Applications”, IEEE Communications
(c) (d) Surveys & Tutorials, vol.3, no.5.
Figure 9. Interacive EREMOTE APP page for mobile users [7] M. A. Razzaque, M. Milojevic-Jevric, A. Palade and S. Clarke,
"Middleware for Internet of Things: A Survey," in IEEE Internet of
Things Journal, vol. 3, no. 1, pp. 70-95, Feb. 2016
VI. CONCLUSION [8] J.ChandraMohan, R.Nagarajan, K.Satheeshkumar, N.AjithKumar,
P.A.Gopinath, S.RanjithKumar(2017) “Intelligent Smart Home
Internet of things reduces the human intervention by Automation and Security System using Arduino and Wi-Fi” ,
introducing device to device interaction. This work has been International Journal of Engineering and Computer Science, vol
designed to implement smart laboratory system using IoT 6,issue 3,pp.20694-20698.
technology for remote energy monitoring and control [9] Chunsheng Zhu, Victor C.M. Leung, Lei Shu (2015) “Green Internet
appliances inside the lab. By employing the proposed of Things for Smart World”, IEEE, Volume : 3,Issue : 2, pp.2151-
system, the total energy consumption can be reduced in our 2162.
campus. On a whole in a year up to 30 percent of energy can [10] Vinay sagar K N, Kusuma S M, (2015), “Home Automation Using
be saved in our campus by implementing smart laboratory Internet of Things”, International Research Journal of Engineering
and Technology, vol.2, no.3.
system through IoT. Node-RED dashboard and Mobile
[11] https://www.ibm.com/developerworks/library/iot-mqtt-why-good-for-
Application has been developed for communication between iot/index.html
client and server by establishing Remote Procedure Calls [12] https://www.raspberrypi.org/documentation/.../RPI-CM-
between client and server [13]. This kind of a system with DATASHEET-V1_0.pdf
respective changes can be implemented in the homes, [13] https://httpd.apache.org
hospitals for real time monitoring of newborn babies in the [14] https://www.wemos.cc
incubator/disable people or in industries and environment [15] https://pythonschool.net
monitoring [7]. In future, 38.5 billion devices are expected to
be connected to the internet by the year 2020.
173