Health Monitoring System (Report)
Health Monitoring System (Report)
For the
Session 2019-2023
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
-1-
CERTIFICATE
Suman Hati and Netai Lohar student of 8th semester of ECE department,
2
ACKNOWLEDGEMENT
We express my deep sense of gratitude and appreciation to
Prof.Monalisa Samal, Department of Electronics and communication
Engineering for her constant and valuable guidance and help in implementing
our project topic. She devoted her invaluable time in proving us the guidance at
every step in our project.
Again, we are thankful to their valuable suggestion and with whom I shared
many ideas through the problem.
3
CONTENTS
Description Page No.
Abstract 5
List of figure 6
1. Introduction 7
1.1. Project objective 7
1.2. Project scope 8
2. Literature Review 9
3. Component Requirements 10
3.1. Microcontroller 10
3.2. Heart Rate Sensor 14
3.3. Humidity &Temperature sensor (DHT11) 16
3.4. I2C LCD 18
3.5. Software 21
4. Programming of the module 22
5. Theory 26
6. Methodology 27
6.1. Work Flow Chart 27
6.2. Circuit Diagram 28
7. Conclusion 29
8. Application 29
9. Future Work 30
10. Reference 31
4
ABSTRACT
Healthcare is given the extreme importance now a-days by each country with the advent of
the novel corona virus. So in this aspect, an IoT based health monitoring system is the best
solution for such an epidemic. Internet of Things (IoT) is the new revolution of internet
which is the growing research area especially in the health care.
With the increase in use of wearable sensors and the smart phones, these remote health care
monitoring has evolved in such a pace. IoT monitoring of health helps in preventing the
spread of disease as well as to get a proper diagnosis of the state of health, even if the doctor
is at far distance. In this paper, a portable physiological checking framework is displayed,
which can constantly screen the patient's heartbeat, temperature and other basic parameters of
the room.
A remote health monitoring system using IoT is proposed where the authorized personal can
access these data stored using any IoT platform and based on these values received, the
diseases are diagnosed by the doctors from a distance.
5
LIST OF FIGURES
1. ESP8266 MOD 13
11)
6. Circuit Diagram 28
6
Chapter 1
1. INTRODUCTION
Previously it is impossible to monitor the patient by doctor in remote areas during critical
conditions. So we introduced a method which continuously monitors the patient condition
and automatically sends the data to server, so the doctor can access the data continuously and
we can intimate caretaker when patient is in critical condition. In previous methods,
monitoring of patient can be done only by using different instruments for different
parameters. So, we decided to monitor required conditions of patient by assembling different
instruments in a single module. Now a days IoT is the widely used technology. The growth of
internet is tremendous and has been further extended to connecting things through internet.
All devices are connected to one another with various smart technologies to create worldwide
ubiquitous network called Internet of Things (IoT). We recorded the data of each sensor and
uploaded the data into the server. We observed the data on many devices using internet with
secured login and password.
The system can be used to monitor physiological parameters, such as heart rate and
temperature of a human body. The objective of this project is to design and implement a
reliable, cheap, low powered and accurate system that can be worn on a regular basis and
monitors the vital signs based on Zigbee technology.
Easy to use
Compact and portable
The main advantage of this device is its satisfactory performance and small size.
7
1.2 PROJECT SCOPE
Reduction in cost.
8
Chapter 2
2. LITERATURE REVIEW
Previously it is impossible to monitor the patient by doctor in remote areas during critical
conditions. So we introduced a method which continuously monitors the patient condition
and automatically sends the data to server, so the doctor can access the data continuously and
we can intimate caretaker when patient is in critical condition. In previous methods,
monitoring of patient can be done only by using different instruments for different
parameters. So, we decided to monitor required conditions of patient by assembling different
instruments in a single module. Now a days IoT is the widely used technology. The growth of
internet is tremendous and has been further extended to connecting things through internet.
All devices are connected to one another with various smart technologies to create worldwide
ubiquitous network called Internet of Things (IoT). We recorded the data of each sensor and
uploaded the data into the server. We observed the data on many devices using internet with
secured login and password.
Here we are able to measure the pulse rate and the temperature of our body by using this
model. In future we can add many more sensors so that this module can monitor the other
condition of the patient.
9
Chapter 3
3. COMPONENT REQUIREMENTS
3.1. MICROCONTROLLER
Microcontrollers are embedded in many control, monitoring, and processing systems. Some
are general-purpose devices but most microcontrollers are used in specialized systems such as
washing machines, telephones, microwave ovens, automobiles, and weapons. A
microcontroller usually includes a central processor, input and output ports, memory for
program and data storage, an internal clock, and one or more peripheral devices such as
timers, counters, analogue-to-digital converters, serial communication facilities, and
watchdog circuits.
Instruction set
Memory architecture
Integrated circuits (IC) chip or very large-scale integration (VLSI) core, very high-
speed integrated circuits (VHSIC), hardware description language (VHDL or Verilog)
file
Family.
10
ESP8266MOD:
In 2014, an ESP8266 Wi-Fi module was introduced and developed by third-party
manufacturers like AI thinkers, which is mainly utilized for IoT-based embedded applications
development. It is capable of handling various functions of the Wi-Fi network from another
application processor.
It is a SOC (System On-chip) integrated with a TCP/IP protocol stack, which can provide
microcontroller access to any type of Wi-Fi network. This article deals with the pin
configuration, specifications, circuit diagram, applications, and alternatives of the ESP8266
Wi-Fi module.
An ESP8266 Wi-Fi module is a SOC microchip mainly used for the development of end-
point IoT (Internet of things) applications. It is referred to as a standalone wireless
transceiver, available at a very low price. It is used to enable the internet connection to
various applications of embedded systems.
Espress if systems designed the ESP8266 Wi-Fi module to support both the TCP/IP
capability and the microcontroller access to any Wi-Fi network. It provides the solutions to
meet the requirements of industries of IoT such as cost, power, performance, and design.
It can work as either a slave or a standalone application. If the ESP8266 Wi-Fi runs as a slave
to a microcontroller host, then it can be used as a Wi-Fi adaptor to any type of
microcontroller using UART or SPI. If the module is used as a standalone application, then it
provides the functions of the microcontroller and Wi-Fi network.
The ESP8266 Wi-Fi module is highly integrated with RF balun, power modules, RF
transmitter and receiver, analog transmitter and receiver, amplifiers, filters, digital baseband,
power modules, external circuitry, and other necessary components. The ESP8266 Wi-Fi
module is a microchip shown in the figure below.
A set of AT commands are needed by the microcontroller to communicate with the ESP8266
Wi-Fi module. Hence it is developed with AT commands software to allow the Arduino Wi-
Fi functionalities, and also allows loading various software to design the own application on
the memory and processor of the module.
The processor of this module is based on the Tensilica Xtensa Diamond Standard 106 micro
and operates easily at 80 MHz. There are different types of ESP modules designed by third-
party manufacturers. They are,
11
Features:
The ESP8266 Wi-Fi module specifications or features are given below.
12
ESP8266MOD:
13
3.2 HEART RATE SENSOR
An optical heart rate sensor measures pulse waves, which are changes in the volume of a
blood vessel that occur when the heart pumps blood. Pulse waves are detected by measuring
the change in volume using an optical sensor and green LED. Adopting an optical filter
optimized for pulse wave detection in the sensor block minimizes the effects of ambient light
such as red and infrared rays. This enables high quality pulse signals to be acquired, even
outdoors. In addition, leveraging optical sensor technology cultivated over many years
allowed ROHM to significantly increase the sensitivity of the sensor block. Support for low
brightness low VF LEDs makes it possible to achieve a low power optical heart rate
monitoring system without the need for external circuitry (i.e. boost circuit). This contributes
to longer operating times in wearables with limited battery capacity.
They detect electrical activity through a band that wraps around your chest.
It gives the digital output form LED in form of pulses connecting to microcontroller
14
Working Principle of HEART RATE SENSOR:
• The basic heartbeat sensor consists of a light-emitting diode and a detector like a light
detecting resistor or a photodiode. The heartbeat pulses cause a variation in the flow
of blood to different regions of the body. When tissue is illuminated with the light
source, i.e. light emitted by the led, it either reflects (a finger tissue) or transmits the
light (earlobe). Some of the light is absorbed by the blood and the transmitted or the
reflected light is received by the light detector. The amount of light absorbed depends
on the blood volume in that tissue. The detector output is in the form of the electrical
signal and is proportional to the heartbeat rate.
15
Applications of Heart Rate Sensor
The applications of heart rate sensor include the following.
DHT11 humidity and temperature sensor is available as a sensor and as a module. The
difference between this sensor and module is the pull-up resistor and a power-on LED.
DHT11 is a relative humidity sensor. To measure the surrounding air this sensor uses
a thermistor and a capacitive humidity sensor.
FEATURES:
DHT11 sensor consists of a capacitive humidity sensing element and a thermistor for sensing
temperature. The humidity sensing capacitor has two electrodes with a moisture holding
substrate as a dielectric between them. Change in the capacitance value occurs with the
16
change in humidity levels. The IC measure, process this changed resistance values and
change them into digital form.
For measuring temperature this sensor uses a Negative Temperature coefficient thermistor,
which causes a decrease in its resistance value with increase in temperature. To get larger
resistance value even for the smallest change in temperature, this sensor is usually made up of
semiconductor ceramics or polymers.
The temperature range of DHT11 is from 0 to 50 degree Celsius with a 2-degree accuracy.
Humidity range of this sensor is from 20 to 80% with 5% accuracy. The sampling rate of this
sensor is 1Hz .i.e. it gives one reading for every second. DHT11 is small in size with
operating voltage from 3 to 5 volts. The maximum current used while measuring is 2.5mA.
DHT11 sensor has four pins- VCC, GND, Data Pin and a not connected pin. A pull-up
resistor of 5k to 10k ohms is provided for communication between sensor and micro-
controller.
17
3.4. I2C LCD MODULE
This is LCD1602 Parallel LCD Display that provides a simple and cost-effective solution for
adding a 16×2 White on RGB Liquid Crystal Display into your project. The display is 16
character by 2 line display that has a very clear and high contrast white text upon a Green
background/backlight. This is the great Green backlight LCD display. It is fantastic for
Arduino-based projects. This LCD1602 Parallel LCD Display with Yellow Backlight is very
easy to interface with Arduino or Other Microcontrollers. This display overcomes the
drawback of LCD1602 Parallel LCD Display in which you’ll waste about 8 Pins on your
Arduino for the display to get working. Luckily in this product, an I2C adapter is directly
soldered right onto the pins of the display. So all you need to connect are the I2C pins, which
show a good library and little coding. The I2C is a type of serial bus developed by Philips,
which uses two bidirectional lines, called SDA (Serial Data Line) and SCL (Serial Clock
Line). Both must be connected via pulled-up resistors. The usage voltages are standard as 5V
and 3.3V.
If you already have the I2C adapter soldered onto the board like in this product, the wiring is
quite easy. You should usually have only four pins to hook up. VCC and GND of course. The
LCD display works with 5 Volts. So we go for the 5V Pin.
This product is known as 16×2 LCD Display with I2C/IIC interface Green Backlight, display,
I2C, I2C Interface, LCD, LCD Display, LCD Display with I2C/IIC interface, LCD1602,
Module, Sensors and Modules, 16×2 Green LCD Display With IIC/I2C Interface, 16X2 LCD
Display with IIC/I2C interface – Green, 1602 16×2 LCD Display with I2C-IIC interface –
Green Backlight, LCD1602 1602 LCD Module Green, LCD 16X2 Alphanumeric Display
with I2C/IIC interface – Green Backlight, LCD Display, I2C Interface, I2C, LCD1602,
Display for Arduino Uno, 1602 (16×2) LCD Display with I2C/IIC interface – Green
Backlight.
18
PIN Diagram:
19
Features:
Arduino IIC/I2C interface was developed to reduce the IO port usage on Arduino board
I2C adapter allows flexibility in connections
I2C Reduces the overall wirings.
16 characters wide, 2 rows
White text on the Green background
Single LED backlight included can be dimmed easily with a resistor or PWM.
Interface: I2C
Interface Address: 0x27
Character Color: White
Backlight: Green
Supply voltage: 5V
20
3.5. Software Required:
Arduino IDE:
The open-source Arduino Software (IDE) makes it easy to write code and upload it to the
board. This software can be used with any Arduino board. Refer to the Getting Started page
for Installation instructions. Active development of the Arduino software is hosted by
GitHub.
21
Chapter 4
const char *ssid = "Netai"; //P replace with your wifi ssid and wpa2 key
const char *pass = "12345678";
const char* server = "api.thingspeak.com";
int sensorPin = A0;
int sensorValue;
WiFiClient client;
void setup()
{
lcd.init();
lcd.backlight();
Serial.begin(115200);
delay(1000);
dht.begin();
Serial.println("Connecting to ");
Serial.println(ssid);
WiFi.disconnect();
WiFi.begin(ssid, pass);
22
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
void loop()
{
float h = dht.readHumidity();
float t = dht.readTemperature();
sensorValue = analogRead(sensorPin);
sensorValue = map(sensorValue, 0, 600, 0, 100);
Wire.flush();
len = 0;
x = sensorValue;
while(x){
x = x/10;
len++;
}
Serial.println(sensorValue);
lcd.setCursor(0,0);
lcd.print("temp :");
lcd.setCursor(8,0);
lcd.print(t);
lcd.setCursor(0,1);
lcd.print("BPM :");
if(len == 2){
lcd.setCursor(7,1);
lcd.print(sensorValue);
lcd.setCursor(9,1);
lcd.print(" ");
}
else{
lcd.setCursor(7,1);
lcd.print(sensorValue);
}
if (isnan(h) || isnan(t))
{
Serial.println("Failed to read from DHT sensor!");
return;
}
23
postStr += String(t);
postStr +="&field2=";
postStr += String(h);
postStr += "\r\n\r\n";
Serial.print("Temperature: ");
Serial.print(t);
Serial.print(" degrees Celcius, Humidity: ");
Serial.print(h);
Serial.println("%. Send to Thingspeak.");
}
postStr += "\r\n\r\n";
client.stop();
Serial.println("Waiting...");
24
// thingspeak needs minimum 15 sec delay between updates
delay(3000);
}
25
Chapter 5
5. THEORY
Previously it is impossible to monitor the patient by doctor in remote areas during critical
conditions. So we introduced a method which continuously monitors the patient condition
and automatically sends the data to server, so the doctor can access the data continuously and
we can intimate caretaker when patient is in critical condition. In previous methods,
monitoring of patient can be done only by using different instruments for different
parameters. So, we decided to monitor required conditions of patient by assembling different
instruments in a single module. Now a days IoT is the widely used technology. The growth of
internet is tremendous and has been further extended to connecting things through internet.
All devices are connected to one another with various smart technologies to create worldwide
ubiquitous network called Internet of Things (IoT). We recorded the data of each sensor and
uploaded the data into the server. We observed the data on many devices using internet with
secured login and password.
System Features:
Easy operation
Better Power Management
Affordable
Required Skills:
26
Chapter 6
6. METHODOLOGY
This chapter seeks to explain in depth the process used in the implementation and
operation of the digital lock. This lock design entailed the following:
Hardware module
Software module
Printed Circuit Board
Power supply unit
Power
(5v)
Pulse rate sensor
ESP8266MOD
(Microcontroller) Display
Temperature
Sensor
27
6.2 CIRCUIT DIAGRAM
ESP8266 MOD
Display
28
Chapter 7
7. CONCLUSION
It concludes that the human health monitoring system based on the Internet of Things can
provide people with daily health management, instrumental in heightening health service
quality and level. Here we have used pulse rate and temperature sensor. We can use many
more sensors as per our requirements. And also it is low cost for making, thus the customer
will buy the product and use it easily.
8.APPLICATIONS
Remote patient monitoring. Remote patient monitoring is the most common application of
IoT devices for healthcare.
Glucose monitoring.
Heart-rate monitoring.
Hand hygiene monitoring.
Depression and mood monitoring.
Parkinson's disease monitoring.
Connected inhalers.
Ingestible sensors.
29
Chapter 8
9. FUTURE WORK
Here we have used temperature sensor and pulse rate sensor. So in future we can add many
other sensors also by that we can measure any condition of our body.
30
10. REFERENCES
[1] W. J. Curnow, "Helmets: A scientific evaluation. Transportation accident analysis and
prevention", pp. 141-177, 2008.
[2] P. Ross, L. Ross, A. Rahman and S. Cataldo, "The bicycle helmet attitudes index
states that: Using the health belief model to predict helmet use among
undergraduates", Journal of American college health., vol. 59, 2010.
[3] Otte et al., J. of Advancement in Engineering and Technology, vol. 3, no. 4, pp. 3,
2013.
[4] "Design and Kinematic Analysis of Windshield Wiper Mechanism Using CATIA
V5".
31