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.