• Tidak ada hasil yang ditemukan

Faculty of Computer Science and Information Technology

N/A
N/A
Protected

Academic year: 2024

Membagikan "Faculty of Computer Science and Information Technology"

Copied!
24
0
0

Teks penuh

(1)

2020

BODY TEMPERATURE AND HEART BEAT MONITORING SYSTEM FOR DENGUE PATIENTS USING IOT TECHNOLOGY

AIZAN FARIZAL SHAFIQ BIN AHMAD SABRI @ ATIB

Bachelor of Computer Science with Honours (Network Computing)

Faculty of Computer Science and Information Technology

(2)

i

BODY TEMPERATURE AND HEART BEAT MONITORING SYSTEM FOR DENGUE PATIENTS USING IOT TECHNOLOGY

AIZAN FARIZAL SHAFIQ BIN AHMAD SABRI @ ATIB

A thesis submitted

In fulfillment of the requirements for the degree of Bachelor of Computer Science with Honours

(Network Computing)

Faculty of Computer Science and Information Technology UNIVERSITY MALAYSIA SARAWAK

(3)

ii

(4)

iii

ACKNOWLEDGEMENTS

In the name of Allah, the most beneficent and merciful, it is my radiant sentiment to place on record of my best regards to my dearest supervisor, Dr. Selviawati bt Tarmizi who took her time out to hear, supervise and guide me in completing this Final Year Project despite of her hectic schedule. Secondly, with utmost gratitude, I would like to address my thanks to my cherished examiner, Dr. Dayang NurFatimah Binti Awang Iskandar, who had given me constructive feedbacks and remarks on my Final Year Project. I choose this moment to acknowledge their contribution gratefully. I am also grateful to my Final Year Project coordinator, Prof. Dr. Wang Yin Chai in giving useful tips and tricks for Final Year Project completion. Aside from that, I would like to express my heartiest gratitude to my parents and family who had supported me, encouraged me and never give up on me in spite of my long years of studies. By using this opportunity, I wish to express my deepest thanks to Amir Azizi bin Musa in giving necessary advices and guidance to make my life easier. Also, my sincere appreciation and uttermost sense of gratitude to my friends who had helped me and stayed with me in going through the ups and downs of my bachelor degree journey

(5)

iv

ABSTRACT

Dengue is a mosquito-borne viral disease that is transmitted by female mosquitoes mainly of the species Aedes aegypti and, to a lesser extent. There is no specific treatment for dengue, but early detection and access to proper medical care lowers fatality rates below 1%. Monitoring the patient’s temperature, heartbeat and body fluid volume is critical to severe dengue care.

Regular body temperature and heart pulse check are important to prevent dehydration and irregular heart rate pattern. Negligence of this regular check- up may lead to even more severe dengue fever and even lead to fatality if there is no intensive care. However, to constantly monitor both temperature and heartbeat of the patient in a short period interval requires a load of labour and can waste much disposable equipment during the check-up. In this era, IoT is a smart approach to overcome this situation. The nurse who is taking care of the patients can monitor the patient’s status in a real-time situation using the approach of IoT, mobile application and web-based system. If the patient’s status is in a critical situation, the system will alert the nurses for them to perform a necessary procedure.

(6)

v

ABSTRAK

Denggi ialah penyakit bawaan sejenis nyamuk Aedes aegypti dan seumpama dengannya.

Sehingga kini, tiada lagi penawar yang khusus bagi merawati penyakit ini, namun begitu, dengan pencegahan awal dan rawatan pemulihan yang kondusif, kadar kematian dapat diturunkan sebanyak 1%. Mengawasi suhu badan, kadar nadi dan kandungan air dalam badan adalah penting untuk penjagaan pesakit denggi. Pengawasan ketara bagi suhu badan dan kadar denyutan nadi amatlah penting untuk mengelakkan dehidrasi dan bacaan nadi yang tidak setara. Pengabaian pemantauan ini boleh mengakibatkan penyakit ini menjadi lebih parah sehingga boleh menyebabkan maut. Tetapi, pengawasan yang kerap untuk kondisi suhu badan dan kadar nadi dalam kadar yang kedap amatlah susah, kerana banyak alat pakai buang yang terpaksa dibazirkan. Oleh yang demikian, pendeketan IoT sangatlah berguna untuk mengatasi masalah ini. Bagi petugas yang mengawasi pesakit denggi ini, mereka dapat mengawasi keadaan pesakit dengan kadar yang pantas.Tambahan pula, dengan bantuan applikasi mobil dan sistem laman sesawang, dapatlah masalah ini dihadapi dengan lebih mudah. Jika kondisi pesakit berada dalam keadaan luar biasa, maka, dapatlah tindakan awal diambil supaya langkah yang sepatutnya dapat dilaksanakan dengan lebih berkesan.

(7)

vi

TABLE OF CONTENTS

Acknowledgements i

Abstract ii

Abstrak iii

Table of Contents iv

List of Figures viii

List of Tables xi

CHAPTER 1: INTRODUCTION 1

1.1 Project Title 1

1.2 Introduction 1

1.3 Problem Statement 2

1.4 Objectives 2

1.5 Scope 3

1.6 Methodology 3

1.7 Significance of Project 4

CHAPTER 2: LITERATURE REVIEW 5

2.1 Introduction 5

2.2 Courses of dengue illness 6

2.2.1 Febrile Phase 7

(8)

vii

2.2.2 Critical Phase 7

2.2.3 Severe Phase 8

2.2.4 Recovery Phase 8

2.3 Review on Similar Existing Systems 8

2.3.1 Wi-Mon 9

2.3.2 Kardia Mobile 11

2.3.3 Simultaneous Monitoring of Health Parameters System 12

2.3.4 Comparison on existing system 16

2.4 Review of tools and Technology 17

2.4.1 Hardware 17

2.4.1.1 Wemos D1 R3 17

2.4.1.2 Body Temperature Sensor 18

2.4.1.3 Heart Rate Sensor 20

2.4.2 Software 21

2.4.2.1 Arduino IDE 21

2.4.2.2 Android Studio 22

2.4.3 Database 23

2.5 Summary 24

CHAPTER 3: METHODOLOGY 25

3.1 Introduction 25

3.2 System Development Methodology 26

3.2.1 Analyse and Quick Design 27

3.2.1.1 Analysis Phase 27

(9)

viii

3.2.1.2 Design Phase 29

3.2.1.2.1 Use Case Description 30

3.2.1.2.2 Activity Diagram 32

3.2.1.2.3 Class Diagram 33

3.2.1.2.4 Mock Up Interface Design 34

3.2.1.2.5 System Architecture 38

3.2.2 Prototyping Cycle Phase 38

3.2.3 Testing Phase 39

3.2.4 Implementation Phase 39

3.3 Summary 39

CHAPTER 4: IMPLEMENTATION AND TESTING 41

4.1 Introduction 41

4.2 Prototype Implementation 42

4.2.1 Hardware Implementation 42

4.2.1.1 List of Devices 43

4.2.1.2 Installation heart sensor on Wemos D1 R3 43 4.2.1.3 Installation body temperature sensor (D6T-01) on Wemos

D1 R3 44

4.2.1.4 Complete installation of prototype 45

4.2.2 Software Implementation 45

4.2.2.1 D6T-01 Source Code 45

4.2.2.2 Heartbeat sensor Source Code 46

4.2.2.3 Wifi Connection and Firebase Sourcode 47

4.2.2.4 Android Studio Source Code 49

(10)

ix

4.3 Prototype Testing 50

4.3.1 Component Testing 51

4.3.1.1 Heartbeat Sensor Source Code Testing 51

4.3.1.2 D6T-01 Sensor Source Code Testing 52

4.3.2 System Testing 53

4.3.2.1 Functional Testing 53

4.4 Summary 54

CHAPTER 5: CONCLUSION AND FUTURE WORKS 55

5.1 Introduction 55

5.2 Objective Achievement 56

5.3 Project limitation 57

5.4 Future Works 57

5.5 Summary 58

REFERENCES 59

APPENDICES

(11)

x

LIST OF FIGURES

Figure 1.1 Iterative and incremental development 4

Figure 2.1 Course of dengue illness 6

Figure 2.2 Wi- Mon sensors 9

Figure 2.3 Wi- Mon Software 10

Figure 2.4 Wi- Mon Software 10

Figure 2.5 Demonstration of Kardia Mobile measuring the heart rate 12

Figure 2.6 System Topology 13

Figure 2.7 Complete set for the system 13

Figure 2.8 Screenshots of measuring blood pressure 15

Figure 2.9 Wemos D1 R3 18

Figure 2.10 Omron’s D6T-1A-01 19

Figure 2.11 Cross-sectional image and functions of the D6T. 20

Figure 2.12 Pulse Sensor 21

Figure 2.13 Strapping the sensor on a finger 21

Figure 2.14 GUI for Arduino IDE 22

Figure 2.15 The interface of Android Studio IDE 23

Figure 3.1 Iterative and incremental development 26

Figure 3.2 Result of Responses for Selected Question (1) 28 Figure 3.3 Result of Responses for Selected Question (2) 28

Figure 3.4 System Use-Case Diagram 29

(12)

xi

Figure 3.5 Activity Diagram for the System 32

Figure 3.6 Class Diagram for the System 33

Figure 3.7 Login Interface 34

Figure 3.8 Heart rate reading Interface 35

Figure 3.9 Body Temperature reading Interface 35

Figure 3.10 Sign in Interface for website 36

Figure 3.11 Body Temperature Interface for website 36

Figure 3.12 Heart pulse Interface for website 37

Figure 3.13 Generate Report Interface for website 37

Figure 3.14 System Architecture 38

Figure 4.1 List of Devices 43

Figure 4.2 Installation of Heart Sensor 44

Figure 4.3 Installation of D6T-01 Sensor 44

Figure 4.4 Complete Installation of Prototype 45

Figure 4.5 Source code for D6T 46

Figure 4.6 Source code for heart sensor 47

Figure 4.7 Source code connecting to WiFi and firebase 48 Figure 4.8 Source code uploading data to firebase database 48

Figure 4.9 View the current reading 49

Figure 4.10 Reading is viewed in graph 49

Figure 4.11 Report in android device 50

Figure 4.12 Source code to call data from firebase 50

Figure 4.13 Heartbeat reading result 52

(13)

xii

Figure 4.14 Body temperature reading result 52

(14)

xiii

LIST OF TABLES

Table 2.1 Results for body temperature 14

Table 2.2 Results for blood pressure 15

Table 2.3 Comparison of features between existing systems and proposed system 17

Table 3.1 Use Case of Show Reading 30

Table 3.2 Use Case of View Reading 30

Table 3.3 Use Case of Store Reading 31

Table 4.1 Functional Testing 53

Table 5.1 Objectives and Achievement 56

(15)

1

CHAPTER 1

INTRODUCTION

1.1 Project Title

Body Temperature and Heart Beat Monitoring System for Dengue Patients using IoT Technology

1.2 Introduction

Dengue is a mosquito-borne viral disease that is transmitted by female mosquitoes mainly of the species Aedes aegypti and, to a lesser extent. Dengue is widespread throughout the tropics, with local variations in risk influenced by rainfall, temperature and unplanned rapid urbanization. The global incidence of dengue has grown dramatically in recent decades.

About half of the world’s population is now at risk. Severe dengue is a leading cause of serious illness and death among children in some Asian and Latin American countries. There is no specific treatment for dengue, but early detection and access to proper medical care lowers fatality rates below 1 percent. Monitoring the patient’s temperature, heartbeat and body fluid volume is critical to severe dengue care.

(16)

2

1.3 Problem Statement

Even though there is no cure for dengue, an intervention can help, depending on how severe the disease is. Regular body temperature and heart pulse check are important to prevent dehydration and irregular heart rate pattern. Negligence of this regular check-up may lead to even more severe dengue fever and even lead to fatality if there is no intensive care. However, to constantly monitor both temperature and heartbeat of the patient in a short period interval requires a load of labour and can waste much disposable equipment during the check-up. In this era, IoT is a smart approach to overcome this situation. The nurse who is taking care of the patients can monitor the patient’s status in a real-time situation using the approach of IoT, mobile application and web-based system. If the patient’s status is in a critical situation, the system will alert the nurses for them to perform a necessary procedure.

1.4 Objectives

Main objective of this project is to design and develop a system that monitor the body temperature and heart-beat pattern of the dengue’s patient with the help of IOT device and mobile application. Other objective included:

1.To save and retrieve records of status.

2.Generate report of the patient’s status.

(17)

3

1.5 Scope

This project is focusing on the person who are monitoring patient that are infected with dengue virus. The system can be used to monitor any changes of the patient heart-rate and body temperature in a short interval time period. With the instant data transfer from the system, it eliminate delay to take the patient’s body temperature and heart-beat measurement.

The reading will be shown as beats per minute (bpm) for heart-rate and Celsius (°C) for temperature. .

1.6 Methodology

Methodology is a system that covering large and wide scope of rules or principle which consists of specific method consist a set of practices that can be used to solve problems within particular scope. For this project, Iterative and incremental development methodology is selected to develop Heart beat and body temperature pattern monitoring system for Dengue Patients. This methodology can reduce development time and reusability of component which can help to speed up the development for this project and also able to deliver and making modification if needed without repeating previous phase.

The basic idea behind this method is to develop a system through repeated cycles (iterative) and in smaller portions at a time (incremental), allowing software developers to take advantage of what was learned during development of earlier parts or versions of the system. Learning comes from both the development and use of the system, where possible key steps in the process start with a simple implementation of a subset of the software requirements and iteratively enhance the evolving versions until the full system is implemented. At each

(18)

4

iteration, design modifications are made and new functional capabilities are added.

Figure 1.1: Iterative and incremental development

Based on Figure 1.1, Incremental development slices the system functionality into in- crements (portions). In each increment, a slice of functionality is delivered through cross- discipline work, from the requirements to the deployment. The Unified Process groups increments/iterations into phases: inception, elaboration, construction, and transition.

1.7 Significance of Project

The proposed system will help the nurse or doctor monitoring the patient temperature and heart-beat reading during the patient intervention in order the patient to recover from dengue. The System will provide an accurate reading of the patient temperature and heart- beat reading. Furthermore, the interval gain of the patient body temperature and heart-beat reading can be achieve in a short period of time. The system will also alert the person in charge monitoring the patient if there is any irregularity of the patient temperature and heart-beat reading.

(19)

5

CHAPTER 2

LITERATURE REVIEW

2.1 Introduction

In this chapter, a literature review of similar features of the existing system with the proposed system will be discussed. But prior of explaining the existing system, the circumstance of the dengue patients need to be elevated first. Dengue infection is a systemic and dynamic disease. It has a wide clinical spectrum that includes both severe and non-severe clinical manifestations. Dengue illness management is relatively simple, inexpensive and very effective in saving lives so long as correct and timely interventions are instituted. The key is early recognition and understanding of the clinical problems during the different phases of the disease, leading to a rational approach to case management and a good clinical outcome.

Reducing dengue mortality requires an organized process that guarantees early recognition of the disease, and its management and referral when necessary. The key component of the process is the delivery of good clinical services at all levels of health care. Intervention process by monitoring the patient’s health parameter such as body temperature, blood count, pulse rate, and blood pressure is crucial for the patients to survive the illness.

(20)

6

2.2 Courses of dengue illness

Figure 2.1: Course of dengue illness

(DENGUE GUIDELINES FOR DIAGNOSIS, TREATMENT, PREVENTION AND CONTROL ,2019)

Figure 2.1 shows the phase of the dengue illness. After the incubation period, the illness begins abruptly and is followed by the three phases which is the febrile, critical and recovery phase. Referral centres receiving severely ill dengue patients must be able to give prompt attention to referred cases. Beds should be made available to those patients who meet the admission criteria, even if elective cases have to be deferred. If possible, there should be a designated area to cohort dengue patients, and a high-dependency unit for closer monitoring of those with shock. These units should be staffed by doctors and nurses who are trained to recognize high-risk patients and to institute appropriate treatment and monitoring. A number of criteria may be used to decide when to transfer a patient to a high dependency unit. These

(21)

7 include:

• abnormalities in body temperature reading

• undetectable pulse and blood pressure

• severe plasma leakage and/or shock

• organ impairment (such as hepatic damage, cardiomyopathy, encephalopathy, encephalitis and other unusual complications).

2.2.1 Febrile Phase

During the febrile phase, patients typically develop high-grade fever suddenly. This acute febrile phase usually lasts 2–7 days and is often accompanied by facial flushing, skin erythema, generalized body ache, myalgia, arthralgia and headache. The patient’s body temperature might went up as high as 40 ℃. Therefore monitoring for warning signs and other clinical parameters is crucial to recognizing progression to the critical phase.

2.2.2 Critical Phase

During the critical phase, the temperature usually drops around 37.5–38℃ or less and remain below this level for usually on days 3-7 of illness. This marks the beginning of the critical phase and plasma leakage may usually last 24–48 hours. Shock occurs when a critical volume of plasma is lost through leakage. It is often preceded by warning signs. The body temperature may be subnormal when shock occurs. For the patient whose symptom prolonged after the critical phase they hardly recover and these will lead to severe dengue.

(22)

8 2.2.3 Severe Phase

Severe dengue should be considered if the patient is from an area of dengue risk presenting with fever of 2–7 days and the fever does not subside. Severe dengue is fatal as it cause plasma leakage that can cause circulatory shocks where the patient’s pulse is weak or even undetectable. There will also be significant bleeding and several altered level of consciousness. There is still no cure for dengue, but intervention might help to recover a patient from the illness.

2.2.4 Recovery Phase

If the patient survives the 24–48 hour critical phase, a gradual reabsorption of ex- travascular compartment fluid takes place in the following 48–72 hours. General well-being improves, appetite returns, gastrointestinal symptoms abate, haemodynamic status stabilizes and diuresis ensues.The haematocrit stabilizes or may be lower due to the dilutional effect of reabsorbed fluid. White blood cell count usually starts to rise soon after defervescence but the recovery of platelet count is typically later than that of white blood cell count.

2.3 Review on Similar Existing Systems

There are several parameter that can be monitored during the intervention process which is body temperature, plasma count, blood pressure, and heart-beat measurement. But in this project only the heart-beat and temperature reading is being monitored. The existing system that have the selected parameter are Wi-Mon, Kardia Mobile, and Simultaneous Monitoring

(23)

9 of Health Parameters System.

2.3.1 Wi-Mon

A wireless continuous patient monitoring system for dengue (Wi-Mon) is a device used to monitor some of the human vital information such as heart-rate, blood pressure, temperature, and SpO22. Wi-Mon is a new concept which combines sensor nodes with wireless network and Wi-Mon software. This system had been used to monitor the status of the dengue patients. For the sensor, the system use SpO22 sensor, Body Temperature sensor, ECG Sensor, Heart rate sensor, and Blood Pressure meter. SpO22 sensor can detect the oxygen level of a patient’s blood, the body temperature sensor is to read the patient’s temperature, the ECG sensors is to collect the electric signals generated by the heart, heart rate sensors is for reading the heart rate and the blood pressure sensors is to read the blood pressure. Figure 2.2 shows the sensors that are being used.

Figure 2.2: Wi- Mon sensors

(Wi-Mon,2017)

For monitoring record purposes, it use Wi-Mon software. Wi-Mon is integrated software that retrieve data from a database to view the data conveniently. The software view

(24)

10

all the reading from the sensors in a real-time environment. The software consist of features like admission of new patient, creating doctor profiles, ward list and many more. Figure 2.3 shows the GUI interface of Wi-Mon software.

Figure 2.3: Wi- Mon Software (Wi-Mon,2017)

Wi-Mon uses the Wireless Body Area Network (WBAN) and Wireless Local Area Network (WLAN) connectivity. The sensors will detect all the information of a patient’s body using the WBAN then send the data to a Raspberry-pi, then send the data to a wireless router and then to the internet. The Hospital that are surrounded by a WLAN connection can retrieve the data from the internet from the access point available. Figure 2.4 shows the network architecture of Wi-Mon connectivity.

Figure 2.4: Wi- Mon Software (Wi-Mon,2017)

Gambar

Figure 1.1: Iterative and incremental development
Figure 2.1: Course of dengue illness
Figure 2.2: Wi- Mon sensors
Figure 2.3: Wi- Mon Software  (Wi-Mon,2017)
+2

Referensi

Dokumen terkait

In 2002, the Faculty of Computer Science established collaboration with the School of Information Technology and Electrical Engineering at The University of Queensland (ITEE UQ)

This paper proposed myRIO and IoT based health monitoring and diagnosing system (HMDS) to acquire heartbeat rate, pulse, blood pressure (BP), temperature and activities of

DOI: https://doi.org/10.37859/coscitech.v1i2.2192 66 Berdasarkan observasi yang dilakukan di kampus Sekolah Tinggi Manajemen Informatika dan Komputer Muhammadiyah

Liang, “Factors Associated with Blood Pressure Variability Based on Ambulatory Blood Pressure Monitoring in Subjects with Hypertension in China”, Kidney Blood Press Res, vol.. Payne,

Simulation Scenarios and Parameter Values for I-ACO and AODV Parameter Value Simulation Time 900 seconds Mobility Model Random Way Point Model, Pause Time 0-150 seconds Speed 5-20

4.1.12 Medical Test Analysis User can analyze and keep record of Blood Pressure and Blood Glucose test data right from the home screen as well as a list of several other common medical

Pada Tabel 4 dapat dilihat pengujian performa dengan menggunakan metode cophenetic correlation coefficient menunjukkan nilai uji pada metode average linkage memiliki nilai 0.9248882

Tujuan dari penelitian ini adalah mengembangkan antarmuka dan pengalaman pengguna dengan menggunakan metode Goal-Directed Design untuk mengetahui kebutuhan dan tujuan penggunaan