Obstructive Sleep Apnea Patient’s Heart Beat Monitoring System from Android Smartphone using MQTT Protocol
Heru Nurwarsito1, Firstian Satya Yulihardi2

1Heru Nurwarsito*, Faculty of Computer Science, University of Brawijaya, Malang, Indonesia.
2Firstian Satya Yulihardi, Faculty of Computer Science, University of Brawijaya, Malang, Indonesia.
Manuscript received on August 20, 2020. | Revised Manuscript received on September 01, 2020. | Manuscript published on September 10, 2020. | PP: 265-270 | Volume-9 Issue-11, September 2020 | Retrieval Number: 100.1/ijitee.K77780991120 | DOI: 10.35940/ijitee.K7778.0991120
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Sleep apnea disease is a disease at the respiration system in a human that dangerous and has a high mortality rate. There is two sleep apnea, the first is central sleep apnea and then obstructive sleep apnea, basically sleep apnea is a condition that somebody stop breathing when they were sleeping for a few second, sleep apnea caused by the relaxation of respiration muscle. When sleep apnea comes back, sleep apnea patients need to wake up from and breathe normally again. This system is made to provide some mechanism outside of the human body to help obstructive sleep apnea patient woke up from their sleep and breathe well. Furthermore, with this system, might patients could be monitored although they were not at a hospital. In its work, the system is using a microcontroller and smartphone that are connected with the MQTT protocol to help patients. The microcontroller is used for sensing patient heart rate by connecting it with the AD8232 module sensor wich then the signal would be classified to determine the condition of sleep apnea using the KNN classification method. The result of classification by the microcontroller be delivered to the user’s smartphone to be the trigger for alarm, patient’s monitoring system, etc. Research result shows that the MQTT protocol 100% successful to transmit the data with 39.74 ms delay. The patient, patient’s family, and medic smartphone’s apps can monitor and successfully show a notification when sleep apnea’s patient recurring. Accurate of the sensor at sensing heart rate is 91.32% and the accuracy of the classification method is 86.6%. Other than that, the average processing speed from the sensing proses to classification is 1273.85 ms, and the time needed for data arrived at the user’s smartphone is 1312.74 ms. 
Keywords: Sleep Apnea, MQTT, IoT, Monitoring, Smartphone Android.
Scope of the Article: IoT