IoT Based Vital Body
IoT Based Vital Body
in
by
ABHISHEK KUMAR SINGH, AKSHAT SHARMA, SHUVAM KUMAR
ROLL NO: 1604002, 1604006, 1604051
i
DECLARATION
We hereby declare that the thesis entitled “IoT Based Vital Body Parameter Tracker”
submitted by us, to be awarded a Bachelor of Technology in Electronics & Telecommunication
Engineering degree at KIIT a record of honest work done by us under the direction of Dr. Sunil
Kr. Mishra and Dr. Jonathan Joshi.
We further declare that the work reported in this thesis has not been submitted and will not be
submitted, in part or in full, for any other degree or diploma from this institution or any other
institution or university.
Place: Bhubaneswar
STUDENT SIGNATURE
ii
CERTIFICATE
This is a confirmation that the thesis is entitled “IoT Based Vital Body Parameter Tracker”
submitted by Abhishek Kumar Singh, Akshat Sharma, Shuvam Kumar, Roll No: 1604002,
1604006, 1604051, School of Electronics Engineering, KIIT, Bhubaneswar, to receive a
Bachelor of Technology degree in Electronics and Telecommunication Engineering, a record of
honest work under his direction, according to the KIIT code of ethics for education and research.
The contents of this report have not been submitted and may not be submitted in part or in full, in
order to award any other degree or diploma to this institution or any other institution or
university. The thesis complies with the requirements and regulations of the University and in
my opinion meets the required standards of delivery.
Dr. J. R. Panda
Dr. S. Nanda
Dr. N. K. Rout
Chairman, DPEC
iii
ACKNOWLEDGMENTS
We feel immense pleasure and feel privileged in expressing our deepest and most sincere
gratitude to our supervisor Dr. Sunil Kr. Mishra, for his excellent guidance throughout our
project work. His kindness, dedication, hard work and attention to detail have been a great
inspiration to us. Our heartfelt thanks to you Sir for the unlimited support and patience shown to
us. We would particularly like to thank him for all his help in patiently and carefully correcting
all our manuscripts. We also would like to thank Dr. Jonathan Joshi, Vanmat Technologies
Pvt. Ltd. Mumbai for assisting in embedded programming and sensor calibration.
We are also very thankful to Dr. Arun Kumar Ray, Director (School of Electronics
Engineering), Dr. Suprava Pattanaik, Dean (School of Electronics Engineering), Dr. Amlan
Datta (Associate Dean School of Electronics Engineering) for their support and suggestions
during our course of the project work.
iv
ABSTRACT
The objective is to make a system that is easy to use so that the user doesn’t need much assistance while
using the system and make it portable. The proposed system tackles a lot of concerns of present day. It
collects the various vital parameters including Oxygen saturation levels, beats per minute (bpm) range,
body temperature as well as the room temperature. This data is displayed to the user and the information
collected is sent to the cloud from where it can be accessed by the doctors to keep a track of their patients
without being in direct contact reducing chances of getting contaminated. A noninvasive method is used
for collecting data from the patients, so this leads to a safer collection of data. It ensures the reduction the
chances of getting infected with other contaminating diseases. The sensors used in this system include
MAX30100 for oxygen saturation and pulse measurement, and LM35 Sensor for body temperature
measurement. The NodeMCU development board is used in this system. The proposed system makes use
of WiFi technology for the IoT in which “Blynk” application is used to display the vitals of the patient's
health condition in online. This device is tested for body parameter tracking which are in a specific range.
It is not tested for fractional changes in body parameters. This project ensures the system integration that
is ready for use within an enterprise. The proposed device cost around INR 1290. However, devices
available with only two facilities, i.e. SpO2 and heart rate measurement, cost around INR 1800.
Additionally, the proposed device is useful in remote monitoring of the body parameters whereas devices
available in the market provide only local measurement.
v
TABLE OF CONTENTS
Chapter 1: INTRODUCTION 1
1.1 Motivation 1
1.2 Objective 2
5.6 Sustainability 11
Chapter 7 : CONCLUSION 14
vi
REFERANCES 16
APPENDIX 18
vii
CHAPTER 1
INTRODUCTION
This chapter deals with motivation behind the proposed work. Project objectives have been
underlined along with problem statement.
1.1 MOTIVATION
With medical costs continuing to rise across the globe, many people have struggled with medical costs
and ended up in debt because of it. And now a worldwide pandemic rages as humanity races to protect
itself against a virus that has already claimed millions of lives.
To deliver updates between health care providers, remote health monitoring devices use digital
technologies. At various moments in the day, patients record themselves and gather data about their
welfare, and remotely send encrypted data in communications to their physicians or technicians. It
systems enable doctors to maintain supervision and therapy tweaks after a patient is discharged from the
care facility, avoiding the need for the patient to leave home again. Lower readmission rates in clinics,
and nursing centers are among the advantages of remote health monitoring devices. If patients don't have
to drive back and forth to various hospitals, they can save time and energy for recovery. Through each
improvement in a patient's health, biometrics will show that reducing tension is a requirement for every
good care protocol. Remote health monitoring is a method of collecting and detecting various types of
health data of patients and safely transmitting the data to health care facilities present in another site for
evaluation and medical advice. Vital signs like blood pressure, blood sugar, blood oxygen levels, pulse
rate, etc., are some of the medical data that screening systems will retrieve at the time of patient’s
treatment.
Doctors or nurses can monitor the patients without being physically present and take measures on the
information received as part of their treatment method. Health monitoring services will also help patients
stay well, allowing senior citizens and disabled people to stay at home and avoid the need for skilled
nursing care. It will also help decrease the number of hospitalizations, readmissions, and lengths of stay in
hospitals, all of which lead to greater quality of life and cost management. A remote patient health
1
surveillance system has been developed that can be implemented in homes or hospitals that are coping
with isolated cases, and it promises to prevent healthcare staff from being subjected to suspicious or
quarantined cases. It also eliminates the need for them to wear valuable safety clothing, which has
become rare. It will assist in the formation of hotspots, enabling authorities to contain these regions. Since
remote health monitoring is a wide area, the technology that support it typically has certain common
elements. To continue, a tracking system must have a sensor capable of measuring precise physiological
data and wirelessly transmitting the data to both the patient and healthcare professionals.
1.2 OBJECTIVE
In this project, a device is proposed which would be helpful for patients suffering from
cardiovascular and respiratory diseases such Chronic Obstructive Pulmonary Disease (COPD),
asthma, or pneumonia, also common such viral fever, flu and common cold.
The proposed system makes use of WiFi technology for the IoT in which “Blynk” application is
used to display the vitals of the patient's health condition in online. It does not require assistance
from any medical personnel as it is easy to use therefore minimizing the chances of encountering
the infection.
To design a device to help patients suffering from cardiovascular and respiratory diseases such
Chronic Obstructive Pulmonary Disease (COPD), asthma, or pneumonia, also common such viral
fever, flu and common cold.
2
CHAPTER 2
PROJECT SPECIFICATION
This chapter presents the state of the art of the concerned field. Then, project requirements have
been discussed.
Remote patient management refers to a variety of medical equipment, such as wearables or portable home
health monitors [1]. A system must be built such that would reduce the number of visits to the doctor, as
well as aid in the early detection and reducing spread of infectious diseases [2], also critical analysis of
the efficiency, clinical acceptability of the system is also necessary [3,4]. In rural areas and frontier
communities, a robust system requires to improve the medical conditions, and the budget allocation for
the healthcare expenditures should be increased [5]. Internet of Things technologies covers the gaps
required to reach an IoT ecosystem, where the clinical devices will be powered with new characteristics
such as communications, alerts, analysis, and remote monitoring [6]; also, the ability to have an
expressive and personalized visualization [7]. The IoT incorporates in mobile electronic devices such as
laptops, smartphones, and medical terminals into hybrid computing grids to get personalized visualization
[8]. In cloud based medical devices, patient’s data will be captured in real time and sent to the cloud/data
center asynchronously to be analyzed and stored [9]. The conventional input and output no longer exist in
a fixed form, rather the sensors and processors are integrated into everyday objects and personal gadgets,
working together in harmony to provide a more within reach approach.
The IoT vital parameter tracker has four major components. The first is the measurement of the different
physiological body parameters such as temperature, heart rate and oxygen saturation through available
sensors accurately and can be comparable to any cutting-edge device available in market. The device
needs to be stable enough to run on portable battery system for a longer duration which is achieved by
using low power ESP module such as NodeMCU. Similarly, the wireless connectivity need to be stable
and uninterrupted and the final requirement is a robust mobile based application which is easy to
understand and use.
With these major goals in mind, we have compiled a list of required components. The most important
components are the sensors. So, we have chosen the most robust temperature sensor i.e., the LM 35 and
max 30100 optical sensors for there easy to use interfaces and hardware libraries. Also, the chosen micro
controller NodeMCU is also a very cheap and low power device that provide an easy-to-use wireless
connectivity for the proposed system. We have decided to use ready to use Blynk mobile application and
customize it according to the need of the project to achieve the necessary user interfaces with provision
for data logging and data visualization.
4
CHAPTER 3
The individual components are integrated together to perform the desired task and circuit diagram is made.
The circuit diagram of proposed device is shown in Fig. 3.1. LM35 sensor is connected to pin no. 16, 25
and 26 of NodeMCU whereas MAX30100 is connected pin no. 9, 10, 13, 14, and 15 of NodeMCU.
Power supply and voltage regulator are connected to pin no. 29 and 30.
The system (as shown in Figure 3.1) contains some basic sensors interfacing with the cloud and mobile
application. The data first captured by sensors and then sent to the processor (NodeMCU) where the data
will be further processed. Then the data that processed is compared with the threshold values of the
desired sensors. Now check the sensor values i.e., moving equal or above the threshold, an automatic
5
emergency email or alert is passed to the doctors and relatives through a Wi-Fi connectivity along with
the details of each sensor. This data is again passed to the cloud for the changed details of the past few
hours data. The past few hours again accessed on the website and the related data is stored in the cloud.
The proposed system involves the sensors like pulse sensor (for measuring the heart rate), Temperature
sensor (for measuring the body temperature) and SpO2 sensor (for measuring the SpO2 intake). The
system checks and measures the parameters in real-time and stores in the cloud which enables monitoring
of patient health when the doctor is not nearby the patient or wireless monitoring for any place. The
flowchart of the proposed system is shown in figure. The measured data is sent to the cloud via the Wi-Fi
module, and if the sensors data are not in recognizable range, then an alert message is sent onto the
mobile application. This will favour the doctor to take the action very soon for helping the patients.
Systems integration plays a fundamental role within a company, as it facilitates communication between
systems that do not normally communicate. Integration ensures that all systems work together and in
harmony to increase productivity and data consistency. In addition, it aims to resolve the complexity
associated with increased communication between systems, since they provide a reduction in the impacts
of changes that these systems may have. Taking the example above as an example, this is a scenario of an
integration that already exists between two systems that communicate directly without a middleware
component intermediating their integration. This project ensures the system integration that is ready for
use within an enterprise.
Trade-off Analysis means determining the effect of decreasing one or more key factors and
simultaneously increasing one or more other key factors in a decision, design, or project. This device is
tested for body parameter tracking which are in a specific range. It is not tested for fractional changes in
body parameters.
6
CHAPTER 4
The final device is shown in Figure 4.1 below. Output Console of Blynk App is shown in Fig. 4.2. The
project codes are also provided in Appendix B.
7
From the above table 4.1 we can clearly find out that person 1 and person 3 have regular vitals and are
perfectly healthy but as seen person 2 have a high body temperature so hence he can conclude that he/she
is suffering from fever. Similarly, data is acquired for person 4 to person 10.
Person 1 33 85 97
Person 2 39 90 97
Person 3 35 76 98
Person 4 34 77 96
Person 5 36 79 97
Person 6 37 88 98
Person 7 38 87 95
Person 8 33 85 94
Person 9 39 79 97
Person 10 33 81 98
8
CHAPTER 5
SOCIOECONOMIC ISSUES
This chapter deals with socioeconomic issues such as weight analysis, cost analysis, safety analysis,
global impact, lifelong learning, sustainability etc.
The weight of the working model should be optimized as best as possible to avoid additional burden on
the vehicle. This is a major requirement as to why weight budget analysis should be conducted. Here,
various computing devices like Arduino, Incremental Encoder etc. are included as budget weight.
TOTAL 73.38grams
9
5.2 COST ANALYSIS
Cost analysis is the process of breaking down a cost overview into its constituent components and
analyzing and commenting on each segment separately. The cost estimate for the project mentioned is as
follows:
2. LM35 80 1 80
4. Buck 90 1 90
Converter(LM2596)
7. Outer Case 20 1 20
TOTAL 1290
The proposed device cost around INR 1290. However, devices available with only two facilities, i.e.
SpO2 and heart rate measurement, cost around INR 1800. Additionally, the proposed device is useful in
remote monitoring of the body parameters whereas devices available in the market provide only local
measurement.
10
5.3 SAFETY ANALYSIS
A safety analysis is a procedure which helps integrate accepted safety and health principles and practices
into a particular task or job operation. Each basic step of the job is to identify potential hazards and to
recommend the safest way to do the job. The measurements taken on proposed device are from sensors
which are safe to use on humans.
Simple access to medical records, the opportunity to deliver better-quality care to more patients with a
reduced risk of burnout, and lower costs and higher performance for healthcare providers. The benefits
get increased as more sensors get attached for the patients. Let’s take a Blood Pressure monitoring sensor,
the system aids in the analysis of the patient's blood pressure and glucose readings from the comfort of
their own home.
The stress of leaving an ill or elderly family member alone at home may influence their relatives' daily
lives. Many family members take time off work to care for sick families and they are concerned about
what could happen when they are gone. IoT home health monitoring, on the other hand, can identify and
report emergencies to caregivers automatically.
An IoT tracking system that keeps track of a patient's prescribed medication regimen has solved this
problem. The technology has been shown to be more effective for people with dementia or Alzheimer's
disease. It will make a huge difference in patients’ life who have the tendency to unintentionally skip their
medicines.
Lifelong learning is the “ongoing, voluntary, and self-motivated” pursuit of knowledge for either personal
or professional reasons. It is important for an individual's competitiveness and employability, but also
enhances social inclusion, active citizenship, and personal development. This project inculcates the same
that would help in executing bigger projects in future.
5.6 SUSTAINABILITY
Because of the project's limited size and complexity, it is sustainable. However, the concept may be more
sustainable if recycled plastics were utilized for the housing, and we choose to remove or reduce the size
11
of the battery. Each of these modifications has the potential to alter the project's use case. However, the
project as a whole is stable, and a failure would not result in a cascade of functionality. Also, instead of
using wifi network cellular network infrastructure is leveraged then this product can reach to a larger
audience.
Because the product will be online for a long time, if internet security is not properly handled, it may be
hacked and infiltrated from the outside. This not only poses a security risk to all devices on the same local
area network, but it may also contribute to a botnet, which may have a large detrimental influence on the
internet via a DDoS assault.
The usage of tracking someone without their agreement is one ethical effect of this endeavour. While the
manufacturer cannot control this, we can make the gadget bulkier and more difficult to conceal.
12
CHAPTER 6
STANDARDS
13
CHAPTER 7
CONCLUSION
The proposed model implies two sensors linked using NodeMCU micro-controller. It connects to Blynk
IoT platform with the help of WiFi. All sensors using in this framework and the output values are used to
check the health condition of a patient. The data can be easily accessed by the doctors and family
members. If any abnormalities will absorb, the system alerts the user through emails. The two sensors
used in the framework are LM35 and MAX30100.
At initial stage, the micro-controller performed a precheck on the connected sensors. After completion of
the precheck, it again checked over available WiFi connection, and if available then it got connected over
the Internet and it started sending data to the cloud. Wi-Fi module and the patient data can be saved,
analyzed, displayed in form of graphs and it can be viewed by using mobile application. This proposed
framework is absolutely ease the patient to be self-reliable as they can themselves monitor their vitals
without any medical assistance. And it is convenient for the patients as this will reduce their travel costs
and crucial time.
The final device cost was 1290 Indian rupees which is supposed to go down to 300 Indian rupees if mass
production is carried out. The future objective would be to come up with improved version of product
wherein some more body parameters will be considered.
The two primary constraints of this project are the formation of the mobile application (APP) and
availability of the wireless communication such as IEEE 802.11 (b/g/n) standards across rural landscapes
of India. The APP is a primary constraint since it serves as the project's state machine. If the APP hangs
or is deactivated, the project will become unresponsive and will require a complete power cycle. To assist
alleviate this limitation, we will need to keep the APP as basic as possible while yet making it simple to
set up and comprehend. This will assist in keeping the operational modes bounded and complete. The
second part is the most difficult aspects of the project as the pan India wireless communication is a distant
dream. So we have also limited the projects scope to the urban landscapes for the current version but
targeted to make a GSM and Text based model (SMS) rather than application based in future versions to
mitigate this particular issues.
Manufacturing on a broad scale would need additional engineering effort. To keep manufacturing costs
low, a single PCB would be required. This will need many more man hours to develop and test but will
14
ultimately boost margins and reduce device size. Manufacturing would then become a supply chain issue,
with parts sourced and a contract manufacturer hired to assemble and load software.
15
REFERENCES
[1]. Roblyer, Darren, “Perspective on the increasing role of optical wearables and remote patient
monitoring in the COVID-19 era and beyond,” Journal of Biomedical Optics, 25(10), 102703–
102703, 2020.
[2]. Agrawal, A. T., “Home Health Monitoring: A Review of Recent Advancements,” 2nd National
Conference on Innovative Paradigms in Engineering & Technology (NCIPET 2013),2013
[3]. Baig, M.M., and Gholamhosseini, H., “Smart health monitoring systems: an overview of design
and modeling.” J. Med. Syst. 37(2):1–14, 2013.
[4]. Baltussen, R., and Niessen, L., “Priority setting of health interventions: the need for multi-criteria
decision analysis, ” Cost effectiveness and resource allocation. 4(1):1, 2006.
[5]. Stephen Weeg, "Home Health and Home Monitoring in Rural and Frontier Counties: Human
Factors in Implementation" Proceedings of the 26th Annual International Conference of the IEEE
EMBS San Francisco, CA, USA • September 1-5, 2004.
[6]. Pablo López, David Fernández, Antonio J. Jara, Antonio F. Skarmeta, "Survey of Internet of
Things Technologies for Clinical Environments", Advanced Information Networking and
Applications Workshops (WAINA) 2013, 27th International Conference on, pp. 1349-1354, 2013.
[7]. Ahmed Dridi, Salma Sassi, Sami Faiz, "A Smart IoT Platform for Personalized Healthcare
Monitoring Using Semantic Technologies", Tools with Artificial Intelligence (ICTAI) 2017 IEEE
29th International Conference on, pp. 1198-1203, 2017.
[8]. S. M. R. Islam, D. Kwak, M. H. Kabir, M. Hossain and K. Kwak, "The Internet of Things for
Health Care: A Comprehensive Survey," in IEEE Access, vol. 3, pp. 678-708, 2015, doi:
10.1109/ACCESS.2015.2437951.
[9]. Hesham A. El Zouka, "An authentication scheme for wireless healthcare monitoring sensor
network", Smart Cities: Improving Quality of Life Using ICT & IoT (HONET-ICT)2017 14th
International Conference on, pp. 68-73, 2017.
16
[10]. Korzun, D., Borodin, A., Paramonov, I., Vasyliev, A., Balandin, S.: Smart spaces enabled mobile
healthcare services in the internet of things environments. Int. J. Embed. Real-Time Commun.
Syst. (IJERTCS) 6(1), 1–27 (2015)
[11]. N. Nawka, A. K. Maguliri, D. Sharma and P. Saluja, "SESGARH: A scalable extensible smart-
phone based mobile gateway and application for remote health monitoring," 2011 IEEE 5th
International Conference on Internet Multimedia Systems Architecture and Application, 2011, pp.
1-6, doi: 10.1109/IMSAA.2011.6156341.
[12]. M. Zakrzewski et al., "Utilization of wireless sensor network for health monitoring in home
environment," 2009 IEEE International Symposium on Industrial Embedded Systems, 2009, pp.
132-135, doi: 10.1109/SIES.2009.5196206.
[13]. S. Lavanya, G. Lavanya, J. Divyabharathi, "Remote prescription and I-Home healthcare based on
IoT", Innovations in Green Energy and Healthcare Technologies (IGEHT) 2017 International
Conference on, pp. 1-3, 2017.
[14]. Jianqiang Hu, Xuhui Chen, Yuan Wang, Yicheng Huang, Xin Su, "Cloud-assisted home health
monitoring system", Computer and Information Science (ICIS) 2017 IEEE/ACIS 16th
International Conference on, pp. 899-903, 2017.
[15]. J. K. Reena and R. Parameswari, "A Smart Health Care Monitor System in IoT Based Human
Activities of Daily Living: A Review," 2019 International Conference on Machine Learning, Big
Data, Cloud and Parallel Computing (COMITCon), Faridabad, India, 2019, pp. 446-448.
[16]. D. Priya and S. Sundar, "Health Monitoring System using IoT," 2019 International Conference on
Vision Towards Emerging Trends in Communication and Networking (ViTECoN), Vellore, India,
2019, pp. 1-3, doi: 10.1109/ViTECoN.2019.8899434.
17
Appendix A: Gantt Chart
Month
Jul. Aug. Sep. Oct. Nov. Dec. Jan. Feb. Mar.
State of the Art
Finalizing problem
Research on the project objective
Hardware accumulation
Formation of codes
Trial and calibration of hardware
Code integration and debugging
Assembling of the device
Screening of the final project
Formation of the project report
Finalizing of project presentation
18
Appendix B: Project Summary
Briefly explain two This device is tested for body parameter tracking which are in a
significant trade-offs specific range.
considered in your
design, including options
It is not tested for fractional changes in body parameters.
considered and the
solution chosen
The C language codes have been written for implementing the Vital Body
Describe the computing
Parameter Tracker. This software is compatible with NodeMCU.
aspects, if any, of your
project. Specifically
identifying hardware-
software trade-offs,
interfaces, and/or
interactions
For this project knowledge from,
Culminating Knowledge
EC 3003 Microprocessors and Microcontrollers
and lifelong learning
EC 3007 Digital Signal Processing
experience
EC 3093 Microprocessor and Microcontroller Lab
EC 4003 Wireless and Mobile Communication,
subjects has been used.
20
Appendix C: Project Code
#include <ESP8266WiFi.h>
#include <MAX30100.h>
#include <Wire.h>
#include <BlynkSimpleEsp8266.h>
#include "MAX30100_PulseOximeter.h"
char auth[] = "IiZ1C2sNQgBsb3yWj5AjK3y-zkiRJyYr";
char ssid[] = "MR.FIRESTORM";
char pass[] = "RrKsK@91";
#define PIN_UPTIME V6
#define REPORTING_PERIOD_MS 100
// Connections : SCL PIN - D1 , SDA PIN - D2 , INT PIN - D0
PulseOximeter pox;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
Serial.print("Initializing Pulse Oximeter..");
21
pinMode(16, OUTPUT);
timer.setInterval(1000L, myTimerEvent);
if (!pox.begin())
{
Serial.println("FAILED");
for(;;);
}
else
{
Serial.println("SUCCESS");
pox.setOnBeatDetectedCallback(onBeatDetected);
}
// The default current for the IR LED is 50mA and it could be changed by uncommenting the following
line.
pox.setIRLedCurrent(MAX30100_LED_CURR_7_6MA);
}
void loop()
{
Blynk.run();
pox.update();
timer.run(); // Initiates BlynkTimer
BPM = pox.getHeartRate();
SpO2 = pox.getSpO2();
if (millis() - tsLastReport > REPORTING_PERIOD_MS)
{
Serial.print("Heart rate:");
Serial.print(BPM);
Serial.print(" bpm / SpO2:");
Serial.print(SpO2);
Serial.println(" %");
Blynk.virtualWrite(V7, BPM);
Blynk.virtualWrite(V8, SpO2);
tsLastReport = millis();
}
}
22