Applying AES algorithm for secure data transmission between Sensor node and LoRa Gateway to Web Server

  • Affiliations:

    1 Hanoi University of Mining and Geology, Hanoi, Vietnam
    2 Dong Nai Technology University, Dong Nai, Vietnam

  • *Corresponding:
    This email address is being protected from spambots. You need JavaScript enabled to view it.
  • Received: 1st-Sept-2021
  • Revised: 20th-Dec-2021
  • Accepted: 18th-Jan-2022
  • Online: 28th-Feb-2022
Pages: 105 - 114
Views: 3441
Downloads: 2375
Rating: 5.0, Total rating: 236
Yours rating


Lora Gateway is an intermediary device that can connect devices in the IoT system. IoT is the Internet of Things, consisting of a system of interrelated digital and mechanical devices and machines, capable of transmitting data over a network without requiring human-computer interaction. Lora is a long distance wireless communication technology that enables communication over a wide range between devices. Through this device, the Sensor nodes in the IoT system can transmit and receive data by LoRa waves to the Gateway and by Wifi/3G to the web server via the Internet. Data communicates in the internet environment, so important information needs to be protected by data encryption. This paper presents research and application of 128-bit AES symmetric encryption algorithm in LoRa wide area sensor network to secure data transmission between IoT devices and web server through LoRa Gateway device. The research team has designed and built models for testing sensor stations with integrated humidity and temperature sensors, LoRa Gateway integrating Lora module and wifi/3G module, developing the interface on web server with decoding, monitoring, and data storage features, and proposing a solution with AES encryption algorithm and architecture applied in the development of embedded software for LoRa module. The research results are tested on the model to test the encryption, data transmission, and decryption functions in applications for IoT LoRa Gateway systems. With this initial research, it is possible to apply the AES algorithm to secure data transmission in IoT Gateway systems.

How to Cite
Dang, C.Van, Nguyen, K.Duc, Nguyen, L.The, Le, D.Ngoc, Luu, Q.Hong and Huynh, S.Thanh 2022. Applying AES algorithm for secure data transmission between Sensor node and LoRa Gateway to Web Server (in Vietnamese). Journal of Mining and Earth Sciences. 63, 1 (Feb, 2022), 105-114. DOI:

Cao, H.T. (2015). Research and design of monitoring systems used in agriculture. National Conference on IT - Can Tho University, 128-133. (in Vietnamese)

Choi, C. S., Jeong, J. D., Lee, I. W., and Park, W. K. (2018, January). LoRa based renewable energy monitoring system with open IoT platform. In 2018 international conference on Electronics, Information, and Communication (ICEIC), IEEE, 1-2..

Dao, M. H., Hoang, V. P., Dao, V. L., and Tran, X. T. (2018). An energy efficient AES encryption core for hardware security implementation in IoT systems. In 2018 International Conference on Advanced Technologies for Communications (ATC),  IEEE, 301-304.

PAM Air Project (2018÷2020). Study on air quality monitoring system for Quang Ninh open-pit coal mines. DongA University (Korea) and Hanoi University of Mining and Geology (Vietnam).

El-meligy, N., Amin, M., Yahya, E., and Ismail, Y. (2017, May). 130nm Low power asynchronous AES core. In 2017 IEEE International Symposium on Circuits and Systems (ISCAS), 1-4..

Lee, H. R., Kim, W. J., Park, K. H., Cho, H. J., and Lin, C. H. (2018, January). Development of an easy payment system based on IoT gateway. In 2018 International Conference on Electronics, Information, and Communication (ICEIC), IEEE, 1-3.

Kayem, A. V., Strauss, H., Wolthusen, S. D., and Meinel, C. (2016, March). Key management for secure demand data communication in constrained micro-grids. In 2016 30th International Conference on Advanced Information Networking and Applications Workshops (WAINA), IEEE, 585-590.

Nguyen, D. N. (2012). Effect of Enso on extremes and precipitation in Vietnam and predictability. CRES Library, Center for Science, Technology, Meteorology, Hydrology and Environment. (in Vietnamese) 

Nguyen, V. P. (2018). IoT application in monitoring and warning of air pollution levels in urban areas. 

Patil, P., Narayankar, P., Narayan, D. G., and Meena, S. M. (2016). A comprehensive evaluation of cryptographic algorithms: DES, 3DES, AES, RSA and Blowfish. Procedia Computer Science78, 617-624.

Pham, N. M. (2015). The method of monitoring and controlling environmental parameters on the cloud computing platform via the WiMAX wireless communication network. In Proceeding of reports from the 3rd National Conference on Control and Automation, November 28-29, Thai Nguyen, Vietnam. 

Tran, M. V. (2008). Information safety and security. Faculty of Information Technology, Nha Trang University. (in Vietnamese)

Shahzad, A., Kim, Y. G., and Elgamoudi, A. (2017, February). Secure IoT platform for industrial control systems. In 2017 International Conference on Platform Technology and Service (PlatCon), IEEE, 1-6.

Vu, T.Q., Pham, N.M., Nguyen, D.K., Ngo, D.T. (2018). Design and development of a remote visual observing system for rescue operations. Journal of Mining and Earth Sciences, 59(1), 1-8. (in Vietnamese)