
Design and Development of a Secure Edge AI Gateway for Industrial Predictive Maintenance | IJET Volume 12 – Issue 6 | IJET-V12I6P69
IJET
International Journal of Engineering and Techniques
ISSN 2395-1303 · Peer-Reviewed · Open Access
📚 Volume 12, Issue 6
📅 December 3, 2026
📄 Pages 619–628
🔖 ID: IJET-V12I6P69
Table of Contents
ToggleDesign and Development of a Secure Edge AI Gateway for Industrial Predictive Maintenance
Author(s)
Nalina H D, Bhuvana R Shankar, Pallak Dunung Santosh, Haniya D Almeida
Abstract
Unplanned failures of ageing industrial machines interrupt production, yet many legacy machines offer no connected monitoring and replacing them is costly for small and medium-sized enterprises. This paper presents the design, development and demonstration of a low-cost secure Edge Artificial Intelligence (AI) gateway that adds condition monitoring to an existing machine without replacing it. An ESP32 microcontroller acquires vibration from an ADXL335 sensor and temperature from a DS18B20 sensor and publishes the readings to a Raspberry Pi gateway using Message Queuing Telemetry Transport (MQTT) over Transport Layer Security (TLS), with a certificate-authority-signed broker certificate and username/password authentication. On the gateway, a Python subscriber passes each reading to a Random Forest regression model that estimates a fault-risk value from total vibration and temperature, and a status service exposes the result to a web dashboard. When connectivity is lost, the ESP32 stores readings in a LittleFS file and forwards them after reconnection. The integrated prototype was demonstrated end to end: the broker listened on the TLS port, invalid credentials were rejected, the model produced fault-risk estimates and the dashboard displayed live data. Predictive-accuracy metrics were not evaluated, so no claim of validated prediction performance is made. The contribution is a documented, security aware gateway architecture rather than a new learning algorithm; validation on a larger dataset, topic-level access control and credential rotation are identified as necessary next steps.
Keywords
edge computing; industrial Internet of Things; MQTT; predictive maintenance; Random Forest; TLS security.
Conclusion
This paper described the design, development and demonstration of a low-cost secure Edge AI gateway for retrofitting condition monitoring onto legacy machines. The prototype combines ESP32-based acquisition of vibration and temperature, MQTT over TLS with certificate validation and username/password authentication, a Raspberry Pi gateway that estimates fault risk with a Random Forest regression model, LittleFS offline logging and a web dashboard. The strongest finding is the successful end-to-end integration of these functions, including rejection of invalid credentials by the broker. The work is an architecture and integration contribution. It does not establish predictive accuracy, and no model-performance metrics were produced.
References
[1] A. K. S. Jardine, D. Lin, and D. Banjevic, “A review on machinery diagnostics and prognostics implementing condition-based maintenance,” Mechanical Systems and Signal Processing, vol. 20, no. 7, pp. 1483–1510, 2006, doi: 10.1016/j.ymssp.2005.09.012.
[2] T. Zonta, C. A. da Costa, R. da Rosa Righi, M. J. de Lima, E. S. da Trindade, and G. P. Li, “Predictive maintenance in the Industry 4.0: A systematic literature review,” Computers & Industrial Engineering, vol. 150, Art. no. 106889, Dec. 2020, doi: 10.1016/j.cie.2020.106889.
[3]T. Bitam, A. Yahiaoui, D. E. Boubiche, R. Martínez-Peláez, H. Toral Cruz, and P. Velarde-Alvarado, “Artificial intelligence of things for next-generation predictive maintenance,” Sensors, vol. 25, no. 24, Art. no. 7636, Dec. 2025, doi: 10.3390/s25247636.
[4]E. Sezer, D. Romero, F. Guedea, M. Macchi, and C. Emmanouilidis, “An Industry 4.0-enabled low cost predictive maintenance approach for SMEs: A use case applied to a CNC turning centre,” in Proc. 2018 IEEE Int. Conf. Engineering, Technology and Innovation (ICE/ITMC), Stuttgart, Germany, Jun. 2018, doi: 10.1109/ICE.2018.8436307.
[5]S. S. V. K. Kolla, D. M. Lourenço, A. A. Kumar, and P. Plapper, “Retrofitting of legacy machines in the context of Industrial Internet of Things (IIoT),” Procedia Computer Science, vol. 200, pp. 62–70, 2022, doi: 10.1016/j.procs.2022.01.205.
[6]W. Shi, J. Cao, Q. Zhang, Y. Li, and L. Xu, “Edge computing: Vision and challenges,” IEEE Internet of Things Journal, vol. 3, no. 5, pp. 637–646, 2016, doi: 10.1109/JIOT.2016.2579198.
[7]P. Kolok, M. Hodoň, P. Ševčík, L. Hotz, and N. Remy, “Low-cost IoT based predictive maintenance using vibration,” Sensors, vol. 25, no. 21, Art. no. 6610, 2025, doi: 10.3390/s25216610.
[8]S. Arciniegas, D. Rivero, J. Piñan, E. Diaz, and F. Rivas, “IoT device for detecting abnormal vibrations in motors using TinyML,” Discover Internet of Things, vol. 5, Art. no. 41, 2025, doi: 10.1007/s43926-025 00142-4.
[9]K. Stouffer et al., “Guide to operational technology (OT) security,” National Institute of Standards and Technology, NIST Special Publication 800-82 Rev. 3, Sep. 2023, doi: 10.6028/NIST.SP.800-82r3.
[10] A. Banks and R. Gupta, Eds., “MQTT version 3.1.1 plus errata 01,” OASIS Standard Incorporating Approved Errata 01, Dec. 10, 2015. [Online]. Available: http://docs.oasis open.org/mqtt/mqtt/v3.1.1/errata01/os/mqtt-v3.1.1-errata01-os.html (Accessed: 25 Nov. 2026).
[11] M. Dahlmanns, J. Lohmöller, J. Pennekamp, J. Bodenhausen, K. Wehrle, and M. Henze, “Missed opportunities: Measuring the untapped TLS support in the Industrial Internet of Things,” in Proc. ACM Asia Conf. on Computer and Communications Security (ASIA CCS ’22), Nagasaki, Japan, 2022, pp. 252–266, doi: 10.1145/3488932.3497762.
[12] D. Dinculeană and X. Cheng, “Vulnerabilities and limitations of MQTT protocol used between IoT devices,” Applied Sciences, vol. 9, no. 5, Art. no. 848, Feb. 2019, doi: 10.3390/app9050848.
[13] M. Domingues, J. N. Faria, and D. Portugal, “Dimensioning payload size for fast retransmission of MQTT packets in the wake of network disconnections,” EURASIP Journal on Wireless Communications and Networking, vol. 2024, Art. no. 2, 2024, doi: 10.1186/s13638-023 02327-3.
[14] T. P. Carvalho, F. A. A. M. N. Soares, R. Vita, R. P. Francisco, J. P. Basto, and S. G. S. Alcalá, “A systematic literature review of machine learning methods applied to predictive maintenance,” Computers & Industrial Engineering, vol. 137, Art. no. 106024, Nov. 2019, doi: 10.1016/j.cie.2019.106024.
[15] Y. Lei, B. Yang, X. Jiang, F. Jia, N. Li, and A. K. Nandi, “Applications of machine learning to machine fault diagnosis: A review and roadmap,” Mechanical Systems and Signal Processing, vol. 138, Art. no. 106587, Apr. 2020, doi: 10.1016/j.ymssp.2019.106587.
[16] L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.
[17] F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
[18] E. Rescorla, “The Transport Layer Security (TLS) protocol version 1.3,” Internet Engineering Task Force, RFC 8446, Aug. 2018, doi: 10.17487/RFC8446.
[19] E. Di Paolo, E. Bassetti, and A. Spognardi, “Security assessment of common open source MQTT brokers and clients,” arXiv preprint arXiv:2309.03547, 2023. https://arxiv.org/abs/2309.03547 [Online]. Available:
[20] R. A. Light, “Mosquitto: Server and client implementation of the MQTT protocol,” Journal of Open Source Software, vol. 2, no. 13, Art. no. 265, May 2017, doi: 10.21105/joss.00265.
[2] T. Zonta, C. A. da Costa, R. da Rosa Righi, M. J. de Lima, E. S. da Trindade, and G. P. Li, “Predictive maintenance in the Industry 4.0: A systematic literature review,” Computers & Industrial Engineering, vol. 150, Art. no. 106889, Dec. 2020, doi: 10.1016/j.cie.2020.106889.
[3]T. Bitam, A. Yahiaoui, D. E. Boubiche, R. Martínez-Peláez, H. Toral Cruz, and P. Velarde-Alvarado, “Artificial intelligence of things for next-generation predictive maintenance,” Sensors, vol. 25, no. 24, Art. no. 7636, Dec. 2025, doi: 10.3390/s25247636.
[4]E. Sezer, D. Romero, F. Guedea, M. Macchi, and C. Emmanouilidis, “An Industry 4.0-enabled low cost predictive maintenance approach for SMEs: A use case applied to a CNC turning centre,” in Proc. 2018 IEEE Int. Conf. Engineering, Technology and Innovation (ICE/ITMC), Stuttgart, Germany, Jun. 2018, doi: 10.1109/ICE.2018.8436307.
[5]S. S. V. K. Kolla, D. M. Lourenço, A. A. Kumar, and P. Plapper, “Retrofitting of legacy machines in the context of Industrial Internet of Things (IIoT),” Procedia Computer Science, vol. 200, pp. 62–70, 2022, doi: 10.1016/j.procs.2022.01.205.
[6]W. Shi, J. Cao, Q. Zhang, Y. Li, and L. Xu, “Edge computing: Vision and challenges,” IEEE Internet of Things Journal, vol. 3, no. 5, pp. 637–646, 2016, doi: 10.1109/JIOT.2016.2579198.
[7]P. Kolok, M. Hodoň, P. Ševčík, L. Hotz, and N. Remy, “Low-cost IoT based predictive maintenance using vibration,” Sensors, vol. 25, no. 21, Art. no. 6610, 2025, doi: 10.3390/s25216610.
[8]S. Arciniegas, D. Rivero, J. Piñan, E. Diaz, and F. Rivas, “IoT device for detecting abnormal vibrations in motors using TinyML,” Discover Internet of Things, vol. 5, Art. no. 41, 2025, doi: 10.1007/s43926-025 00142-4.
[9]K. Stouffer et al., “Guide to operational technology (OT) security,” National Institute of Standards and Technology, NIST Special Publication 800-82 Rev. 3, Sep. 2023, doi: 10.6028/NIST.SP.800-82r3.
[10] A. Banks and R. Gupta, Eds., “MQTT version 3.1.1 plus errata 01,” OASIS Standard Incorporating Approved Errata 01, Dec. 10, 2015. [Online]. Available: http://docs.oasis open.org/mqtt/mqtt/v3.1.1/errata01/os/mqtt-v3.1.1-errata01-os.html (Accessed: 25 Nov. 2026).
[11] M. Dahlmanns, J. Lohmöller, J. Pennekamp, J. Bodenhausen, K. Wehrle, and M. Henze, “Missed opportunities: Measuring the untapped TLS support in the Industrial Internet of Things,” in Proc. ACM Asia Conf. on Computer and Communications Security (ASIA CCS ’22), Nagasaki, Japan, 2022, pp. 252–266, doi: 10.1145/3488932.3497762.
[12] D. Dinculeană and X. Cheng, “Vulnerabilities and limitations of MQTT protocol used between IoT devices,” Applied Sciences, vol. 9, no. 5, Art. no. 848, Feb. 2019, doi: 10.3390/app9050848.
[13] M. Domingues, J. N. Faria, and D. Portugal, “Dimensioning payload size for fast retransmission of MQTT packets in the wake of network disconnections,” EURASIP Journal on Wireless Communications and Networking, vol. 2024, Art. no. 2, 2024, doi: 10.1186/s13638-023 02327-3.
[14] T. P. Carvalho, F. A. A. M. N. Soares, R. Vita, R. P. Francisco, J. P. Basto, and S. G. S. Alcalá, “A systematic literature review of machine learning methods applied to predictive maintenance,” Computers & Industrial Engineering, vol. 137, Art. no. 106024, Nov. 2019, doi: 10.1016/j.cie.2019.106024.
[15] Y. Lei, B. Yang, X. Jiang, F. Jia, N. Li, and A. K. Nandi, “Applications of machine learning to machine fault diagnosis: A review and roadmap,” Mechanical Systems and Signal Processing, vol. 138, Art. no. 106587, Apr. 2020, doi: 10.1016/j.ymssp.2019.106587.
[16] L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.
[17] F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
[18] E. Rescorla, “The Transport Layer Security (TLS) protocol version 1.3,” Internet Engineering Task Force, RFC 8446, Aug. 2018, doi: 10.17487/RFC8446.
[19] E. Di Paolo, E. Bassetti, and A. Spognardi, “Security assessment of common open source MQTT brokers and clients,” arXiv preprint arXiv:2309.03547, 2023. https://arxiv.org/abs/2309.03547 [Online]. Available:
[20] R. A. Light, “Mosquitto: Server and client implementation of the MQTT protocol,” Journal of Open Source Software, vol. 2, no. 13, Art. no. 265, May 2017, doi: 10.21105/joss.00265.
📋 How to Cite This Paper
Nalina H D, Bhuvana R Shankar, Pallak Dunung Santosh, Haniya D Almeida (2026). Design and Development of a Secure Edge AI Gateway for Industrial Predictive Maintenance. International Journal of Engineering and Techniques, 12(6), 619–628. ISSN: 2395-1303. DOI: https://doi.org/10.5281/zenodo.24769692
Related Posts:


