As cardiovascular diseases continue to be a leading cause of mortality, recent-ly, wearable devices for monitoring cardiac activity have gained much interest among medical community. This paper introduces an innovative ECG monitoring system based on a single – lead ECG machine enhanced with machine learning methods. The system only processes and analyses the ECG data, but also predict potential heart disease at an early stage.
The wearable device was built on the ADS1298 and a microcontroller STM32L151xD. A server module based on REST API architecture style was designed to fa-cilitate interaction with web-based segment of the system. The module is responsible for receiving data in real time from microcontroller and their deliver to web – based segment. Algorithms for analyzing ECG signals have been developed, including band filter artifact removal, K-means clustering for signal segmentation, and PQRST analysis. Machine leaning methods as Isolation Forest have been employed for ECG anomaly detection. Moreover, a comparative analysis with various machine learning methods, including lo-gistic regression, random forest, SVM, XGBoost, decision forest and, CNNs was conducted to predict cardiovascular diseases. Convoluted Neural Networks (CNN) showed an accu-racy of 0.926, proving high effectiveness in ECG data process.