Internet of Things IoT Based Healthcare Monitoring System Using NodeMCU and Arduino UNO
Internet of Things IoT Based Healthcare Monitoring System Using NodeMCU and Arduino UNO
Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
@ IJTSRD | Unique Paper ID – IJTSRD26482 | Volume – 3 | Issue – 5 | July - August 2019 Page 755
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
point of the data acquisition part, and it was designed based The proposed system design is devised into three layers:
on interviews with medical experts. Multiple physical signs Network, gateway, and End-user layers and they are
(blood pressure, ECG, SpO2, heart rate, pulse rate, blood fat explained in the following sections with figure:
and blood glucose), as well as an environmental indicator
(patients’ location), were designed to be sampled at different A. End-user layer
rates continuously. A sample prototype was implemented to This layer includes the end-users (patient and doctor) the
present an overview of the system. This monitoring system first one has wearable device including temperature sensor
fulfilled the basic needs of pervasive healthcare for heart used to read the patient’s temperature and send them
diseases, also took the cost into consideration to ensure the through the other layers to the destination (Doctor) for
pervasive mode as economical as possible. Furthermore, it monitoring the patient status to make decisions. As stated
could also be combined with real-time analysis algorithms to before, the patient’s temperature continuously and
assess patients’ health condition and give warnings to periodically each t seconds configured in the microcontroller
potential attacks in advance, which could make the pervasive software of NodeMCU. The NodeMCU microcontroller board
healthcare more intelligent. But in the paper, the focus was equipped with a low cost Wi-Fi module to enable wireless
based on the monitoring part. Four data transmission modes connection to a nearby gateway Wi-Fi. The interface and
were presented taking patients’ risk, medical analysis needs, programming languages used are the Arduino C language.
demands for communication and computing resources into The Arduino UNO is connected with a blood pressure sensor
consideration. Finally, a sample prototype was implemented to measure a patient’s systolic and diastolic.
to present an overview of the system. [4]
As shown in figure 1, the manager (PC based software) is
The third related work was “Zigbee and GSM based Patient used to display the collected data from the sensor and send
Health Monitoring System”. The focus was based on the them Ubidots to the Cloud to be permanently saved for any
monitoring of patients. The patient monitoring system had future analysis.
been thought of a reliable, energy efficient. It was able to
send parameters of the patient in real time. It enabled the 1. Temperature Sensor (DS18B20)
doctors to monitor patient's health parameters The core functionality of DS18B20 is it’s direct to the digital
(temperature, heartbeat, ECG) in real time. Here these temperature sensor. It is the ability to operate without an
parameters of the patient were measured continuously and external power supply. The DS18B20 powers up in a low
wirelessly transmitted using Zigbee. In the currently power idle state. The normal body temperature is about 37°
proposed system, the patient health was continuously C or 98.6 ° F. However, it can be as low as 36.1° C (97°F) in
monitored and the acquired data were analyzed at a the early morning and as high as 37.2° C (99° F). The
centralized ARDUINO. If a particular patient's health advantages of a digital temperature sensor are principal with
parameter fell below the threshold value, an automated SMS its precision output. As the sensor outputs a calibrated
was sent to the pre-configured Doctor's mobile using a digital reading, the output is an exact temperature in degrees
standard GSM module interfaced to the ARDUINO. Here, the Celsius. This means no other components, such as an analog
system was using Zigbee for wireless transmission. The to digital converter, are required within the electronic circuit
Doctor could get a record of a particular patient's to calibrate or amplify the signal.
information by just accessing the database of the patient on
his PC, which is continuously updated through Zigbee
receiver module. In the proposed system, patient’s
parameters such as ECG, Temperature and Heart Beat would
be continuously transmitted and monitored through
wireless technology Zigbee. The system was convenient and
efficient in nature and had no influence on patients' daily life,
so it increased interaction between patient and doctor,
which made surveillance had real instantaneity. In addition,
it ultimately prevented heart disease and avoided
unexpected tragedy practically. [5]
2. NodeMCU
NodeMCU is similar microcontroller and it can be configured
to connect to the Internet for the Internet of things (IoT). The
NodeMCU development board is an open-source board
based on Esp8266 microcontroller with integrated Wi Fi
transceiver. NodeMCU is a complete environment of
hardware and software for IoT.
@ IJTSRD | Unique Paper ID – IJTSRD26482 | Volume – 3 | Issue – 5 | July - August 2019 Page 756
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
AD8232 is an integrated front end, suitable for monitoring
heart rate through had jousting bioelectricity signal of the
heart. It aims at monitoring different vital signals and is an
analogy front end of heart rate monitor, featuring low power
consumption and single lead. Heartbeat sensor is used to
measure heartbeat which normally lies between 60-100bpm.
Heart rate is the speed of the heartbeat measured by the
number of contractions of the heart per minute.
5. Arduino UNO
The Arduino Uno is a microcontroller board based on the
ATmega328 (datasheet). It has 14 digital input/output pins
(of which 6 can be used as PWM outputs), 6 analog inputs, a
Figure.3 NodeMCU [7 Hwe] 16 MHz crystal oscillator, a USB connection, a power jack, an
ICSP header, and a reset button. It contains everything
3. Blood Pressure sensor (ASDXAD015PGAA5) needed to support the microcontroller; simply connects it to
While measuring blood pressure levels, there are two a computer with a USB cable or power it with an AC-to-DC
different values always in pairs known as the systolic and adapter or battery to get started.
diastolic blood pressure. Measured commonly in millimeters
of mercury (mmHg), these contain the systolic pressure on
the upper value followed by the diastolic pressure on the
lower value. The doctor measures the maximum pressure
(systolic) and the lowest pressure (diastolic) made by the
beating of the heart. Both systolic and diastolic pressure
measurements are important-if either one is raised, it means
body has high blood pressure (hypertension).
B. Gateway layer
The gateway layer is a router-based network, which routes
the traffic coming from the microcontroller to the required
Cloud. It is evident that when public Cloud is used then this
layer might contain single or multiple hops, and in the
proposed model, it is fixed to a single router.
Figure.5 Heartbeat sensor (AD8232) [9 Sha] Fig. 7 Hardware implementation of the proposed system
@ IJTSRD | Unique Paper ID – IJTSRD26482 | Volume – 3 | Issue – 5 | July - August 2019 Page 757
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
Hardware implementation of the proposed system is shown
in figure 7. The main component of this circuit is NodeMCU,
temperature sensor, heartbeat sensor, blood pressure
sensor, Arduino UNO and power bank. This NodeMCU is
supplied with dc power. Heartbeat and temperature sensors
are connected to the NodeMCU. And the blood pressure
sensor is connected to the Arduino UNO, and then the
acquired data connect to the NodeMCU. In NodeMCU, it is
needed to store the three sensors data. These data are
transmitted to the gateway and IoT. Ubidots application is
used in the IoT because it displays the received data. Finally,
the doctor easy to use the PC for monitoring.
V. Simulation Results
After hardware and software implementation of the system,
results are obtained and can be visualized on the Internet
created on Ubidots. Figure.10, the temperature is not
received in Ubidots cloud. This application is the best
connect for the Internet of Things(IoT). Ubidots offers a
platform for developers that enables them to easily capture
sensor data and turn it into useful information. Use the
Ubdiots platform to send data to the cloud from any internet-
enabled device.
@ IJTSRD | Unique Paper ID – IJTSRD26482 | Volume – 3 | Issue – 5 | July - August 2019 Page 758
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
Temperature and heartbeat sensors are connected to
NodeMCU and then the data is sent to the Ubidots clouds. By
comparing the results of the heartbeat sensor (AD8232) and
watch sensor, it can be seen that the result value of the
AD8232 sensor is a little more. To be concluded, therefore, it
can be said that the AD8232 sensor is more save than watch
sensor. The blood pressure sensor is connected with Arduino
Uno and then the data is sent to the Rx pin of NodeMCU from
Tx pin of Arduino Uno. After that BP data from NodeMCU is
sent to the cloud of Ubidots. However, systolic can only be
sent to Ubidots and so it is the drawback of Ubidots. It is
needed to install a cloud application in the doctor’s phone
handset in order to check easily the incoming data.
Figure.11 The chart of temperature data Acknowledgment
This work is done with my candidate, Mg Nyan Phyo Aung.
The authors would like to thank Dr. Lwin Lwin Htay
Department of Electronic Engineering, Technological
University (Mandalay) for kindly preparing for this paper.
References
[1] Bhoomika. B. K and Dr. K N Muralidhara “Secured Smart
Healthcare Monitoring System Based on IoT”
International Journal on Recent and Innovation Trends
in Computing and Communication, Volume: 3 Issue: 7,
July 2015.
[2] Abasi Julius1, Zhang Jian-Min2 ”IoT Based Patient
Health Monitoring System Using Lab VIEW and
Figure.12 Temperature, Heartbeat and Blood pressure Wireless Sensor Network” International Journal of
data on the Ubidots Science and Research (IJSR), Volume 6 Issue 3, March
2017.
Figure. 12 shows the comparison of Ubidots server and
NodeMCU.In this figure, the heartbeat, blood pressure and [3] K. Meena Kumari1, Dr. Sandeep Kumar2 “Health Care
temperature data are 34.63-degree Celcius, 110 mm/Hg and System by Monitoring the Patient Health Using IoT and
111.11 bpm in the NodeMCU and Ubidots sever. The GSM” International Conference on Innovative
temperature, blood pressure and heartbeat data are Mechanisms for Industry Applications (ICIMIA
measured from the patient’s body. 2017),978-1-5090-5960-7/17/$31.00@2017 IEEE
[4] Chao Lia,*, Xiangpei Hua Lili Zhangb, “The IoT-based
VI. CONCLUSION heart disease monitoring system for pervasive
The proposed system can monitor, diagnose, and advice the healthcare service”, International Conference on
patients all the time. The health parameters data are stored Knowledge-Based and Intelligent Information and
and published online. Internet of things (IoT) is expected to Engineering System, KES2017, 6-8 September 2017,
rule the world in various fields but more benefit would be in Marseille, France.
the field of healthcare. Health monitoring for ICU (Intensive
Care Unit) patients need to monitor vital signs (heart rate, [5] Swayanjeet Sorte* “Zigbee and GSM Based Patient
body temperature, blood pressure, etc...) from time to time. Health Monitoring System” Internal Journal of
By using the system, it reduces time and hence the patient Engineering Science & Research Technology, [Sorte* et
monitoring system is designed. As a result, the doctor can al, 5(9): September 2016].
examine his patient from anywhere and anytime. It can be [6] Maung Aung Soe Phyo. “Design and Construction of
allowed the doctors or nurses easily to use the computer for Wireless Emergency Alert System for Patient Monitoring
checking and to save in the database. Based on the work, Using Zigbee Technology” August 2015, Mandalay.
doctors have been able to use mobile devices and can be
implemented in a global network with the help of the [7] Hwer Char. “NodeMCU Development book and IoT”, July
NodeMCU. 2017.
[8] Honeywell, Honeywell. “ASDX015PGAA5 Pressure
DS18B20 sensor is placed in chield to measure the Sensor Measurement Type”, 1998-2004.
temperature of the human body. At first, 31.94 degree
Celsius is achieved in measurement but it increases to 36.50 [9] Sharanbasappa Sali. “Health Monitoring System Using
degree Celsius after two minutes. Therefore, it can be known Wireless Sensor Network”, January 2018, pp.04-12.
that the temperature values will be varied according to the
surrounding, weather conditions and age. The results
achieved from this thesis is from a woman of 29 years old.
@ IJTSRD | Unique Paper ID – IJTSRD26482 | Volume – 3 | Issue – 5 | July - August 2019 Page 759