Vol. 4 No. 1 (2024): Journal of Millimeterwave Communication, Optimization and Modelling

A Physical Tracking of ESP32 IoT Devices with RSSI Based Indoor Position Calculation

Özlem Şeker
Dokuz Eylül Üniversitesi

Published 29.02.2024


  • indoor localization,
  • IoT,
  • RSSI,
  • ESP32,
  • Wi-Fi


In recent days, the increase in the number of devices that can access the Internet and the variety of areas where it is used have made it essential to ensure the security of the transmitted data. The unique values embedded in the hardware can be used as keys or secret values within cryptographic algorithms to provide the confidentiality and integrity of the data. In such a situation, maintaining the security of the Internet of things (IoT) device used is a prominent element as well as the privacy of the data. The security requirement of each IoT application may be different. While some applications contain sensitive personal or commercial information, for some applications only the presence of the device may be important. In addition, it is likely to have different devices capable of processing cryptographic algorithms. Within the scope of this study, the distance information was calculated with received signal strength indication (RSSI) data based on 4 reference points of the ESP32 IoT device located indoors. The error rate was observed with the positioning based on the RSSI information of the current position of the device. It has been tested whether it is possible to detect whether the device that transfers the data is legitimate or not via indoor position calculation using RSSI.


  1. Ö. Şeker and G. Dalkiliç, “Implementation and Performance Analysis of a Multi-Protocol Gateway,” in 2022 Innovations in Intelligent Systems and Applications Conference (ASYU),” pp. 1-6, September 2022.
  2. S. M. Asaad and H. S. Maghdid, “A comprehensive review of indoor/outdoor localization solutions in iot era: Research challenges and future perspectives,” Computer Networks, 109041, 2022.
  3. S. J. Hayward, K. van Lopik, C. Hinde and A. A. West, “A survey of indoor location technologies, techniques and applications in industry,” Internet of Things, vol. 20, 100608, ISSN 2542-6605, 2022.
  4. ESP32-S ESP-IDF programming guide, Jan. 2023, [online] Available: https://docs.espressifcomlprojects/esp-idf/en/v4.2-beta1/esp32s2/esp-idf-en-v4.2-beta1-esp32s2.pdf.
  5. S. Akleylek, E. Kiliç, B. Söylemez, T. E. Aruk and A. Çavuş,“Kapalı mekan konumlandirma üzerine bir çalışma, ” Mühendislik Bilimleri ve Tasarım Dergisi, vol. 8(5), pp. 90-105, 2020.
  6. S. R. Misal, S. R. Prajwal, H. M. Niveditha, H. M. Vinayaka and S. Veena, “indoor positioning system (IPS) using ESP32, MQTT and Bluetooth,” in Fourth International Conference on Computing Methodologies and Communication (ICCMC),” pp. 79-82, March 2020.
  7. A. A. S. AlQahtani, H. Alamleh and B. Al Smadi, “IoT Devices Proximity Authentication In Ad Hoc Network Environment,” in International IOT, Electronics and Mechatronics Conference (IEMTRONICS), pp. 1-5, June 2022.
  8. S. Sophia, B. Maruthi Shankar, K. Akshya, AR. C. Arunachalam, V. T. Y. Avanthika and S. Deepark,” Bluetooth Low Energy based Indoor Positioning System using ESP32,” in Third International Conference on Inventive Research in Computing Applications (ICIRCA), pp. 1698-1702, 2021.
  9. A. Rakshith, V. H. Navneeth, P. S. Dravya, K. U. Holla, K. N. Pushpalatha, “Indoor Navigation System using BLE and ESP32,” in International Journal for Research in Applied Science & Engineering Technology (IJRASET), November 2020.
  10. A. Puckdeevongs, N. K. Tripathi, A. Witayangkurn and P. Saengudomlert,” Classroom Attendance Systems Based on Bluetooth Low Energy Indoor Positioning Technology for Smart Campus,” Information, vol. 11(6):329, 2020, https://doi.org/10.3390/info11060329.
  11. F. Liu, J. Liu, Y. Yin, W. Wang, D. Hu, P. Chen and Q. Niu,” Survey on WiFi-based indoor positioning techniques,” The Instution of Engineering and Technology, vol. 14(9), pp. 1372-1383, 2020.
  12. D. B. Ninh, J. He, V. T. Trung, D. P. Huy, “An effective random statistical method for Indoor Positioning System using WiFi fingerprinting, ”Future Generation Computer Systems, vol. 109, pp. 238-248, 2020.
  13. S. He and S. H. G. Chan, “Wi-Fi Fingerprint-Based Indoor Positioning: Recent Advances and Comparisons,” IEEE Communications Surveys & Tutorials, vol. 18(1), pp. 466-490, 2016.