ebook img

ARDUINO BASED HEART RATE MONITORING AND HEART ATTACK DETECTION SYSTEM By ... PDF

98 Pages·2017·3.24 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview ARDUINO BASED HEART RATE MONITORING AND HEART ATTACK DETECTION SYSTEM By ...

ARDUINO BASED HEART RATE MONITORING AND HEART ATTACK DETECTION SYSTEM By DUAA ELSAYED IDRIS BABIKER INDEX NO. 124046 Supervisor Prof. Sami Sharif A REPORT SUBMITTED TO University of Khartoum In partial fulfillment of the degree of B. SC (HONS) Electrical and Electronic Engineering (COMMUNICATION ENGINEERING) Faculty of Engineering Department of Electrical and Electronic Engineering October, 2017 DECLARATION OF ORGINALITY I declare this report entitled “ARDUINO BASED HEART RATE MONITORING AND HEART ATTACK DETECTION SYSTEM” is my own work except as cited in references. The report has been not accepted for any degree and it is not being submitted currently in candidature for any degree or other reward. Signature: ____________________ Name: _______________________ Date: ________________________ ii ACKNOWLEDGMENT I would like to express my gratitude to my supervisor Prof. Sami Sharif for his dedication and guidance through this journey. I would also like to thank my colleagues and everyone who helped me and wished for the project success. Finally, many thanks to my project partner NOON MOHAMMED. I could haven’t ask for a better partner. iii DEDICATION To my father, my mother, my sisters and brothers; without you I would not have been here. To all the great friends who won’t hesitate in surrounding me with love and support whenever needed, I’m blessed. Special dedication to my friend, Serien Hashim without whose never failing encouragement, this thesis wouldn’t have been finished. To me five years ago. I MADE IT. iv Abstract Heart rate is affected by body temperature, heat is an important indicator that needs to be .monitored so that any abnormality can be detected early enough to allow treatment The need for a portable device of a suitable size for the daily activities of the measurement and control of vital indicators. The aim of this project is to design and develop a device that continuously monitors the vital indicators, as it periodically measures heart rate and temperature. It also triggers an alarm in case the signal has been measured above or below predetermined values. In addition, it sends this information via Bluetooth technology to be displayed in the Andoroid application interfaces to be saved in the database files and retrieved upon request. In addition, the project aims to develop a common platform to provide a means of communication between the doctor and patient, where the doctor can see the patient's daily records. v صلختسملا لدعم نلأ ًةبسن و بلقلا تابرض يف للخ وأ عراست ثودحل ًةضرع رثكأ مهنأ ثيح ةيويحلا مهتارشؤمل ةمئاد ةبقارمو ةصاخ ةيانع نوجاتحي بلقلا ىضرم .جلاعلاب حمسي ركبم تقو يف للخ يأ فاشتكإ عيطتسن ىتح هتبقارم بجي مهم رشؤم ةرارحلا نإف ،مسجلا ةرارح ةجردب رثأتي بلقلا تابرض .ةيويحلا تارشؤملا ةبقارمو سايق ةيلمعب موقي ةيمويلا تاطاشنلل بسانم مجح وذ لومحم زاهجل ةجاحلا ترهظ هيلع امك .ةيرود ةروصب ةرارحلاو بلقلا تابرض لدعم سايقب موقي ثيح ،ةيويحلا تارشؤملل رمتسم ةبقارمب موقي زاهج ريوطت و ميمصت ىلإ عورشملا اذه فدهي ثوتولبلا ةينقت ربع تامولعملا هذه لاسرإب موقي هنأ ىلإ ةفاضلإاب .ًاقبسم ةددحم ميق نم لقأ وأ ىلعأ اهسايق مت يلا ةراشلإا تناك ةلاح يف راذنإ قلاطإب موقي هنأ .بلطلا دنع اهعاجرتسإو تانايبلا دعاوق تافلم يف اهظفح متيل ديرودنلأا قيبطت تاهجاو يف اهضرع متيل ضيرملا تلاجس ىلع علاطلإا نم بيبطلا عيطتسي ثيح ضيرملاو بيبطلا نيب لصاوت ةليسو ريفوتل ةكرتشم ةصنم ريوطتل فدهي عورشملا نأ ىلإ ةفاضلإاب .ةيمويلا vi Table of Contents DECLATION OF ORIGINALITY CHAPTER ONE: INTRODUCTION: ............................................................................................ 1 1.1. Background: ......................................................................................................................... 1 1.2. Problem Statement: .............................................................................................................. 1 1.3. Objectives: ........................................................................................................................... 2 1.4. Motivation: ........................................................................................................................... 2 1.5. Project Scope: ...................................................................................................................... 3 1.6. Thesis Layout: ...................................................................................................................... 3 CHAPTER TWO LITREATURE REVIEW .................................................................................. 4 2.1. Overview: ............................................................................................................................. 4 2.2. Heart:.................................................................................................................................... 4 2.3. Electrocardiograph: .............................................................................................................. 9 2.4. Photoplethysmograph: ....................................................................................................... 10 2.5. Heart Attack: ...................................................................................................................... 11 2.6. Microcontrollers:................................................................................................................ 13 2.7. Bluetooth: ........................................................................................................................... 14 2.8. Related Work: .................................................................................................................... 14 CHAPTER THREE IMPLEMENTATION AND DESIGN ........................................................ 20 3.1. Overview: ........................................................................................................................... 20 3.2. High Level Project Design: ................................................................................................ 20 3.3. Detailed Level Project Design: .......................................................................................... 22 3.3.1. Hardware Design: ....................................................................................................... 22 3.3.2. Software Design: ......................................................................................................... 28 vii 3.4. Hardware Implementation: ................................................................................................ 36 3.5. Conclusion: ........................................................................................................................ 36 CHAPTER FOUR: RESULTS AND DISCUSSION ................................................................... 38 4.1. Results: ............................................................................................................................... 38 4.1.1 Heart Rate Results in Serial Plotter: ............................................................................ 38 4.1.2 Body Temperature Results in Serial Monitor: ............................................................. 39 4.1.3 Bluetooth Response in Android Application: .............................................................. 40 4.1.4 GPS Response in Android Application: ...................................................................... 41 4.2. Discussion: ..................................................................................................................... 43 CHAPTER FIVE: CONCLUSION............................................................................................... 44 5.1. Conclusion: ........................................................................................................................ 44 5.2. Challenges and Limitations: .............................................................................................. 44 5.3. Accomplishments:.............................................................................................................. 45 5.4. Future Work: ...................................................................................................................... 46 APPENDENCIES ........................................................................................................................... 1 Appendix A: C code for Nano Arduino. ..................................................................................... 1 Appendix B: Java code for Anrdoid Studio. ............................................................................... 1 Appendix C: PHP code for DB. .................................................................................................. 1 Appendix D: Cost Analysis. ..................................................................................................... 47 viii List of Figures Figure 2.1 Structure of the heart and blood flow………………….................................................... 5 Figure 2.2 Radial Method............................................................................................................... 7 Figure 2.3 Carotid Method.............................................................................................................. 8 Figure 2.4 Heart Rate Monitors Method......................................................................................... 9 Figure 2.5 Normal ECG……………………………….................................................................. 9 Figure 2.6 PPG of different conditions ........................................................................................ 10 Figure 3.1 Overall system’s illustration....................................................................................... .21 Figure 3.2 System’s block diagram.............................................................................................. 21 Figure 3.3 Project’s system classification of units....................................................................... 22 Figure 3.4 Pulse Sensor................................................................................................................ 23 Figure 3.5 Interface between Pulse sensor and MCU................................ ……………………...24 Figure 3.6 LM35 Temperature Sensor........................................................................................ .25 Figure 3.7 Interface between LM35 and MCU........................................................................... 26 Figure 3.8 Nano Arduino............................................................................................................. 26 Figure 3.9 HC-05 Bluetooth Module................................................ ……………………………27 Figure 3.10 Buzzer ………………………………………………………………………………28 Figure 3.11 Login Interface..…………………………………………………………………….31 Figure 3.12 Registration Interface……………………………………………………………….31 Figure 3.13 Patient Registration Interface……………………………………………………….32 Figure 3.14 Doctor Registration Interface……………………………………………………….32 Figure 3.15 Patient View Interface………………………………………………………………33 Figure 3.15 Doctor View………………………………………………………………………...33 Figure 3.16 Patient’s ID Registration……………………………………………………………34 Figure 3.17 Patient’s ID…………………………………………………………………………34 ix Figure 3.18 Enable Bluetooth and GPS Services………………………………………………...35 Figure 3.19 Implementation of the Overall System……………………………………………...36 Figure 4.1 HR Wave Output in Serial Plotter……………………………………………………38 Figure 4.2 HR Values Output in Serial Monitor…………………………………………………39 Figure 4.3 Temperature Output in Serial Monitor……………………………………………….40 Figure 4.4 Bluetooth Enabling Notification……………………………………………………...41 Figure 4.5 Bluetooth Pairing With HC-05……………………………………………………….41 Figure 4.6 GPS Enabling………………………………………………………………………...42 Figure 4.7 Coordinates obtained by GPS………………………………………………………...42 x

Description:
ARDUINO BASED HEART RATE MONITORING AND HEART. ATTACK The aim of this project is to design and develop a device that continuously monitors the vital DECLATION OF ORIGINALITY The cardiac events that occur from the beginning of one heartbeat to the beginning of the next.
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.