• No results found

The Aggressor Alarm System Embedded Internet of Things (IoT) Based on NETPIE Cloud Platform

N/A
N/A
Protected

Academic year: 2022

Share "The Aggressor Alarm System Embedded Internet of Things (IoT) Based on NETPIE Cloud Platform"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

http://www. europeanjournalofscientificresearch.com

The Aggressor Alarm System Embedded Internet of Things (IoT) Based on NETPIE Cloud Platform

Wasana Boonsong

Department of Electronic and Telecommunication Engineering Faculty of Industrial Education and Technology

Rajamangala University of Technology Srivijaya Songkhla, Thailand

E-mail: wasana.b@rmutsv.ac.th

Oluseye Adeleke

Department of Electronic and Electrical Engineering Ladoke Akintola University of Technology, Ogbomoso Nigeria

E-mail: oaadeleke@lautech.edu.ng

Abstract

The aggressor alarm system embedded Internet of Things (IoT) based on NETPIE cloud platform is developed in this research. This paper presents the main idea of smart aggressor alarm system using wireless NodeMCU ESP8266 microcontroller based on NETPIE cloud service through LINE Bot application. NodeMCU-ESP8266 is a wireless device worked on the IEEE 802.11b standard. It is normally a compact microcontroller board embedded with a Wi-Fi module, which can communicate with the smartphone via the internet cloud server as well. NETPIE platform is selected to service for the information transmission on the IoT platform. It communicates to the LINE Bot application on a smart device. Thus, the sensed information is to be transmitted to the inspectors directly, economically and efficiently.

Keywords: IoT, NETPIE, Wi-Fi, LINE Bot

I. Introduction

In the 21st Century, Internet of Things (IoT) is applied to the present lifestyle of all people in around the world. Moreover, the smart phone is used more and more becomes one of important factors. It will be very useful if both of these technologies as mentioned are combined and became to benefit for humans and society. The safely improvement in the quality of life, family and office has become one of the most important for people’s expectation. Therefore, security is very essential as a means of protection of against danger, damage, loss or other criminal incidences. IoT with intrusion embedded has first aided this quest for security. For these reasons, the smart life is realized due to the increasing risk of burglary, robbery and busy lifestyle [1].

Data monitoring system and wireless sensor network platforms are involved in many kinds of applications. Currently, NETPIE cloud service based on the IoT is actually meant to be a middleware and to distribute the message queening telemetry transport (MQTT) brokers. It acts as a meeting center for all the thing devices through a messaging method. MQTT is a protocol designed for working in a machine-to-machine (M2M) communication format. M2M is a smart wireless technology developed to support devices, which always work together with the IoT platform as well. The IoT is a cooperation

(2)

Based on NETPIE Cloud Platform 195

technology designed to be middle media among the various data sensing devices such as mobile phones, cars, televisions sets, refrigerators, etc which are linked to the internet seamlessly. Microgear is a client library, which creates and maintains the communication channels between thing devices and NETPIE. Moreover, it is a truly cloud architecture in every respect, which means that it is able to automatically expand (auto-scale), self-heal and self-recover whenever any part in the communication system has problem without having to rely on the system administrator [2]. The cloud NETPIE communication model is as shown in Figure 1.

Figure 1: Cloud NETPIE communicates on multiple things

The remainder of this paper is organized as follows. In Section II mention is made about the system architecture and modules, which is divided into two parts; Part A which describes the aggressor sensors and Part B which discusses the Internet of Things (IoT) module. Section III proposes the smart intrusion system, Part A of which explains the embedded aggressor sensors with IoT device on NETPIE communication, while Part B is about communication on the NETPIE service and Part C flowcharts the proposed programming development for NodeMCU-ESP8266 and NETPIE communication. Finally, the conclusions are summarized in Section IV.

II. Proposed System Architectures

The proposed architecture is compact and ease to use, which consisting of the aggressor sensors embedded with MCU on IoT device (NodeMCU-ESP8266). The wireless IoT device acts as access point to transfer the data to the users such as host server computer, and multi-smart device through internet cloud service.

Figure 2: Proposed architecture on smart aggressor detection system

IoT Device

(NODEMCU -ESP8266)

Host Server Smart Device #1

Smart Device #2

Smart Device #3

Intruder Sensors Embedded MCU

USB

(3)

Figure 2 presents the proposed architecture on smart aggressor detection system, which there are the compositions as the following sub-sections. Actually, both types of sensor use the similar concept, but they are still different structures and principles according to the following details.

A. Aggressor Sensors

The aggressor detection sensors are adopted extensively in the smart intrusion detection system for industrial, building and household sections. They can detect unauthorized entry into a restricted area.

In addition, they provides with indicator or voice alert system. Whereby, multiple intrusion sensors will be used in the proposed intrusion detection system, including entry control and alarm communication systems on user’s smart device [3]. Moreover, the information data will be recorded into the host server computer as database section. The intrusion sensors are used in this work as follows.

• Ultrasonic sensor is an option for use in detecting objects or people. There are actually many applications of ultrasonic sensors previously used: Yerragolla et al studied the intelligent security system for residential and industrial automation [4]. Ultrasonic sensors are also applied extensively in alarm systems for industrial sections and security purposes [5]. They are based on the properties of acoustic waves with frequency 40 kHz above the human audible range. By principle, these sensors generally operate by consigning high frequency pulse of sound wave continuously, in case any object impacts, these sound waves impinge that object and rebounds. Thus, the sensor device will compute the distance travelled by the echo pulse. Therefore, the results of calculated distance can be applied in the aggressor notifying system [6, 7]

• PIR motion sensors are used to detect whether a human or an animal has entered or gone out of a detection radius. They are of compact size, inexpensive, of low-power consumption, and are user-friendly. They are actually referred to as PIR which means

“Passive Infrared” or even “IR motion” sensors [8]. These sensors as mentioned earlier detect the motion of human beings. The signals which are detected become the input trigger for the microcontroller unit (NodeMCU). The owner who may not be present in the surveillance building will receive a notification on his mobile phone with real-time monitoring.

B. Wireless Module Based-Internet of Things (IoT) Embedded with Aggressor Sensors

Figure 3 displays the schematic of embedded wireless IoT device module and together with aggressor sensors. This article proposes the applications of an embedded aggressor sensors with wireless NodeMCU ESP8266 module. Two aggressor sensor are applied due to the intention of choosing the various sensors to analyze the difference performances in many terms. However, both types of sensors can work together on the same platform very well based on embedment programing. In addition, the prototype also can communicate with cloud internet network stability through a compact and intelligent NodeMCU-ESP8266 platform as well.

Internet of Things (IoT) is a technology that connects various items or devices through internet access [10]. In this study, thing means the sensor is to detect intrusion inside the building or restricted areas. The wireless module based-IoT is applied by embedding with aggressor sensors. This module is a microcontroller with integrated Wi-Fi chip designed by Espressif systems. It is a self-contained microcontroller with Wi-Fi networking capabilities, which also runs self-contained applications. This device comes with a built-in USB connector and a rich assortment of pin-outs, and is also breadboard friendly [8].

(4)

Based on NETPIE Cloud Platform 197 Figure 3: Schematic of embedded wireless IoT device module and aggressor sensors.

PIR sensor detects a human being moving around within approximately 10 m from the sensor position. This is an average value as the actual detection range is between 5 m to 12 m. This PIR are fundamentally made of a pyro electric sensor, which can detect levels of infrared radiation. For numerous essential projects or items that need to discover when an individual has left or entered the area. PIR sensors are incredible, they are flat control and minimal effort, have a wide lens range and are simple to interface with other devices. It needs a warm-up time with a specific end goal to capacity fittingly due to the settling time included in studying nature’s domain. This could be anyplace from 10 to 60 seconds. Thus, throughout of this time there ought to be as little movement as could reasonably be expected in the sensors field of perspective.

On the other hand, the aggressor sensing on ultrasonic sensor is also valid method for machine navigation. The rangers outlined convex and concave corners, ribs, and intersections. The rock and shotcrete surfaces in the underground mine normally caused a diffuse echo, so at least some of the sound wave returns to the sensor even at high angles of incidence. Accurate range reading were obtained up to a 60o angle of incidence [11].

III. Proposed Aggressor Alarm System

In this section the proposed smart aggressor notifying system is described. Wireless NodeMCU- ESP8266 based on IoT platform is interactive with NETPIE cloud server and connected to the LINE Bot application, which worked on a smart device of user. This is common due to the fact that it is an uncomplicated and acceptable expenditures. The embedded hardware module will be communicated to the HTML web pages via NETPIE service platform by using Microgear Library as an aid. This description is organized as follows.

A. Proposed Embedded Aggressor Alarm System with IoT Device on NETPIE Communication This sub-section presents the structure of the embedded aggressor sensors with Wireless WiFi-IoT board on NETPIE cloud communication. NETPIE provides the connection and information exchange in term of internet of everything. It is designed and developed to facilitate the transmission of data without charge between devices based on embedded IoT network for household or industrial section.

NETPIE allows each device under its network communication to talk to each other no matter that the device is located in both physical and logical terms. It will in charge of all its connection. The proposed structure of aggressor alarm system embedded IoT board platform are displayed as in Figure 4.

(5)

Figure 4: Proposed smart aggressor notifying system based on cloud NETPIE service and LINE Bot application

Internet Network

NETPIE cloud server is act as an intermediary to exchange information with other devices on internet network

Router acts as a wireless data transferring from WiFi network with internet network

IoT Device

NodeMCU-ESP8266 is a main device to program and transfer data to internet network through router to store or read from cloud server system

LAN

Computer Tablet

Smartphone

Labtob computer

Service by National Science & Technology Development Agency

No expenses

Register before start to use

Website: www.netpie.io

WiFi Ultrasonic

Sensor

PIR sensor

Figure 4 presents the IoT communication based on NETPIE cloud server platform, some of which advantages are as follows:

• Reduction in the connection resources: the proposed system based on NETPIE communication is able to connect other devices with remote access communication. It is able to connect all devices together even if they are different networks. Moreover, it can plug and play with automatic discovery.

• Reduction in the burden of data security: the aggressor notifying system is designed for right access at the Fine Grain level, meaning users can design the system themselves for talking, reading or writing. And in case any user needs to un-use, it can be revoked under any conditions.

• Flexibility in expanding the system: the proposed NETPIE is a true cloud server architecture in all its system components having flexibility and high mobility in expansion. Each module is designed to work separately and to communicate with each other using asynchronous messaging method with high reliability.

B. Communication on NETPIE Cloud Service

This sub-section is devoted to the communication on NETPIE cloud service according to the flow diagram in Figure 6. A user needs to create an account by filling up the information to register NETPIE. The NETPIE SMS will be sent to the user’s mobile as “xxxxxxxxxxx”. The user can thus log in with the registered email, write the USERNAME or email address and use the received password by SMS to log in again. Since the registration is already completed, USERNAME or e-mail will appear on the screen.

(6)

Based on NETPIE Cloud Platform 199 Figure 5: Flow diagram of the proposed communication on NETPIE cloud service.

NETPIE Cloud Service

• Application ID (APPID)

• AppKey

• AppSecret

Determined by user Determined by NETPIE User registers and receives

password for registration through mobile SMS

User log in for changing password, create AppID and determine application name

Thus, NETPIE is ready to spread its serve the region after user has registered completely. With the development of IoT platform such as NETPIE, ASEAN country is poised to become one of the top contenders for the IoT race. Many veteran researchers from the National Electronics and Computer Technology (NECTEC) of Thailand will be introducing to the ASEAN community for the emerging and innovative platform. This platform is a service (PaaS) that facilitates interconnection of IoT devices. NETPIE provides tools and software libraries that accelerate IoT development process.

Therefore, this service platform is useful for the developers, they can spend more time with their innovating and remove problem about administration of backend servers and data storage.

C. Proposed Programming Development for NodeMCU-ESP8266 and NETPIE Communication The connections of wireless IoT section (NodeMCU-ESP8266) and NETPIE cloud need to be related and consistent. Namely, the NodeMCU-ESP8266 microcontroller will be programmed and linked to the create application ID from NETPIE. Thus, the various key will be put into the programming and upload to the NodeMCU-ESP8266 hardware. On the other hand, from the NETPIE side will also check the name and end device connection on real-time monitoring status continuously. This sub-section is for the programming development for the NodeMCU-ESP8266 on NETPIE platform, as shown in Figure 6.

Figure 6: Proposed block diagram for NodeMCU-ESP8266 and NETPIE communication

The IoT device embedded with environmental sensors, which can connect and communicate with one another via both wired and wireless communication protocols. In this study, the various things are the intrusive sensors meant to observe the context of environmental monitoring and to interact with one another. Noteworthy also is the fact that NodeMCU-ESP8266 based on IoT device is involved with an embedded system and includes low-power wireless communication protocols such as ZigBee, PAN and Bluetooth. Moreover, it allows all things to process information in its context such as cloud computing and big data. The notification results are as shown in Figure 7 below.

(7)

The connections of wireless IoT section (NodeMCU-ESP8266) and NETPIE cloud need to be related and consistent. Namely, the NodeMCU-ESP8266 microcontroller will be programmed and linked to the create application ID from NETPIE. Thus, the various key will be put into the programming and upload to the NodeMCU-ESP8266 hardware. On the other hand, from the NETPIE side will also check the name and end device connection on real-time monitoring status continuously.

The IoT device embedded with environmental sensors consist of various things, which can connect and communicate with one another via both wired and wireless communication protocols. In this study, the various things are the intrusive sensors meant to observe the context of environmental monitoring and to interact with one another. Noteworthy also is the fact that NodeMCU-ESP8266 based on IoT device is involved with an embedded system and includes low-power wireless communication protocols such as ZigBee, PAN and Bluetooth. Moreover, it allows all things to process information in its context such as cloud computing and big data. The notification results are as shown in Figure 7 below.

Figure 7: The notification results on Line Bot Application

With its success in the proposed system, which is generated in Thailand, NETPIE is now ready to recommend its revolutionary platform service to the Southeast ASEAN IoT communities. From a quantitative perspective, it can support rapid growth of IoT product development in the region though its highly scalable architecture. The proposed embedded aggressor detection system on NETPIE is going to broaden the possibility for IoT design.

IV. Conclusion

This paper has proposed a smart aggressor alarm system using NETPIE through LINE Bot application based on the internet of various things. The main contribution is the idea of embedding the intrusive sensors into the IoT device module on NodeMCU-ESP8266 platform. It can communicate between the sensing device and the user’s mobile phone automatically. The internet used for everything is based on cloud service platform with the ability to bring all the sensed things to the user easily, and can be used anywhere, anytime. The IoT platform is a modern innovation in which an interconnection of electronic applications and internet is made possible. It can make conceivable and realizable the mechanization of numerous chores. Moreover, it can build trust in new services and technologies with IP’s essential protection. The proposed implementation has flexibility and high mobility in expansion. The surveillance area is visible from miles away with real-time monitoring of data. The monitored data can be analyzed for anomalies in the restricted area to create safety for life and property as well.

(8)

Based on NETPIE Cloud Platform 201

Acknowledgment

The authors are grateful to the Rajamangala University of Technology Srivijaya Songkhla, Thailand for the research grant in the fiscal year 2018 for the development of in-house built-in devices (Grant No. 669).

References

[1] G.C. Nwalozie, A. N. Aniedu, and I. E. Abazuonu, “Enhancing Home Security Using SMS- based Aggressor Detection System,” International Journal of Computer Science and Mobile Computing, pp. 1177-1184, June 2015.

[2] An Official Guide to NETPIE. NECTEC a member of NSTDA. http://netpie.io/tutorials.

[3] G. Yatman, S. Uzumcu, A. Pahsa, and A. A. Mert, “Intrusion detection sensors used by electronic security systems for critical facilities and infrastructures: a review,” Safety and Security Engineering, vol. 151, pp. 131-141.

[4] M. Yerragolla, K. Pallela, and I. P. Gera, “Intelligent Security System for Residential and Industrial Automation,” 2016 IEEE Uttar Pradesh Section International Conference on Electrical, Computer and Electronics Engineering, Indian Institute of Technology (Banaras Hindu University) Varanasi, India, December 2016.

[5] Y. P. Li, J. Yang, X. D. Li, and J. Tian, “Ultrasonic Aggressor Detection System for Home Security,” Intelligent Control and Automation,” vol. 344, pp. 1108-1115, 2006.

[6] Y. P. Li, J. Yang, X. D. Li, and J. Tian, “Ultrasonic Aggressor Detection System for Home Security,” Intelligent Control and Automation,” vol. 344, pp. 1108-1115, 2006.

[7] K. Shrivastava, A. Verma, and S. P. Singh, “Distance Measurement of an Object or Obstacle by Ultrasonic Sensors using P89C51RD2,” International Journal of Computer Theory and Engineering,” vol. 2, no. 1, pp. 1793-8201, February 2010.

[8] R. N. Sagar, S. P. Sharmila, and B. V. Suma, “Smart Home Aggressor Detection System,”

International Journal of Advanced Research in Computer Engineering & Technology, vol. 6, issue 4, pp. 2278-2323, April 2017.

[9] R. K. Kodali, V. Jain, S. Bose, and L. Boppana, “ IoT Based on Smart Security and Home Automation System,” International Conference on Computing, Communication and Automation, pp. 1286-1289, 2016.

[10] J. Clark, “What is the Internet of Things?” IBM, [Online]. Available from:

https://www.ibm.com /blogs/internet-of-things/what-is-the-iot/ [Accessed 16 December 2019].

[11] W. H. Strickland, and R. H. King, “Characteristics of Ultrasonic Ranging Sensors in an Underground Environment,” REPORT OF INVESTIGATIONS/1993, UNITED STATES DEPARTMENT OF THE INTERIOR, 1993.

References

Related documents

available knowledge target & binder X-ray structure(s) w/wo binder(s) related structure(s) w/wo binder(s) homology model known & confirmed, diverse binder(s) w/wo

Item-based collaborative filtering approaches predict the rating of a user u for an item i based on the ratings of u for items similar to i.. In such approaches,

Geographic as well as economic factors have played roles in these cycles (Rypka, 1968, pp. Even under foreign dynasties Iranian unity was not shattered, because the state continued

These effect sizes can help development of fully powered trials to study the association between OAB knowledge and attitude, type and length of treatment, treatment compliance,

A STUDY ON PROFITABILITY ANALYSIS OF SELECTED IT COMPANIES IN

In order to understand the popularity of music tourism, the concept of ‘musical topophilia’ is introduced: an affective attachment to place through and with music. This concept

Chapter 7 Electronic Business Systems Chapter 8 Electronic Commerce Systems Chapter 9 E-Business Decision Support Module IV Development Processes.. Chapter 10 Developing

Presented to: Aerospace Medical Association Federal Aviation Administration Challenges Faced by the FAA Autopsy Program Team...