International Journal of Applied Mathematics and Computing.
Vol. 2 No. 3 (2025): July : International Journal of Applied Mathematics and Computing

Development of an IoT-Based Smart Health Monitoring System with Heart Attack Prediction Using the SVM (Support Vector Machine) Algorithm




Article Info

Publish Date
30 Jul 2025

Abstract

Early detection of a potential heart attack is a crucial step in preventing sudden death from heart disease. This research aims to develop an Internet of Things (IoT)-based health monitoring system capable of measuring vital body data in real time and predicting the likelihood of a heart attack from CSV data obtained from sensors, integrated through RapidMiner as learning data using a machine learning algorithm, the Support Vector Machine (SVM). The system was built using an ESP32 microcontroller connected to a MAX30102 sensor to measure heart rate and finger oxygen levels (SpO₂), as well as a DHT22 sensor to measure temperature and humidity. The resulting data is sent to the Blynk application to display real-time data according to its parameters. The initial prediction logic was developed using a rule-based method based on medical thresholds for four vital parameters. The data was then used to train an SVM model as a classification system to detect potential heart attacks. Test results showed that the system can identify abnormal conditions with a good level of accuracy and provide early warnings based on changes in vital parameters in real time. This system is expected to be an initial solution for personal health monitoring, especially for individuals at risk of heart disease. It can be further developed with cloud integration and automatic notifications to users' devices.

Copyrights © 2025






Journal Info

Abbrev

IJAMC

Publisher

Subject

Computer Science & IT Mathematics

Description

This Journal accepts manuscripts based on empirical research, both quantitative and qualitative. This journal is a peer-reviewed and open access journal of Mathematics and ...