An IoT-Device Based on KNN for Heatstroke Illness Prevention
DOI:
https://doi.org/10.57260/stc.2026.1265Keywords:
Realtime processing, Heat stroke, Private cloud, KNN, IoT technologyAbstract
Using Internet of Things (IoT) technologies and Private Cloud data processing, this study aims to (1) find out how heatstroke occurs in people who are outside, especially when they are dehydrated or have impaired thermoregulation; (2) create an automated real-time monitoring and heat warning system; and (3) assess how well the system works to prevent heat-related illnesses. The study involved creating a prototype that can independently use external environmental sensors to evaluate temperature, humidity, and air pressure. A mean fusion technique was utilized to combine sensor data with meteorological data sourced from the OpenWeatherMap API, thereby improving the accuracy of the study. The K-Nearest Neighbor (KNN) method was utilized to analyze the aggregated data and evaluate the likelihood of an individual experiencing heatstroke. The model achieved peak performance at k = 3, demonstrating an accuracy of 86.67% in recognizing high-risk heat scenarios. The system was equipped with automated notifications that delivered accurate real-time alerts. Groups participating in outdoor activities, such as students in outdoor classes, athletes undergoing training, and workshop attendees exposed to sunlight, took part in field trials. The evaluation findings indicated that consumers expressed a high level of satisfaction, achieving an average rating of 4.37 out of 5.00 (87.44%). The device control function achieved an impressive satisfaction rating, with an average score of 4.54 (90.80%). The findings demonstrate that the method we proposed serves as a dependable, cost-effective, and scalable solution for tracking local temperature levels and reducing the risk of heatstroke. This method can be utilized in educational settings and various outdoor locations where proactive management of heat-related health issues is essential.
Downloads
References
Abhishek, K., Singh, M. P., Ghosh, S., & Anand, A. (2012). Weather forecasting model using artificial neural network. Procedia Technology, 4, 311–318. https://doi.org/10.1016/j.protcy.2012.05.047
Addoddorn, C. (2012). The design and construction of wireless spray weeds robot controlled by microcontroller. Engineering and Applied Science Research, 37(1), 19–27. https://ph01.tci-thaijo.org/index.php/easr/article/view/1686
Jay, C. (1981). Small engine operation and service. American Technical Publishers.
Krutz, G., Thomson, L., & Claar, P. (1984). Design of agricultural machinery. John Wiley & Sons.
Lugo-Amador, N. M., Rothenhaus, T., & Moyer, P. (2004). Heat-related illness. Emergency Medicine Clinics of North America, 22(2), 315–327. https://doi.org/10.1016/j.emc.2004.01.004
Mahesh, B. (2018). Machine learning algorithms: A review. International Journal of Science and Research (IJSR), 7(8), 381–386. https://doi.org/10.21275/ART20203995
Rghioui, A., Naja, A., Mauri, J. L., & Oumnad, A. (2021). An IoT-based diabetic patient monitoring system using machine learning and NodeMCU. Journal of Physics: Conference Series, 1743(1), 012035. https://doi.org/10.1088/1742-6596/1743/1/012035
Sharma, A., Chaturvedi, S., & Gour, B. (2014). A semi-supervised technique for weather condition prediction using DBSCAN and KNN. International Journal of Computer Applications, 95(10), 21–26. https://doi.org/10.5120/16631-6500
Shigley, J. E., & Mischke, C. R. (1989). Mechanical engineering design. (5th ed.). McGraw-Hill.
Sudharsan, B., Breslin, J. G., & Ali, M. I. (2021). ML-MCU: A framework to train ML classifiers on MCU-based IoT edge devices. IEEE Internet of Things Journal, 9(16), 15007–15017. https://ieeexplore.ieee.org/document/9490288
Wang, T., Fang, K., Wei, W., Tian, J., Pan, Y., & Li, J. (2022). Microcontroller unit chip temperature fingerprint informed machine learning for IIoT intrusion detection. IEEE Transactions on Industrial Informatics, 19(2), 2219–2227. https://ieeexplore.ieee.org/document/9847023
World Health Organization. (2024). Heat claims more than 175,000 lives annually in the WHO European Region, with numbers set to soar. https://www.who.int/europe/news/item/01-08-2024-statement--heat-claims-more-than-175-000-lives-annually-in-the-who-european-region--with-numbers-set-to-soar
Yoddumnern, A., Chaisricharoen, R., & Yooyativong, T. (2018). A smart WiFi multi-sensor node for fire detection mechanism based on social network. International Journal of Online and Biomedical Engineering, 14(10), 4–20. https://doi.org/10.3991/ijoe.v14i10.8488
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Science and Technology to Community

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
1. Articles, information, content, images, etc. that are published in "Science and Technology for Community Journal" is the copyright of science and Technology for Community Journal. Chiang Mai Rajabhat University. If any person or organization wants to distribute all or any part of it or do any action Must have written permission from the science and Technology for Community Journal, Chiang Mai Rajabhat University.
2. Content of articles appearing in the journal is the responsibility of the author of the article. The journal editor is not required to agree or take any responsibility.



