The document describes the design of a self-learning system using ANFIS (Adaptive Neuro-Fuzzy Inference System) to diagnose health parameters and predict heart diseases by monitoring electrocardiogram (ECG), pulse oximeter, and temperature sensor readings transmitted from a patient in real-time via an Arduino, ESP8266 WiFi module and ThingSpeak internet of things server. The system is intended to identify preliminary stages of heart diseases so they can be addressed early through continuous remote monitoring of vital signs and alerts sent to doctors if abnormal readings are detected.