Design and Preliminary Experimental Characterization of a LowCost ESP32-Based System for Electric Motor Condition Monitoring

Authors

Gael Rangel Castañón

Instituto Tecnológico de Pachuca, Pachuca de Soto, Hidalgo, México (México)

Diego Ortega Pérez

Instituto Tecnológico de Pachuca, Pachuca de Soto, Hidalgo, México (México)

Noel Montiel Elizalde

Instituto Tecnológico de Pachuca, Pachuca de Soto, Hidalgo, México (México)

Yael Omar Acosta Rangel

Instituto Tecnológico de Pachuca, Pachuca de Soto, Hidalgo, México (México)

Irving Yahir Barrera Nochebuena

Instituto Tecnológico de Pachuca, Pachuca de Soto, Hidalgo, México (México)

Article Information

DOI: 10.47772/IJRISS.2026.102500007

Subject Category: Electrical Engineering

Volume/Issue: 10/25 | Page No: 83-104

Publication Timeline

Submitted: 2026-10-21

Accepted: 2026-10-26

Published: 2026-11-14

Abstract

Small and medium-sized manufacturing enterprises without digital instrumentation detect incipient faults in electric motors by sight and sound, which leaves no record of the vibration and temperature changes that precede a breakdown. This study designed and preliminarily characterized a low-cost prototype, based on an ESP32 microcontroller, that measures vibration and temperature and classifies the motor state against approximate thresholds derived from the International Organization for Standardization (ISO) 10816-1 class limits. It also reports a preliminary proof of concept of a tiny machine learning (TinyML) anomaly detector intended to run on the microcontroller. The research was quantitative, applied and cross-sectional, in two stages. In stage 1, the prototype, with an MPU6050 accelerometer sampled at 20 Hz and a DS18B20 sensor, measured five workshop motors once each. The three motors with a known rated speed fell 71% to 85% below the approximate warning threshold (0.05 to 0.08 m/s² root mean square, RMS), a non-validated classification; a portable drill recorded 1.36 m/s² but could not be classified for lack of a rated speed. In stage 2, the sensor noise floor was characterized at 500 Hz, and a first capture of a running lathe motor gave an RMS 4.6 times that floor, with most energy between 65 and 130 Hz rather than at the rotation frequency. Because faults could not be induced, an INT8 autoencoder of about 3.9 kilobytes was trained on the 155 windows of that single session and tested with synthetic anomalies, reaching a sensitivity of 0.69 and a specificity of 0.95 with a chronological split; the threshold rule detected none. These optimistic figures were not measured on the microcontroller. Low-cost acquisition is feasible, but threshold conversion requires spectral velocity analysis before it can be considered equivalent to the standard. A bench calibration found gain errors below 0.6%, and the detector runs on the microcontroller in about 49 µs per window using 0.01% of the processor time

Keywords

internet of things, predictive maintenance, TinyML, ESP32, ISO 10816, anomaly detection

Downloads

References

1. Ahmad, S., Styp-Rekowski, K., Nedelkoski, S., & Kao, O. (2021). Autoencoder-based condition monitoring and anomaly detection method for rotating machines [Preprint]. arXiv. https://arxiv.org/abs/2101.11539 [Google Scholar] [Crossref]

2. Arciniegas, S., Rivero, D., Piñan, J., Diaz, E., & Rivas, F. (2025). IoT device for detecting abnormal vibrations in motors using TinyML. Discover Internet of Things, 5, Article 41. https://doi.org/10.1007/s43926-025-00142-4 [Google Scholar] [Crossref]

3. Auqui Fajardo, C. H., & Farez Chasi, C. O. (2024). Diseño e implementación de un sistema de monitoreo IoT de temperatura y vibración para protección de motores eléctricos [Design and implementation of an IoT temperature and vibration monitoring system for electric motor protection] [Undergraduate thesis, Universidad Politécnica Salesiana]. Repositorio Institucional UPS. https://dspace.ups.edu.ec/bitstream/123456789/29087/1/UPS-GT005779.pdf [Google Scholar] [Crossref]

4. Brito, S. D., Azinheira, G. J., Semião, J. F., Sousa, N. M., & Pérez Litrán, S. (2025). Non-intrusive low-cost IoT-based hardware system for sustainable predictive maintenance of industrial pump systems. Electronics, 14(14), 2913. https://doi.org/10.3390/electronics14142913 [Google Scholar] [Crossref]

5. Carvalho de Lucena Filho, C. A., & Valencia de Almeida, F. (2026). TinyML for fault detection in rotating machinery: A post-training quantization assessment on the MAFAULDA dataset. In Anais do 20º Brazilian e-Science Workshop (pp. 33–40). Sociedade Brasileira de Computação. https://doi.org/10.5753/bresci.2026.249387 [Google Scholar] [Crossref]

6. Coleman, C., Damodaran, S., Chandramouli, M., & Deuel, E. (2017). Making maintenance smarter: Predictive maintenance and the digital supply network. Deloitte Insights. https://www.deloitte.com/us/en/insights/industry/manufacturing-industrial-products/industry-4-0/using-predictive-technologies-for-asset-maintenance.html [Google Scholar] [Crossref]

7. David, R., Duke, J., Jain, A., Janapa Reddi, V., Jeffries, N., Li, J., Kreeger, N., Nappier, I., Natraj, M., Wang, T., Warden, P., & Rhodes, R. (2021). TensorFlow Lite Micro: Embedded machine learning for TinyML systems. Proceedings of Machine Learning and Systems, 3, 800–811. https://proceedings.mlsys.org/paper_files/paper/2021/hash/6c44dc73014d66ba49b28d483a8f8b0d-Abstract.html [Google Scholar] [Crossref]

8. Gomez Garcia, J. A. (2025). Sistema de adquisición y monitoreo en tiempo real para la detección temprana de fallas en motores mediante análisis de señales de vibración y temperatura bajo un ambiente (IoT) [Real-time acquisition and monitoring system for early fault detection in motors through vibration and temperature signal analysis in an IoT environment] [Degree thesis, Universidad Nacional Abierta y a Distancia]. Repositorio Institucional UNAD. https://repository.unad.edu.co/jspui/bitstream/10596/69921/4/jagomezgar.pdf [Google Scholar] [Crossref]

9. International Organization for Standardization. (1995). Mechanical vibration. Evaluation of machine vibration by measurements on non-rotating parts. Part 1: General guidelines (ISO Standard No. 10816-1:1995). [Google Scholar] [Crossref]

10. International Organization for Standardization. (2016). Mechanical vibration. Measurement and evaluation of machine vibration. Part 1: General guidelines (ISO Standard No. 20816-1:2016). [Google Scholar] [Crossref]

11. Janumala, T., Pavan, K. L., Ambareesh, K. V., Srirama, V., Khan, M. F., Keerthi, U. K., & Vedanth, S. (2026). Real-time industrial machine health monitoring and failure prediction using ESP32. International Journal of Engineering Research & Technology, 15(6). https://doi.org/10.5281/zenodo.20579053 [Google Scholar] [Crossref]

12. Khan, N., Rafiq, F., Abedin, F., & Khan, F. U. (2019). IoT based health monitoring system for electrical motors. In 2019 15th International Conference on Emerging Technologies (ICET). IEEE. https://doi.org/10.1109/ICET48972.2019.8994398 [Google Scholar] [Crossref]

13. Kolok, P., Hodoň, M., Ševčík, P., Hotz, L., & Remy, N. (2025). Low-cost IoT-based predictive maintenance using vibration. Sensors, 25(21), Article 6610. https://doi.org/10.3390/s25216610 [Google Scholar] [Crossref]

14. Magadán, L., Suárez, F. J., Granda, J. C., & García, D. F. (2022). Low-cost industrial IoT system for wireless monitoring of electric motors condition. Mobile Networks and Applications, 28(1), 97–106. https://doi.org/10.1007/s11036-022-02017-2 [Google Scholar] [Crossref]

15. Martínez Jiménez, N. (2022). Sistema IIoT para monitorización de motores eléctricos y detección de anomalías mediante el análisis de vibraciones en rodamientos [IIoT system for monitoring electric motors and detecting anomalies through bearing vibration analysis] [Master’s thesis, Universidad de Oviedo]. Repositorio Institucional de la Universidad de Oviedo. https://digibuo.uniovi.es/dspace/bitstream/handle/10651/64200/TFM_NicolasMartinezJimenez.pdf [Google Scholar] [Crossref]

16. Maruthi, G. S., & Hegde, V. (2016). Application of MEMS accelerometer for detection and diagnosis of multiple faults in the roller element bearings of three phase induction motor. IEEE Sensors Journal, 16(1), 145–152. [Google Scholar] [Crossref]

17. Njor, E., Hasanpour, M. A., Madsen, J., & Fafoutis, X. (2024). A holistic review of the TinyML stack for predictive maintenance. IEEE Access, 12, 184861–184882. https://doi.org/10.1109/ACCESS.2024.3512860 [Google Scholar] [Crossref]

18. OECD. (2024). Índice de Políticas para PyMEs: América Latina y el Caribe 2024 [SME Policy Index: Latin America and the Caribbean 2024] (Chapter 18: Mexico). https://www.oecd.org/es/publications/indice-de-politicas-para-pymes-america-latina-y-el-caribe-2024_807e9eaf-es/full-report/component-24.html [Google Scholar] [Crossref]

19. Oropesa-Márquez, Y., & Cecilia-Simón, N. (2018). Metodología combinada del uso de MarPrime y Vibrotip para diagnóstico del motor HYUNDAI HIMSEN 9H25/33 [Combined methodology using MarPrime and Vibrotip for diagnosing the HYUNDAI HIMSEN 9H25/33 engine]. Científica, 22(1), 71–79. https://www.redalyc.org/journal/614/61458000008/61458000008.pdf [Google Scholar] [Crossref]

20. Page, M. J., McKenzie, J. E., Bossuyt, P. M., Boutron, I., Hoffmann, T. C., Mulrow, C. D., Shamseer, L., Tetzlaff, J. M., Akl, E. A., Brennan, S. E., Chou, R., Glanville, J., Grimshaw, J. M., Hróbjartsson, A., Lalu, M. M., Li, T., Loder, E. W., Mayo-Wilson, E., McDonald, S., … Moher, D. (2021). The PRISMA 2020 statement: An updated guideline for reporting systematic reviews. BMJ, 372, Article n71. https://doi.org/10.1136/bmj.n71 [Google Scholar] [Crossref]

21. Pandit, S. R., Patil, K., & Vaidya, V. (2025). Vibration-based motor health monitoring system using ESP32 and ADXL345. International Journal of Progressive Research in Engineering Management and Science, 5(4), 3550–3552. https://www.ijprems.com/ijprems-paper/vibration-based-motor-health-monitoring-system-using-esp32-and-adxl345 [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles