A DESIGN OF WEBSOCKET-BASED CONTROL AND MONITORING SYSTEMS ON ARDUINO DEVICE

  • Adhitya Bhawiyuga
  • Rakhmadhany Primananda
  • Widhi Yahya
  • Yosia Rimbo Deantama
Keywords: Websocket, Arduino, Redis, Internet of Things

Abstract

Internet of Things (IOT) is a system that connects the “things” through a computer
network to control and monitor an environment. The IoT widely implemented in various
fields which has a different environment characteristic for each. This stimulates the
emergence of new protocols in computer networks. In this study,we implemented and
analyzed a controlling and monitoring system based on microcontroller Arduino Uno
with Websockets as communication protocol. The Websockets provide statefull and full-
duplex communication on the HTTP protocol which is suitable to be applied for the
control and monitoring systems. The Redis is used as a data storage on the data server
because it has powerful processing capability. The implemented system is used to control
the LED and to monitor the temperature and the humidity. The test results show that,
performing  process controlling and monitoring in a once, take less than a second with
100% success rate. The system performance decreases when serving 350 requests per
second or serving 300 clients simultaneously. The increasing number of requests and the
number of connected clients affect the increasing of Round Trip Time and the requests
that are able to be serviced by the system.

Downloads

Download data is not yet available.

References

B. W. Evans. (2007) Arduino Programming Notebook, 1 penyunt., California: Creative Commons.
W. Durfee. (2011) Arduino Microcontroller Guide, University of Minnesota.
F. Candelas, G. Garcia, S. Puente, J. Pomares, C. Jara, J. Perez, D. Mira and F. Torres, (2015) Experiences of Using Arduino for Laboratory Experiments of Automatic Control and Robotics, Alicante: IFAC, pp. 105-110.
D-Robotics, DHT11 Humidity & Temperature Sensor, UK, 2010.
P. Megyesi, Z. Kramer dan S. Molnar, Comparison of Web Transfer Protocols,
Budapest: High Speed Network Laboratory.
J. Heidemann, K. Obraczka and J. Touch. (1997) Modeling the Performance of HTTP Over Several Transport Protocols, vol. 5, IEEE.
M. Miftakhuddin, W. Suadi and B. A. Pratomo, Implementasi Key-Value Store dengan Struktur Data List dan Tree Menggunakan Python, Institut Teknologi Sepuluh November.
L. Srinivasan, J. Scharnagl and S. Klaus.(2013) Analysis of Websocket as the New Age Protocol for Remote Robot Tele-operation, Seoul: 3rd IFAC.
W. Zhang, P. Passow, E. Jovanov, R. Stoll and K. Thurow, A Seccure and
Scalable Telemonitoring System Using Ultra Low Energy Wireless Sensor Interface for Long Term Monitoring In Life Science Applications, Rosctock: University of Rosctock.
C. Salzmann, G. Sten, W. Halimi and D. Gillet, The Smart Device Specification for Remote Labs, Lausame: EPFL.
I. Pette and A. Melkinov, Websocket Protocol, IETF, 2011.
T. M. Labs. (2016) Twisted Documentation.
V. Pimentel and B. Nickerson. (2011) Web Display of Real-Time Wind Sensor Data, Fredericton: University of New Brunswick,.
R. Weber. (2015) Internet of Things: Privacy Issues Revisited, Zurich: University of Zurich.
G. P. Nugroho, A. Mazharuddin and H. Studiawan. (2013) Sistem Pendeteksi Banjir Menggunakan Sensor Kecepatan Air dan Sensor Ketinggian Air pada Mikrokontroler Arduino, vol. 2, Jurnal Teknil Pomits.
E. Frecon, Web Like Protocols for the Internet of Things, ICE.
Published
2017-11-17