Pervasive Service Discovery Implementation Using UDP Protocol on Raspberry Pi and MyRIO


  • Mochammad Mochammad Hannats Hanafi Ichsan Computer Engineering Department, Brawijaya University, Malang, Indonesia
  • Wijaya Kurniawan Computer Engineering Department, Brawijaya University, Malang, Indonesia
  • Joniar Dimas Wicaksono Computer Engineering Department, Brawijaya University, Malang, Indonesia


MyRIO, Pervasive, Raspberry, Smart Home, UDP Protocol,


Smart home environment is an environment by which there are equipments that should be able to communicate each other and can be monitored or controlled remotely through the internet. Nowadays, it still requires complex configuration to achieve those requirements. Pervasive computing is a method which facilitate humans to ease configuring the devices. Based on previous researches that designed and tested the Pervasive system using UDP and LabVIEW on Personal Computer (PC), this research focused on implementing it on embedded systems which is Raspberry Pi 3 as host and NI MyRIOs as clients. UDP protocol is used because it has lightweight attribute and does not require large memory. Several experiments have been done such as measuring discovery time for each 86.62 bytes of data. Discovery time on the host is 56,417ms, while the discovery on the client is 251.067ms. Therefore, the whole discovery process is 313,417ms. Whereas if the host fails, the time which client needs to reconnect is 10384,23ms. On sending data testing between host and client, the average data being send is 86,3bytes, data transmission sensor takes 58.26ms, LED control takes 5350,926ms, and for push button takes 255,67ms.


S. D. T. Kelly, N. K. Suryadevara, and S. C. Mukhopadhyay, "Towards the Implementation of IoT for Environmental Condition Monitoring in Home," IEEE Sensors Journal, vol. 13, no. 10, pp. 3846-3853, Oct. 2013.

Arda Editya; Surya Sumpeno; Istas Pratomo, "Performance IEEE 802.14.5 and zigbee protocol on realtime monitoring augmented reality based wireless sensor network system," International Journal of Advances in Intelligent Informatics, vol. 3, no. 2, pp. 90-97, 2017.

L. Atzori, A. Iera, and G. Morabito, "Making things socialize in the Internet — Does it help our lives?," in Proceedings of ITU Kaleidoscope 2011: The Fully Networked Human? - Innovations for Future Networks and Services (K-2011), Cape Town, 2011.

B. Zhou et al., "Smart home energy management systems: Concept, configurations, and scheduling strategies," Renewable and Sustainable Energy Reviews, vol. 61, pp. 30-40, 2016.

I. Lee and K. Lee, "The Internet of Things (IoT): Applications, investments, and challenges for enterprises," Business Horizons, vol. 58, no. 4, pp. 431-440, 2015.

S. Dey, A. Roy, and S. Das, "Home automation using Internet of Thing," in 2016 IEEE 7th Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), New York, 2016, pp. 1-6.

A.Jacobsson, M.Boldt, and B.Carlsson, "A risk analysis of a smart home automation system," Future Generation Computer Systems, vol. 56, pp. 719-733, 2016.

C. Perera, A. Zaslavsky, P. Christen, and D. Georgakopoulos, "Context Aware Computing for The Internet of Things: A Survey," IEEE Communications Surveys & Tutorials, vol. 16, no. 1, pp. 414-454, 2014.

Kurniawan, W., Ichsan, M.H.H., Akbar, S.R., and Arwani, I., "Lightweight UDP Pervasive Protocol in Smart Home Environment Based on Labview," in IAES International Conference on Electrical Engineering, Computer Science and Informatics (EECSI 2016), Semarang, Indonesia, 2016.

M. Duke, R. Braden, W. Eddy, E. Blanton, and A. Zimmermann, "A Roadmap for Transmission Control Protocol (TCP) Specification Documents," , February 2015.

M. Iglesias-Urkia et al., "Towards a lightweight protocol for Industry 4.0: An implementation based benchmark," in IEEE International Workshop of Electronics, Control, Measurement, Signals and their Application to Mechatronics (ECMSM), Donostia-San Sebastian, 2017.

R. Morabito, R. Petrolo, V. Loscrí, and N. Mitton, "Enabling a lightweight Edge Gateway-as-a-Service for the Internet of Things," in 7th International Conference on the Network of the Future (NOF), Buzios, 2016.

Z. Sheng, D. Tian, and V. C. M. Leung, "Toward an Energy and Resource Efficient Internet of Things: A Design Principle Combining Computation, Communications, and Protocols," IEEE Communications Magazine, vol. 56, no. 7, pp. 89-95, 2018.

Pallavi Sethi and Smruti R. Sarangi, "Internet of Things: Architectures, Protocols, and Applications," Journal of Electrical and Computer Engineering, vol. 2017, p. 25, 2017.

P. Dalal, M. Sarkar, N. Kothari, and K. Dasgupta, "efining TCP's RTT dependent mechanism by utilizing link retransmission delay measurement in Wireless LAN," International Journal of Communication Systems, vol. 30, no. 5, 2015.

W. Kurniawan, M. H. H. Ichsan, and S. R. Akbar, "UDP Pervasive Protocol Implementation for Smart Home Environment on MyRIO using LabVIEW," International Journal of Electrical and Computer Engineering (IJECE), vol. 8, no. 1, pp. 113-123, February 2018.

M.H.H. Ichsan, W. Kurniawan, and S.R. Akbar, "UDP Pervasive Protocol Integration with IoT for Smart Home Environment using LabVIEW," International Journal of Electrical and Computer Engineering (IJECE), vol. 8, no. 6 Part II, December 2018.

P. P. Merino, E. S. Ruiz, G. C. Fernandez, and M. C. Gil, "A Wireless robotic educational platform approach," in 13th International Conference on Remote Engineering and Virtual Instrumentation (REV), Madrid, 2016.

L. Zimmermann, R. Weigel, and G. Fischer, "Fusion of Nonintrusive Environmental Sensors for Occupancy Detection in Smart Homes," IEEE Internet of Things Journal, vol. 5, no. 4, pp. 2343-2352, 2018.

R. Raj, R. K. Sahu, B. Chaudhary, B. R. Prasad, and S. Agarwal, "Real time complex event processing and analytics for smart building," in Conference on Information and Communication Technology (CICT), Gwalior, 2017, pp. 1-6.

V. Bhanumathi and K. Kalaivanan, The Role of Geospatial Technology with IoT for Precision Agriculture.: Springer, Cham, 2018, vol. 49.

V. Vujović and M. Maksimović, "Raspberry Pi as a Sensor Web node for home automation," Computers & Electrical Engineering, vol. 44, pp. 153-171, 2015.

Ioannis Giachos, Evangelos Papakitsos, and Georgios Chorozoglou, "Exploring natural language understanding in robotic interfaces," International Journal of Advances in Intelligent Informatics, vol. 3, no. 1, pp. 10-19, 2017.

M. H. H. Ichsan, W. Kurniawan, and M. Huda, "Water Quality Monitoring with Fuzzy Logic Control Based on Graphical Programming," TELKOMNIKA, vol. 14, no. 4, pp. 1446-1453, 2016.

O. A. Mohamad, R. T. Hameed, N. Tapus, "Smart Home System Based on Comparative Analysis Among AODV and DSDV Protocols in MANET," in 19th International Conference on System Theory, Control, and Computing (ICSTCC), Cheile Gradistei, Romania, 2015.




How to Cite

Mochammad Hannats Hanafi Ichsan, M., Kurniawan, W., & Dimas Wicaksono, J. (2020). Pervasive Service Discovery Implementation Using UDP Protocol on Raspberry Pi and MyRIO. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 12(2), 53–57. Retrieved from