<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    jcc
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Computer and Communications
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2327-5219
   </issn>
   <issn publication-format="print">
    2327-5227
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jcc.2024.1211003
   </article-id>
   <article-id pub-id-type="publisher-id">
    jcc-137274
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Computer Science 
     </subject>
     <subject>
       Communications
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Design and Implementation of an IoT Based Remote Health Monitoring System
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Taslim
      </surname>
      <given-names>
       Arefin
      </given-names>
     </name>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Abul Kalam
      </surname>
      <given-names>
       Azad
      </given-names>
     </name>
    </contrib>
   </contrib-group> 
   <aff id="affnull">
    <addr-line>
     aDepartment of Computer Science and Engineering, Jahangirnagar University, Dhaka, Bangladesh
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     31
    </day> 
    <month>
     10
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    12
   </volume> 
   <issue>
    11
   </issue>
   <fpage>
    37
   </fpage>
   <lpage>
    52
   </lpage>
   <history>
    <date date-type="received">
     <day>
      13,
     </day>
     <month>
      August
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      5,
     </day>
     <month>
      August
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      5,
     </day>
     <month>
      November
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    Considering the quality of life, manpower, and expenditure, an IoT-based health monitoring system has been proposed and implemented. Devices are placed on the human body to collect data, which is then uploaded to an online data server. Specialist doctors can access this data as needed, allowing them to assess the patient’s initial condition and provide advice at any time. This approach enhances the quality and reach of health services. The module, designed and installed using modern technology, minimizes latency and maximizes data accuracy while reducing delay and battery drain. An accompanying app motivates public acceptance and ease of use. Various sensors, including ECG, SpO
    <sub>2</sub>, gyroscope, PIR, temperature-humidity, and BP, collect data processed by an Arduino microcontroller. Data transmission is handled by a WiFi module, with ThingSpeak and Google Sheets used for data processing and storage. The system has been fully tested, and patient data from two hospitals compared with the proposed model shows 97% accuracy.
   </abstract>
   <kwd-group> 
    <kwd>
     IoT
    </kwd> 
    <kwd>
      Patient Monitoring
    </kwd> 
    <kwd>
      MPU Sensors
    </kwd> 
    <kwd>
      Accuracy
    </kwd> 
    <kwd>
      Delay
    </kwd> 
    <kwd>
      Power Consumption
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>Sensor networks play a vital role in modern diagnosis technology. It makes easier and more accurate results in diagnosis. In this project, we try to design a compact device that gives us diagnosis results more easily and with less time delay. It can be monitored from any remote area with less network connectivity <xref ref-type="bibr" rid="scirp.137274-1">
     [1]
    </xref>. It can be used in rural or city areas in emergency cases. Medical support is the primary period of emergency for a patient. It can be used in ambulances, ICU, cars, buses, public transport, houses, and anywhere we need. This device is totally manpower-free, compact, portable, less weight, and easy to operate. So, by using this device, we can provide health monitoring services as quickly as possible in less time <xref ref-type="bibr" rid="scirp.137274-2">
     [2]
    </xref>.</p>
   <p>This section provides the preliminary description of the most important aspects relating to body sensing technology, including an outline overview of key ideas of a quality common to a group and operation general rules, a paper on current state-of-the-art applications and operation of making observations work on the thing talked of, and a discussion on the most important limiting conditions and special to some science or trade hurdles of this technology <xref ref-type="bibr" rid="scirp.137274-3">
     [3]
    </xref>.</p>
   <p>Regular rules and procedures that follow our rules for accepting medical services at hospitals are very costly and time-consuming. Not only that but in many cases, there is no rule that there is no beginning or end. The number of sufferers is so much that the normal patient becomes very critical and sometimes fatal <xref ref-type="bibr" rid="scirp.137274-2">
     [2]
    </xref>. Our thinking journey started from there; we thought of a lot of formality and tests, which would be very affordable, manpower available, and easy to use, which is at the hands of ordinary people in Bangladesh.</p>
   <p>The specific aim of this paper is to achieve several goals. The first goal of this research is to design a portable IoT-based remote healthcare monitoring system. The system uses a microcontroller, which reduces the cost of the health care monitoring system. The design shall be able to show patients real-time data from remote places. Another goal of this paper is to design a system that involves less manpower and is cost-effective. The system consumes less power, saves battery draining, and provides better efficiency.</p>
   <sec id="s1_1">
    <title>1.1. Related Works</title>
    <p>Several similar works have been done recently. A health monitoring system using IoT was proposed by Yadukondalu et al. <xref ref-type="bibr" rid="scirp.137274-4">
      [4]
     </xref> in 2021. They have proposed a similar framework but had some limitations. The first limitation of the work is to have remote monitoring without saving any data. Also, the system is built with only one Arduino and has continuous data support. Another research based on a similar fashion was proposed by Mehedi et al. <xref ref-type="bibr" rid="scirp.137274-5">
      [5]
     </xref> in 2023. In that research, they have shown a real-time health monitoring system with data storing facilities but they have focused on only two sensors such as Heart rate and ECG.</p>
    <p>Previous health monitoring systems were limited to fixed setups, meaning they could only track a patient’s condition when they were in the hospital or confined to bed. This approach was time-consuming for both doctors and patients. In the existing system, patients must be hospitalized for regular monitoring or routine check-ups. These systems measure health parameters and transmit the data through platforms like Bluetooth or similar short-range communication protocols. However, these methods are restricted by their limited range, making it difficult for doctors to access detailed patient information at all times.</p>
   </sec>
   <sec id="s1_2">
    <title>1.2. Existing Models</title>
    <p>Many existing real-time health monitoring systems commonly use the ATMEL 89C51 microcontroller (µc 8051), which performs its functions with the help of additional devices. These microcontroller-based systems typically consist of four key components: the process, the analog-to-digital (A-D) converter, the control algorithm, and the clock. The moments when the signals are converted to digital form are known as sampling instants, while the time between successive samples is called the sampling period, denoted by “h”. The output from the process is a continuous-time signal, which is digitized by the A-D converter at the sampling instants.</p>
    <p>However, there are certain drawbacks to the current systems, especially in temperature and pulse monitoring. The reliance on the 8051 microcontroller adds significant complexity, making the entire device not only cumbersome to develop but also difficult and time-consuming to implement. It requires external components such as an A-D converter, an external clock, and a microcontroller development board for operation, further complicating the system’s design and functionality.</p>
    <p>Previous health monitoring systems were limited to fixed setups, meaning they could only track a patient’s condition when they were in the hospital or confined to bed. This approach was time-consuming for both doctors and patients. In the existing system, patients must be hospitalized for regular monitoring or routine check-ups. These systems measure health parameters and transmit the data through platforms like Bluetooth or similar short-range communication protocols. However, these methods are restricted by their limited range, making it difficult for doctors to access detailed patient information at all times.</p>
    <p>
     <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref> shows a remote patient monitoring system. The system will collect data from the patient’s body and analyze it automatically. If everything remains normal in the patient’s body the system indicates a normal state. If any abnormalities are detected by the system, system automatically shows the specific abnormalities. The doctor can monitor their patients from remote places. A database stores all the collected data from where the patient history can be extracted very easily <xref ref-type="bibr" rid="scirp.137274-6">
      [6]
     </xref>.</p>
    <fig id="fig1" position="float">
     <label>Figure 1</label>
     <caption>
      <title>Figure 1. Architecture of a remote patient monitoring system.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId16.jpeg?20241108030741" />
    </fig>
    <sec id="s1">
     <title>2. Problem Statement</title>
     <p>Problems make their way to a solution. Generally, problems arise when a patient goes for medical services in a rural area or city area. The traditional patient monitoring system has lots of drawbacks. Now, the problems in the existing ICU monitoring system must be figured out <xref ref-type="bibr" rid="scirp.137274-7">
       [7]
      </xref>.</p>
     <p>
      <xref ref-type="fig" rid="fig2">
       Figure 2
      </xref> shows a traditional patient monitoring system process. The usual practice involves a nurse or healthcare assistant visiting a patient to monitor vital signs and compare them with previous data. The frequency of these visits may follow a recommended schedule, but it can also vary based on the patient’s condition and the nurse’s subjective judgment. If a nurse notices a decline in the patient’s condition, the visits are likely to become more frequent. However, this increased monitoring only occurs when the patient is consistently and effectively observed <xref ref-type="bibr" rid="scirp.137274-8">
       [8]
      </xref>.</p>
     <p>Patient monitoring is a labor-intensive task, with human resources being the most crucial component in delivering this care <xref ref-type="bibr" rid="scirp.137274-9">
       [9]
      </xref>.</p>
     <fig id="fig2" position="float">
      <label>Figure 2</label>
      <caption>
       <title>Figure 2. Traditional patient monitoring process <xref ref-type="bibr" rid="scirp.137274-8">
         [8]
        </xref>.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId17.jpeg?20241108030741" />
     </fig>
    </sec>
    <sec id="s2_3">
     <title>Proposed Solution</title>
     <p>In this project, we have tried to reduce and solve those problems. And we make a solution in the best possible way. We consider some parameters when we design and implement this project. Those are portability, reduced high cost, manpower, procedure delay, battery draining data execution delay, increased proper investigation, data accuracy and many more.</p>
     <p>This proposed model is shown in <xref ref-type="fig" rid="fig3">
       Figure 3
      </xref>. It has many advantages such as:</p>
     <fig id="fig3" position="float">
      <label>Figure 3</label>
      <caption>
       <title>Figure 3. Proposed solution.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId18.jpeg?20241108030742" />
     </fig>
    </sec>
   </sec>
   <sec id="s3">
    <title>
     <xref ref-type="bibr" rid="scirp.137274-"></xref>3. Design and Implementation</title>
    <sec id="s3_1">
     <title>3.1. Project Diagram</title>
     <p>The project diagram has been represented into two sections. The first one is the Project area diagram (<xref ref-type="fig" rid="fig4">
       Figure 4
      </xref>), which represents several sections or units of our whole project that offer sensors area, controller area, policy and test bed area also data accusation with web server.</p>
     <p>On the other hand, Schematic diagram upholds the whole project’s circuital pathway. Schematic diagram is divided into two parts. The first one is the continuous data sectional area, as shown in <xref ref-type="fig" rid="fig5">
       Figure 5
      </xref>. This unit is divided into several sections. Those are sensor unit, basic microcontroller unit, core microcontroller unit and output visualization unit. The sensor unit deals with sensors that operate in +5-volt DC. The sensors Serial Clock (SCL) and Serial Data (SDA) port are connected to the next basic microcontroller unit. And the core microcontroller unit consists of several basic microcontroller units <xref ref-type="bibr" rid="scirp.137274-10">
       [10]
      </xref>. The visualization unit consists of a display, Bluetooth, Wi-Fi to web and GSM where web server, data server, cloud, local web, google sheet and apps are connected with Wi-Fi to web module. The visualization unit also connected with core microcontroller unit.</p>
     <p>The second one is sessional data area (<xref ref-type="fig" rid="fig6">
       Figure 6
      </xref>), which is divided into two sections. The first one is sensor unit and Secondary core microcontroller unit. The sensor unit deals with sensors which operate in +5-volt DC. The sensors Serial Clock (SCL) and Serial Data (SDA) port are connected to the next secondary core microcontroller unit. And secondary core microcontroller unit is connected to the core microcontroller unit.</p>
     <fig id="fig4" position="float">
      <label>Figure 4</label>
      <caption>
       <title>Figure 4. Project block diagram.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId19.jpeg?20241108030743" />
     </fig>
     <fig id="fig5" position="float">
      <label>Figure 5</label>
      <caption>
       <title>Figure 5. Schematic diagram (continuous data area).</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId20.jpeg?20241108030743" />
     </fig>
     <fig id="fig6" position="float">
      <label>Figure 6</label>
      <caption>
       <title>Figure 6. Schematic diagram (sessional data area).</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId21.jpeg?20241108030743" />
     </fig>
    </sec>
    <sec id="s3_2">
     <title>
      <xref ref-type="bibr" rid="scirp.137274-"></xref>3.2. Design Requirement</title>
     <p>This research is based on multiple core hardware equipment that collects data from the patient body. And sends data to basic microcontroller processing unit; after processing data it sends data to the core unit. Then, finally core unit transmits data to visualization unit. Five sensors have been used in this research such as ECG (Electrocardiography), Oxygen saturation (SPO<sub>2</sub>), Passive Infrared Sensor (PIR), Temperature-Humidity Sensor (DHT11/DHT22 and HS1101), Digital Temperature (DS18B20 &amp; BME280), Blood Pressure Sensor (PGA90A) and Heart Rate sensor. The hardware implementation of the project is shown in <xref ref-type="fig" rid="fig7">
       Figure 7
      </xref>.</p>
     <p>Arduino console and Turbo C were used for code compiling. For data entry, a Google sheet was used. To store all the extracted data, a web development tool named Think Speak was used. It is an open source “Web developing” tools that are connected to Arduino device module via a wireless network; what has been done in this project to connect, programmed in Arduino, and transmit to the web to see the real time Data visualization anytime anywhere in the world. “Thing Speak” is an open-details Internet of things application and API to store and get back facts from things using the HTTP protocol over the Internet or via a Local Part Network <xref ref-type="bibr" rid="scirp.137274-11">
       [11]
      </xref>.</p>
    </sec>
    <sec id="s3_3">
     <title>3.3. Implementation</title>
     <p>The hardware implementation of the paper is shown in <xref ref-type="fig" rid="fig7">
       Figure 7
      </xref>. Six sensors have been built on this work, and they are connected with two microcontrollers for extracting sessional and continuous data. Five sensors have been used placed on the human body surface where another sensor has been used to monitor the room temperature and the humidity. A GSM module has been used to send alert for critical case. Two LCD display have been used here to see the sensor outputs. The implementations of ECG, SpO<sub>2</sub>, PIR, Temperature-Humidity Sensor, Accelerometer and Gyroscope etc. are discussed here accordingly.</p>
     <fig id="fig7" position="float">
      <label>Figure 7</label>
      <caption>
       <title>Figure 7. Hardware implementation.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId22.jpeg?20241108030745" />
     </fig>
     <p>Electrocardiography (ECG): ECG sensor directly connected to patient body and also wired connection with a micro controller which is called basic microcontroller unit. Basic microcontroller execute data from ECG sensor. Basic microcontroller unit send it to core microcontroller unit and serial monitor for in spot real time data monitoring. The core microcontroller unit send data to cloud platform <xref ref-type="bibr" rid="scirp.137274-12">
       [12]
      </xref>. The implementation is shown in <xref ref-type="fig" rid="fig8">
       Figure 8
      </xref> and <xref ref-type="fig" rid="fig9">
       Figure 9
      </xref>.</p>
     <fig id="fig8" position="float">
      <label>Figure 8</label>
      <caption>
       <title>Figure 8. ECG sensor connection on human body.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId23.jpeg?20241108030746" />
     </fig>
     <fig id="fig9" position="float">
      <label>Figure 9</label>
      <caption>
       <title>Figure 9. Real time ECG data from patient body; cloud monitoring (Top), web server (Middle), data server (Bottom).</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId24.jpeg?20241108030746" />
     </fig>
     <p>Peripheral Capillary Oxygen Saturation (SpO<sub>2</sub>): SpO<sub>2</sub> placed on a finger using a pad then we connected SpO<sub>2</sub> Sensor with separate basic microcontroller unit. Then basic microcontroller unit connect to core microcontroller unit. The core microcontroller unit execute data and send data to web and other cloud system to store the Oxygen saturation data of the patient <xref ref-type="bibr" rid="scirp.137274-13">
       [13]
      </xref>. Using this principal SpO<sub>2</sub> directly send real time data to cloud platform using Node-MCU. The implementation is shown in <xref ref-type="fig" rid="fig10">
       Figure 10
      </xref>.</p>
     <fig id="fig10" position="float">
      <label>Figure 10</label>
      <caption>
       <title>Figure 10. Real time SpO<sub>2</sub> data from patient body.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId25.jpeg?20241108030746" />
     </fig>
     <p>Passive Infrared Sensor (PIR): PIR sensor is attached with patient bed and also connected with microcontroller unit. When PIR sensor detects any movement of patient in the room it sends signal to microcontroller unit. Microcontroller unit send data to on spot serial monitor and core microcontroller unit to send data to cloud platform. The implementation is shown in <xref ref-type="fig" rid="fig11">
       Figure 11
      </xref>.</p>
     <p>Temperature-Humidity Sensor: DHT11 sensor placed on patient room to observe patient room temperature and humidity. DHT11 connected with a basic microcontroller unit <xref ref-type="bibr" rid="scirp.137274-14">
       [14]
      </xref>. Basic microcontroller unit process the sensor signal then send data to core microcontroller unit and on spot real time serial monitor <xref ref-type="bibr" rid="scirp.137274-15">
       [15]
      </xref>.</p>
     <p>Accelerometer and Gyroscope (MPU6050): MPU6050 sensor is attached to patient body. when sensor detect any movement of patient body it sends signal to nearly connected basic microcontroller unit. Basic microcontroller unit process the sensor signal then send data to core microcontroller unit and on spot real time serial monitor <xref ref-type="bibr" rid="scirp.137274-16">
       [16]
      </xref>. Core microcontroller unit upload this data to web and other cloud platform. Implementation of Accelerometer and Gyroscope is shown in <xref ref-type="fig" rid="fig12">
       Figure 12
      </xref>.</p>
     <p>Body temperature digital thermometer: Accurately measuring human body temperature is crucial for assessing health in medical and clinical settings. While there are various methods to measure temperature, not all meet the stringent accuracy required for clinical thermometry. The MAX30205 temperature sensor is specifically engineered for this purpose. In this project, we integrated the MAX30205 sensor to monitor human body temperature, displaying the results on an LCD screen and transmitting real-time data to a cloud platform <xref ref-type="bibr" rid="scirp.137274-17">
       [17]
      </xref>. The implementation has been illustrated in <xref ref-type="fig" rid="fig13">
       Figure 13
      </xref>.</p>
     <fig id="fig11" position="float">
      <label>Figure 11</label>
      <caption>
       <title>Figure 11. Real time PIR data.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId26.jpeg?20241108030746" />
     </fig>
     <fig id="fig12" position="float">
      <label>Figure 12</label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.137274-"></xref><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/1732869-rId28.jpeg?20241108030745" /></p>Figure 12. Implementation of Accelerometer and Gyroscope.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId27.jpeg?20241108030745" />
     </fig>
     <fig id="fig13" position="float">
      <label>Figure 13</label>
      <caption>
       <title>Figure 13. Implementation of human body temperature.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId29.jpeg?20241108030745" />
     </fig>
     <fig-group id="fig14" position="float">
      <fig id="fig14" position="float">
       <label>Figure 14</label>
       <caption>
        <title>Figure 14. Data upload to data server (top), web interface (middle), Google sheet (bottom).</title>
       </caption>
       <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId30.jpeg?20241108030745" />
      </fig>
      <fig id="fig14" position="float">
       <label>Figure 14</label>
       <caption>
        <title>Figure 14. Data upload to data server (top), web interface (middle), Google sheet (bottom).</title>
       </caption>
       <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId31.jpeg?20241108030745" />
      </fig>
      <fig id="fig14" position="float">
       <label>Figure 14</label>
       <caption>
        <title>Figure 14. Data upload to data server (top), web interface (middle), Google sheet (bottom).</title>
       </caption>
       <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId32.jpeg?20241108030746" />
      </fig>
     </fig-group>
     <p>Data server (IoT based): Everything that we collect from the patient’s body is directly uploaded to data server so that anywhere in the world, one can access data for their needs. We varied in two sections, one in Think Speak and the other one in Google Sheet. The implementation is shown in <xref ref-type="fig" rid="fig14">
       Figure 14
      </xref>.</p>
    </sec>
   </sec>
   <sec id="s4">
    <title>4. Performance Analysis</title>
    <sec id="s4_1">
     <title>4.1. Delay</title>
     <p>This sensor module system project is based on a testbed survey compared with hospital reference. Every step takes the data on its processor unit to compare the reference for giving an exact value. The level of delay is negligible for transmission loss, but we can’t avoid such loss. Rather, we took challenge over it. <xref ref-type="table" rid="table1">
       Table 1
      </xref> shows the delay analysis of heart rate measurement, where the delay was measured at 2.77% in a normal scenario and less than 1% in a critical scenario compared with the reference data.</p>
     <table-wrap id="table1">
      <label>
       <xref ref-type="table" rid="table1">
        Table 1
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.137274-"></xref>Table 1. Delay analysis using PPG reference value.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Reference PPG</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Ref. Data</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Ref. Data TX-RX rate</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Data TX-RX rate</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Delay</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">Normal</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">65 - 96</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">0.2315 ms</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">0.2592 ms</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">0.0277 (2.77%)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">Critical</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">80 - 145</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.0701 ms</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.0010 ms</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.0009 (0.09%)</p></td> 
       </tr> 
      </table>
     </table-wrap>
     <p>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref> shows the delay analysis of patient Oxygen saturation using SpO<sub>2</sub> sensor compared with reference data model where our proposed model gave less than 2% delay in the normal, risk or error levels.</p>
     <table-wrap id="table2">
      <label>
       <xref ref-type="table" rid="table2">
        Table 2
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.137274-"></xref>Table 2. Delay analysis using SpO<sub>2</sub> reference value.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Reference SpO<sub>2</sub></p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Ref. Data</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Ref. Data TX-RX rate</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Data TX-RX rate</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Delay</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">Normal level</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">95 - 100</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">0.1315 ms</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">0.2592 ms</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">0.0177 (1.77%)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">Risk level</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">80 - 91</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.0701 ms</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.1710 ms</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.1009 (1.09%)</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">Error level</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">&lt;64</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.2118 s</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.3302 ms</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">0.0184 (1.84%)</p></td> 
       </tr> 
      </table>
     </table-wrap>
    </sec>
    <sec id="s4_2">
     <title>4.2. Power Consumption</title>
     <p>Power consumption is usually measured in units of watts (W) or milliwatts (mW). The power for a given time used by necessary things is always more than the power for a given time really needed <xref ref-type="bibr" rid="scirp.137274-18">
       [18]
      </xref>. The average power consumption of the proposed model is 63%, where 5% of the power was wasted due to setup and restart issues. The power consumption of the system is shown in <xref ref-type="fig" rid="fig15">
       Figure 15
      </xref> and <xref ref-type="table" rid="table3">
       Table 3
      </xref>.</p>
     <fig id="fig15" position="float">
      <label>Figure 15</label>
      <caption>
       <title>Figure 15. Power consumption ratio.</title>
      </caption>
      <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1732869-rId33.jpeg?20241108030747" />
     </fig>
     <table-wrap id="table3">
      <label>
       <xref ref-type="table" rid="table3">
        Table 3
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.137274-"></xref>Table 3. Power consumption using microcontroller reference value.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Reference microcontroller</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Reference power level</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Data</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Consumption</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">Normal</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">9.0653 mW</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">5.424 mW</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">64%</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">Risk level</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">9.5771 mW</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">5.388 mW</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">61%</p></td> 
       </tr> 
      </table>
     </table-wrap>
    </sec>
    <sec id="s4_3">
     <title>4.3. Data Accuracy</title>
     <p>Accuracy is calculated as the ratio of correctly classified samples to the total number of samples in the dataset. Error-free data is a key aspect of data quality <xref ref-type="bibr" rid="scirp.137274-19">
       [19]
      </xref>. In our Sensor module, we try to ensure the maximum data accuracy for health monitoring using microcontroller data processing. Data accuracy of the proposed model is illustrated in <xref ref-type="table" rid="table4">
       Table 4
      </xref>, where the proposed model showed data accuracy of about 99% in all scenarios.</p>
     <table-wrap id="table4">
      <label>
       <xref ref-type="table" rid="table4">
        Table 4
       </xref></label>
      <caption>
       <title>
        <xref ref-type="bibr" rid="scirp.137274-"></xref>Table 4. Accuracy of project data vs hospital survey data.</title>
      </caption>
      <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
       <tr> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Reference model</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Hospital survey data</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Project data</p></td> 
        <td class="custom-bottom-td acenter" width="17.09%"><p style="text-align:center">Data accuracy</p></td> 
       </tr> 
       <tr> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">ECG 680/690</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">681/686</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">683/987</p></td> 
        <td class="custom-top-td acenter" width="17.09%"><p style="text-align:center">98.97%</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">PPG 65-96</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">77</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">61 - 95/77</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">99.99%</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">SpO<sub>2</sub> 95% - 100%</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">99%</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">95 - 100/98%</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">99.71%</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">BP 80/120</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">86/126</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">86/127</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">99.81%</p></td> 
       </tr> 
       <tr> 
        <td class="acenter" width="17.09%"><p style="text-align:center">DS18B20 98.6’ F</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">99.12’F</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">99.09’F</p></td> 
        <td class="acenter" width="17.09%"><p style="text-align:center">98.97%</p></td> 
       </tr> 
      </table>
     </table-wrap>
    </sec>
   </sec>
   <sec id="s5">
    <title>5. Conclusion</title>
    <p>In this project section, we have gone over a wide range of topic about sensor networks. Our target was to develop an IoT based remote patient monitoring system that would be portable and affordable. This model has been developed in such a way that it can store patient data over a long period of time, which can be used further if needed. Using this device, we get all data from the patient body on one screen from any remote place. The sensor network is designed to consist of modern scientific equipment that copes with recent smart technology. Adding more advanced sensors like ZigBee and hardware upgrades such as advanced microcontrollers like Raspberry Pi could enhance the performance of the model. In the future, the WBAN frameworks that are introduced in clinics will require security, which is a major issue nowadays. Security issues like confirmation patients’ e-reports that are spared within the cloud database are to be moved forward by utilizing any best optimization method. Patients don’t need to uncover their individual life issues with any obscure individual. In the end, we feel that several non-technical factors would also play crucial roles in the success of the WBAN technology development, such as affordability, legal, regulatory and ethical issues, and user friendliness, comfort and acceptance.</p>
   </sec>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.137274-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Javaid, M., Haleem, A., Rab, S., Pratap Singh, R. and Suman, R. (2021) Sensors for Daily Life: A Review. Sensors International, 2, Article 100121. &gt;https://doi.org/10.1016/j.sintl.2021.100121
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Abdulmalek, S., Nasir, A., Jabbar, W.A., Almuhaya, M.A.M., Bairagi, A.K., Khan, M.A., et al. (2022) IoT-Based Healthcare-Monitoring System Towards Improving Quality of Life: A Review. Healthcare, 10, Article 1993. &gt;https://doi.org/10.3390/healthcare10101993
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kaidi, H.M., Izhar, M.A.M., Dziyauddin, R.A., Shaiful, N.E. and Ahmad, R. (2024) A Comprehensive Review on Wireless Healthcare Monitoring: System Components. IEEE Access, 12, 35008-35032. &gt;https://doi.org/10.1109/access.2024.3349547
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yedukondalu, U., Srinivasarao, U., Harish, H.M. and Hadimani, H.C. (2018) Health Monitoring System Using IoT. International Journal of Engineering and Manufacturing Science, 8, 177-182.
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hassan, M., Lata, T.R., Rani, N., Al-Amin, M., Shak, M.A.A., Mia, L., et al. (2023) IoT-Based Smart Health Monitoring System for Efficient Service in the Medical Sector. International Journal of Engineering Trends and Technology, 71, 159-170. &gt;https://doi.org/10.14445/22315381/ijett-v71i4p215
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Chaari, M.Z., Al-Rahimi, R. and Aljaberi, A. (2021) Real-Time Monitoring of Indoor Healthcare Tracking Using the Internet of Things Based Ibeacon. In: Auer, M.E., Bhimavaram, K.R. and Yue, X.G., Eds., Online Engineering and Society 4.0., Springer International Publishing, 332-342. &gt;https://doi.org/10.1007/978-3-030-82529-4_32
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kim, I., Lai, P.-H., Lobo, R. and Gluckman, B.J. (2014) Challenges in Wearable Personal Health Monitoring Systems. 2014 36th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Chicago, 26-30 August 2014, 5264-5267. &gt;https://doi.org/10.1109/embc.2014.6944813
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sahandi, R., Sewell, P., Noroozi, S. and Hewitt, M. (2011) Remote Monitoring of Lower-Limb Prosthetic Socket Fit Using Wireless Technologies. Journal of Medical Engineering &amp; Technology, 36, 50-56. &gt;https://doi.org/10.3109/03091902.2011.634947
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bloor, K. and Maynard, A. (2003) Planning Human Resources in Health Care: Towards an Economic Approach—An International Comparative Review. &gt;https://tagso.bpums.ac.ir/UploadedFiles/xfiles/File/tagso/12olympiad/manabe/nezam%20salamat/bloor_report.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mepits (2015) Zigbee Arduino Interfacing. &gt;https://www.mepits.com/project/299/embedded-projects/zigbee-arduino-interfacing
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Win, K.K., Wai, K.S. and Say, N.M. (2019) IoT Based Heart Rate Monitoring System Using Arduino and ThingSpeak. The Annual University Journal of Research and Applications, 1, 121-125.
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Serhani, M.A., El Kassabi, H.T., Ismail, H. and Nujum Navaz, A. (2020) ECG Monitoring Systems: Review, Architecture, Processes, and Key Challenges. Sensors, 20, Article 1796. &gt;https://doi.org/10.3390/s20061796
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Shelley, K. and Shelley, S. (2001) Pulse Oximeter Waveform: Photoelectric Plethysmography. In: Lake, C., Hines, R. and Blitt, C., Eds., Clinical Monitoring, W.B. Saunders Company, 420-428.
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ada, L. (2012) DHT11, DHT22 and AM2302 Sensors. &gt;https://learn.adafruit.com/dht/overview
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Tsai, C.F. and Young, M.S. (2003) Pyroelectric Infrared Sensor-Based Thermometer for Monitoring Indoor Objects. Review of Scientific Instruments, 74, 5267-5273. &gt;https://doi.org/10.1063/1.1626005
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     MPU-6050 Six-Axis (Gyro+Accelerometer) MEMS MotionTracking™ Devices. &gt;https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     DS18B20 Programmable Resolution 1-Wire Digital Thermometer. &gt;https://cdn-shop.adafruit.com/datasheets/DS18B20.pdf
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Gaddour, O. and Koubâa, A. (2012) RPL in a Nutshell: A Survey. Computer Networks, 56, 3163-3178. &gt;https://doi.org/10.1016/j.comnet.2012.06.016
    </mixed-citation>
   </ref>
   <ref id="scirp.137274-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hicks, S.A., Strümke, I., Thambawita, V., Hammou, M., Riegler, M.A., Halvorsen, P., et al. (2022) On Evaluation Metrics for Medical Applications of Artificial Intelligence. Scientific Reports, 12, Article No. 5979. &gt;https://doi.org/10.1038/s41598-022-09954-8
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>