Energy Consumption of Methods for Pattern Recognition using Microcontrollers


  • Oleksandr Osolinskyi
  • Khrystyna Lipianina-Honcharenko
  • Volodymyr Kochan
  • Anatoliy Sachenko
  • Diana Zahorodnia



energy consumption, microcontrollers, recognition algorithms, recognizing patterns, anomalies detection


This paper presents the study of energy consumption of the methods for recognizing patterns/anomalies in numerical series, namely, the light sensor values in a smart home system. Methods for analyzing time series, identifying anomalous zones, and testing anomaly recognition algorithms are presented, and the smart system is prototyped. The energy consumption of correlation, comparison, and recognition methods using NNs is measured and analyzed. The case study has confirmed that the most resistant to signal changes and interference is the correlation analysis method. A methodology for applying recognition algorithms for different strategies for using optimal energy consumption is presented.


A. Blázquez-García, A. Conde, U. Mori, and J. A. Lozano, “A review on outlier/anomaly detection in time series data,” ACM Comput. Surv., vol. 54, issue 3, Article 56, 33 pages, 2021.

A. S. Alghawli, “Complex methods detect anomalies in real time based on time series analysis,” Alexandria Engineering Journal, Elsevier, vol. 61, issue 1, pp. 549–561, 2022.

K. P. Sinaga and M.-S. Yang, “Unsupervised k-means clustering algorithm,” IEEE Access, vol. 8, pp. 80716-80727, 2020,

E. Garcia-Breijo, et al., “A comparison study of pattern recognition algorithms implemented on a microcontroller for use in an electronic tongue for monitoring drinking waters.” Sensors and Actuators A: Physical, vol. 172, issue 2, pp. 570-582, 2011.

M. Al-Kofahi, M. Al-Shorman, & O. Al-Kofahi, Osameh, “Toward energy efficient microcontrollers and IoT systems,” Preprint, pp. 1-23, 2019,

L. Lin, et al., “Power management in low-power MCUs for energy IoT applications,” Journal of Sensors, vol. 2020, pp. 1-12, 2020.

R. Krishnamurthi, A. Kumar, D. Gopinathan, A. Nayyar, B. Qureshi, “An overview of IoT sensor data processing, fusion, and analysis techniques,” Sensors, vol. 20, article 6076, 2020.

M. D. Ahmad, et al., “Lux meter integrated with internet of things (IoT) and data storage (LMX20),” Proceedings of the 2021 IEEE International Conference in Power Engineering Application (ICPEA), 2021.

P. A. Waghmare and J. V. Megha, “Efficient pattern recognition in time series data,” Proceedings of the 2018 International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India, 2018, pp. 436-441,

A. Wilinski, “Time series modeling and forecasting based on a Markov chain with changing transition matrices,” Expert Systems with Applications, vol. 133, pp. 163-172, 2019,

A. Udal, A. Riid, M. Jaanus, K. Parnamets and M. Lokuta, “Development and testing of a compact voice command recognition algorithm for limited complexity microcontroller devices,” Proceedings of the 2018 22nd International Conference Electronics, 2018, pp. 1-5,

K. Dokic, B. Radisic, & M. Cobovic, “MicroPython or Arduino C for ESP32-efficiency for neural network edge devices,” Proceedings of the International Symposium on Intelligent Computing Systems, March 2020, pp. 33-43). Cham: Springer International Publishing.

X. Xu, Y. Ding, S. X. Hu, et al., “Scaling for edge inference of deep neural networks,” Nat Electron, vol. 1, pp. 216–222, 2018.

M. Komar, V. Kochan, L. Dubchak, S. Bezobrazov, I. Romanets, “High performance adaptive system for cyber attacks detection,” Proceedings of the 2017 IEEE 9th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications, IDAACS’2017, 2017, vol. 2, pp. 853–858.

M. Malinowski, M. Kampik, and K. Musioł, “Software for automation of measurements with Keysight E4980A LCR meter,” Measurement Systems in Research and in Industry, Proceedings of the 13th Scientific Conference, 2020.

V. Konstantakos, A. Chatzigeorgiou, S. Nikolaidis and T. Laopoulos, “Energy consumption estimation in embedded systems,” Proceedings of the 2006 IEEE Instrumentation and Measurement Technology Conference Proceedings, Sorrento, Italy, 2006, pp. 235-238, doi: 10.1109/IMTC.2006.328405.

Q. He, B. Segee and V. Weaver, “Raspberry Pi 2 B+ GPU power, performance, and energy implications,” Proceedings of the 2016 International Conference on Computational Science and Computational Intelligence (CSCI), 2016, pp. 163-167,

C. A. Okigbo, A. Seeam, S. P. Guness, X. Bellekens, G. Bekaroo, V. Ramsurrun, “Low-cost air quality monitoring: comparing the energy consumption of an Arduino against a raspberry Pi based system,” Proceedings of the 2nd International Conference on Intelligent and Innovative Computing Applications ICONIC'20, September 2020, Article no. 36, pp. 1–8,

M. Al-Shorman, M. Al-Kofahi, & O. Al-Kofahi, “A practical microwatt-meter for electrical energy measurement in programmable devices,” Measurement and Control, vol. 51, 002029401879435, 2018.

V. Turchenko, I. Kit, O. Osolinskyi, D. Zahorodnia, P. Bykovyy and A. Sachenko, “IoT based modular grow box system using the AR,” Proceedings of the 2020 IEEE International Conference on Problems of Infocommunications. Science and Technology (PIC S&T), 2020, pp. 741-746,

P. Fränti, & S. Sieranoja, “How much can k-means be improved by using better initialization and repeats?” Pattern Recognition, Elsevier, vol. 93, pp. 95–112, 2019.

C. Yuan, H. Yang, “Research on k-value selection method of k-means clustering algorithm,” Scientific Multidisciplinary Journal MDPI, vol. 2, issue 2, pp. 226-235, 2019.

A. Kanavos, S. A. Iakovou, S. Sioutas, V. Tampakas, “Large scale product recommendation of supermarket ware based on customer behaviour analysis,” Big Data and Cognitive Computing, vol. 2, issue 2, 11, 2018.

P. Fränti, S. Sieranoja, “K-means properties on six clustering benchmark data sets,” ApplIntell, Springer, vol. 48, pp. 4743–4759, 2018.

H. Lipyanina-Goncharenko, V. Brych, S. Sachenko, T. Lendyuk, P. Bykovyy, & D. Zahorodnia, Method of Forming a Training Sample for Segmentation of Tender Organizers on Machine Learning Basis. Proceedings of the Proceedings of the 5th International Conference on Computational Linguistics and Intelligent Systems (COLINS 2021). Volume I: Main Conference Lviv, Ukraine, April 22-23, 2021, pp. 1843-1852. [Online]. Available at:

A. Dovbysh, V. Liubchak, I. Shelehov, J. Simonovskiy, A. Tenytska, “Information-extreme machine learning of a cyber attack detection system,” Radioelectronic and Computer Systems, no. 3, 2022, pp. 121-131,

N. Malekar, “Survey of PCA, DWT, k-means and novel k- means algorithm for image processing,” 2014. [Online]. Available at:

H. Alshareefi, C. Lupu, L. Ismail, & L. D. Luu, “The design and testing of a neural controller based on artificial neural network theory using LABVIEW facilities,” UPB Sci. Bull. Ser. C Electr. Eng. Comput. Sci., vol. 83, issue 3, pp. 35-46, 2021.

S. Chakraverty, D. M. Sahoo, N. R. Mahato, “Perceptron learning rule,” Concepts of Soft Computing: Fuzzy and ANN with Programming, Springer, Singapore, pp. 183-188, 2019.

W. Vallejo, C. Díaz-Uribe, & C. Fajardo, “Google colab and virtual simulations: practical e-learning tools to support the teaching of thermodynamics and to introduce coding to students,” ACS Omega, vol. 7, issue 8, pp. 7421-7429, 2022.

S. Chatterjee, “A new coefficient of correlation,” Journal of the American Statistical Association, 116.536, pp. 2009-2022, 2021.

S. Khalilpourazari, and S. H. R. Pasandideh, “Modeling and optimization of multi-item multi-constrained EOQ model for growing items,” Knowledge-Based Systems, vol. 164, pp. 150-162, 2019.

S. Sebastian, “A survey about power consumption for Arduino,” Carpathian Journal of Electrical Engineering, vol. 14, issue 1, pp. 105-109, 2020.

Digital multimeter; USB; LCD; (40000); Bargraph: 40segm.10x/s Manufacturer part number: UT71E. [Online]. Available at:

N. Lutsiv, T. Maksymyuk, M. Beshley, A. Sachenko, L. Vokorokos, J. Gazda, “Deep semisupervised learning-based network anomaly detection in heterogeneous information systems,” Computers, Materials and Continua, vol. 70, issue 1, pp. 413–431, 2021.




How to Cite

Osolinskyi, O., Lipianina-Honcharenko, K., Kochan, V., Sachenko, A., & Zahorodnia, D. (2023). Energy Consumption of Methods for Pattern Recognition using Microcontrollers. International Journal of Computing, 22(4), 502-508.