ECG Signal and Temperature Monitoring for Medical Analysis
ECG Signal and Temperature Monitoring for Medical Analysis
ECE3042
J-COMPONENT REPORT
WINTER SEMESTER 2023
SLOT: C1+TC1
SUBMITTED TO:
Dr SASIKUMAR K
TEAM MEMBERS:
REGULAPATI AMULYA-20BML0006
ARCHIT UTTARWAR-20BML0028
ABSTRACT
INTRODUCTION
The project also utilises machine learning algorithms to provide a more accurate and
reliable analysis of the patient's data. This enables healthcare professionals to detect
potential cardiovascular and thermoregulatory disorders early, which can lead to better
patient outcomes. The system developed in this project provides a user-friendly and
non-intrusive solution for real-time monitoring of a patient's vital signs. The use of
Blynk cloud platform and machine learning algorithms enhances the system's
accuracy and reliability, making it an invaluable tool for healthcare professionals and
caregivers.
LITERATURE SURVEY
The paper “Autonomous Smartwatch with Flexible Sensors for Accurate and
Continuous Mapping of Skin Temperature” [2] suggests a new way to measure the
temperature of the skin using a smartwatch with flexible sensors. The paper talks
about how a prototype smartwatch was made and how it worked. The watch could
measure the temperature of the skin in different places on the body and give accurate
and continuous temperature mapping. The results of the experiments show that the
smartwatch can accurately measure temperature variations over time as well as detect
changes caused by external factors such as exercise and stress. The smartwatch could
be used to check on the health of athletes, spot early signs of illness, and keep track of
changes in skin temperature in people with skin conditions.
The paper “Wearable Sensor and Internet of Things Technology for Better Medical
Science” [3] discusses the potential of wearable sensors and the Internet of Things
(IoT) technology to improve medical science. The authors look at different studies that
have used wearable sensors and Internet of Things (IoT) devices in medical
applications like diagnosing and keeping an eye on diseases, rehabilitation, and care
for the elderly. The article highlights the importance of data privacy and security in
the use of wearable sensors and IoT devices in medical applications. Overall, the
review suggests that wearable sensors and IoT technology have significant potential to
improve medical science, but further research is needed to fully realize this potential.
The paper “Pandemic Stabilizer using Smartwatch” [5] proposes a system called the
"Pandemic Stabilizer" that uses a smartwatch to monitor the wearer's vital signs, such
as heart rate and temperature, and detect symptoms of COVID-19. The system sends
alerts to the wearer and their contacts if symptoms are detected, helping to prevent the
spread of the disease. The paper presents the design and implementation of the
Pandemic Stabilizer. and evaluates its performance in detecting COVID-19 symptoms.
The paper “Design and Implementation of a Feasible Model for the IoT Based
Ubiquitous Healthcare Monitoring System for Rural and Urban Areas” [6] The 97%
accurate device is embedded with a pressure sensor and an inertial monitoring unit for
supervising the movements and the collected data is communicated to a database
wirelessly by MQTT based IoT networking architecture. Such technological
advancements in medical society must be implemented in both rural and urban areas
with good promotion and exposure. It is very essential for the device to work
wirelessly, with or without cellular data. Microelectronics and embedded systems are
vital for designing these types of multi-morale sensing systems based on IoT.
The paper “An IoT Based diabetic patient Monitoring System Using Machine
Learning and Node MCU” [8] this study explores four alternative machine-learning
algorithms for predictive analytics and introduces a new method for monitoring
diabetes patients. The effectiveness and precision of the used algorithms are examined
and compared to determine which one is optimal in terms of various metrics.
The paper “Iot Patient Health Monitoring System” [9] The goal of this work is to
develop a system capable of monitoring important bodily indicators such body
temperature, heart rate, and pulse oximetry. The System also has fall detection and
study of sleep patterns. To do this, the system uses a variety of sensors to monitor
basic indicators that may be connected to the doctor's mobile device or the internet.
The device will remotely transmit readings from the sensor to the cloud, and the data
obtained will progressively be available for study. It has the ability to read and
transmit emergency signs to the cloud, where they are subsequently sent to the
doctor's online site or smartphone.
The paper “Big data analytics of IoT based Health care monitoring system” [10], Intel
Galileo Gen 2 serves as the IoT agent and is utilised to upload patient health data to
the cloud. The growing amount of health data might be managed by the cloud, which
could also help healthcare institutions exchange the data creatively and sustainably.
Real-time alerting of patient health data is a significant Big Data exercise that is
essential to the planned effort. The Hadoop framework is used to analyse the Big
Health Sensor data. Real-time alerting can be accomplished using the suggested
system because of its quicker reaction time.
1. IR TEMPERATURE SENSOR:
Infrared (IR) sensors are widely used in smartwatch temperature sensors due to their
high accuracy and non-contact nature. IR sensors can detect and measure the heat
emitted by the human body, allowing for accurate temperature readings without direct
contact with the skin. IR sensors are also highly responsive, allowing for continuous
temperature monitoring and rapid detection of changes in body temperature.
Additionally, IR sensors can be integrated into compact and low-power smartwatch
designs, making them ideal for wearable devices. With the use of IR sensors,
smartwatch temperature sensors can provide real-time temperature monitoring and
alert the wearer when the temperature goes outside of the normal range, enabling early
detection of health issues.
3. NODE MCU:
The NodeMCU is a versatile microcontroller board that can be used in a variety of
Internet of Things (IoT) applications, including smartwatch temperature sensors. By
integrating the NodeMCU into a smartwatch, it is possible to create a low-cost, yet
powerful device that can accurately measure body temperature and detect changes
over time. The NodeMCU's Wi-Fi connectivity allows the smartwatch to transmit
temperature data to other devices, such as smartphones or cloud services, enabling
remote monitoring and analysis of health data. The NodeMCU's flexibility and ease of
use make it an ideal platform for developing smartwatch temperature sensors and
other IoT applications.
4. BLYNK CLOUD:
Blynk is a platform that enables developers to easily build mobile and web
applications for the Internet of Things (IoT) devices. It provides a user-friendly
interface that allows developers to create graphical interfaces for IoT applications and
to connect their hardware devices to the cloud. Blynk also offers a set of libraries for
various popular development boards, including Arduino, Raspberry Pi, and ESP8266,
making it easy for developers to integrate the platform into their projects. With Blynk,
developers can remotely monitor and control their devices, receive notifications and
alerts, and analyze data in real-time. The platform also provides a range of widgets
and features that can be used to build custom interfaces for IoT applications, such as
buttons, sliders, graphs, and gauges.
BLOCK DIAGRAM
#include <Wire.h>
#include <Adafruit_MLX90614.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#define BLYNK_PRINT Serial
#include <Blynk.h>
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
double temp_amb;
double temp_obj;
double calibration = 2.00;
double cal=1009.00;
// ThingSpeak settings
const char* server = "api.thingspeak.com";
const char* api_key = "VUQN6W7K32QMQ2LS";
// ECG pin
const int ecgPin = A0;
Serial.println("Connected to WiFi");
}
void loop() {
Blynk.run();
temp_amb = mlx.readAmbientTempC();
temp_obj = mlx.readObjectTempC();
Serial.print("Room Temp = ");
Serial.println(temp_amb-cal);
Serial.print("Patient temp = ");
Serial.println(temp_obj+calibration);
// Read ECG value
int ecgValue = analogRead(ecgPin);
if((temp_obj+calibration)>=38.00){
Blynk.logEvent("high_temp", "Patient has High Fever");
}
// Wait for some time before sending next data to ThingSpeak
delay(1000);
}
CONCLUSION
The system also utilised machine learning algorithms to provide a more accurate and
reliable analysis of the patient's data. The use of these algorithms enhanced the
system's accuracy and reliability, making it an invaluable tool for healthcare
professionals and caregivers
FUTURE SCOPE
VIDEO LINK
https://drive.google.com/file/d/1lxRilm_FdW1-SUcff2lm_ta3i6eI_U4H/view?usp=
share_link
REFERENCES
1. Enamamu, Timibloudi & Clarke, Nathan & Haskell-Dowland, Paul & Li, Fudong.
(2017). Smart watch based body-temperature authentication. 1-7.
10.1109/ICCNI.2017.8123790.
2. Magno, Michele & Salvatore, Giovanni Antonio & Mutter, Severin & Farrukh,
Waleed & Troester, Gerhard & Benini, Luca. (2016). Autonomous smartwatch with
flexible sensors for accurate and continuous mapping of skin temperature. 337-340.
10.1109/ISCAS.2016.7527239.
5. Dhull R, Chava D, Kumar DV, Prasad KM, Samudrala G, Bhargav MV. Pandemic
stabilizer using smartwatch. In2020 International Conference on Decision Aid
Sciences and Application (DASA) 2020 Nov 8 (pp. 860-866). IEEE.
10. Magno, Michele, Lukas Cavigelli, Renzo Andri, and Luca Benini. "Ultra-low
power context recognition fusing sensor data from an energy-neutral smart watch." In
Internet of Things. IoT Infrastructures: Second International Summit, IoT 360° 2015,
Rome, Italy, October 27-29, 2015, Revised Selected Papers, Part II, pp. 331-343.
Springer International Publishing, 2016.
11. M. N. Bhuiyan et al., "Design and Implementation of a Feasible Model for the IoT
Based Ubiquitous Healthcare Monitoring System for Rural and Urban Areas," in
IEEE Access, vol. 10, pp. 91984-91997, 2022, doi: 10.1109/ACCESS.2022.3202551.
12. T. Sarma and R. Mudoi, "Biomedical Parameter Monitoring System Using IoT: A
Review," 2022 4th International Conference on Energy, Power and Environment
(ICEPE), 2022, pp. 1-3, doi: 10.1109/ICEPE55035.2022.9798313.
13. A. Athira, T. D. Devika, K. R. Varsha and S. S. Bose S., "Design and Development
of IOT Based Multi-Parameter Patient Monitoring System," 2020, 6th International
Conference on Advanced Computing and Communication Systems (ICACCS), 2020,
pp. 862-866, doi: 10.1109/ICACCS48705.2020.9074293.
14. Amine, Rghioui & Naja, Assia & Lloret, Jaime & Oumnad, Abedlmajid. (2021),
“An IoT Based diabetic patient Monitoring System Using Machine Learning and
Node MCU”, Journal of Physics: Conference Series, DOI: 1743. 012035.
10.1088/1742-6596/1743/1/012035.
15. Usha rani, Shola & Ignatious, Antony & Hari, Bhava & Balavishnu, V. (2017),
“Iot Patient Health Monitoring System”, Indian Journal of Public Health Research &
Development, DOI: 8. 1329. 10.5958/0976-5506.2017.00519.8.