Académique Documents
Professionnel Documents
Culture Documents
1, July 2019
DOI: 10.1234/ijeeemi.v1i1.9xx ISSN:2656-8632
Abstract— Chronic Obstructive Pulmonary Disease (COPD) is an airway obstructive disease due to chronic bronchitis or
emphysema. One of the causes of COPD is smoking. Monitoring respiratory rate is used to determine the value of the breathing rate for
one minute in passive and active smokers which aims to monitor the respiratory condition of outpatients and if there is an abnormal
value can be used as a warning to the beginning of the risk of smoking patterns of life. The purpose of this study is to make a breathing
rate monitoring device and SPO2 via Android (Respiratory Rate Parameter) using a flex sensor with analog output. the flex sensor
works based on resistance where the resistance changes depending on the bending received by the flex sensor which then the output of
the flex sensor enters the circuit difference. The output difference to the Arduino Mega Analog pin from the respiratory rate value is
displayed on the LCD 16x2 and on Android using Bluetooth as the sending medium. The results of the data collection of 5 respondents
with 6 data collection times got an error of 1.29%.
pressure sensor with the output voltage value which is then fulfill the conditions of the provision there will be an Early
received by the Arduino microcontroller [9]. Warning in the form of an sms and send the percentage
In 2016 Farah Diska Bestari conducted a study entitled, percentage in the form of sms to the number that has been
"Monitoring Heart Rate, Respiration Rate equipped with a registered previously.
temperature sensor to the Personal Computer via Bluetooth
(respiration rate parameter)", This study was designed for
measuring human respiratory rate as an early diagnosis of SENSOR
respiratory abnormalities using sensors FC-04 by modifying FLEX
using Bluetooth and data storage [10].
In 2016 Mikki Fahrizi Maharrahman conducted a study
OP AMP
entitled, "PC-based (Personal Computer) Breathing Rate
Monitoring equipped with respiratory volume", This study was
designed for measuring human respiratory rate using
MPX5100 pressure sensors [11]. LCD 2X16
ARDUINO
Based on the identification of the above problems, the author MEGA 2560
intends to make "Respiratory Rate Monitoring and SPO2 Via BLUE
Android (Respiratory Rate Parameters)" which can know the TOOTH
value of one minute breathing rate in passive and active
smokers aimed at monitoring outpatient respiratory conditions
and if they occur abnormal values can be used as a warning to ANDROID
the beginning of the risk of a pattern of smoking life.
II. MATERIALS AND METHODS
A. Experimental Setup Fig. 1. The diagram block of the Holter Monitor
The initial command will initialize. Then after the Flex sensor is a sensor that will change the resistance value
initialization process is complete, connect Bluetooth hardware when there is an arc on the sensor, so that when the flex sensor
with Android Bluetooth, the patient enters data name and age, experiences a curve, the Vout of the voltage distribution will
then settings for monitoring time. Then the RR data is detected. change depending on the resistance produced by the sensor
When patients set the time for monitoring data will be stored in arch. The Vout formula of voltage distribution is as follows.
the android internal memory with the format. Txt. When 30
minutes will send the average RR value via SMS, if the RR
data shows it is not normal to eat the SMS feature will be 𝑅 𝑔𝑟𝑜𝑢𝑛𝑑
active and send abnormal data via SMS and notification for Vout = X Vin (1)
(𝑅 𝐹𝑒𝑙𝑥+𝑅 𝑔𝑟𝑜𝑢𝑛𝑑)
follow-up.
BEGIN Then the output of the voltage distribution will go into the
difference amplifier circuit. This circuit serves to eliminate Vin
on the non-inverting leg with Vin at the inverting leg and
Koneksi Bluetooth simultaneously functions to strengthen the difference between
the input voltage input. Multiturn functions to set if the sensor
is in a curved condition the output of the circuit is 0V. When
Set Nama dan Umur
the flex sensor is curved, the output of this circuit is no longer
0V, the output value of this circuit varies depending on the
DATA RR DI curvature that occurs in the flex sensor itself. The output of the
DETEKSI difference amplifier circuit is connected to the feet of the
Arduino nano A1
Save data pasien pada file
manager berformat.txt
RR 12-20/ MENIT
int milidetik3;
//Inisialisasi tipe data timer milidetik1,2 dan 3
float average,average1, hasilrataspo,hasilratarr;
//Inisialisasi tipe data menjadi desimal
//=================RR===============
int flex,RPM, nafas,beat,respirasi,nafasmanual;
//Inisialisasi tipe data int untuk variable flex dll
int ref,hold, mark,count,detak,logikakomparator,mulai =0;
//Inisialisasi tipe data int dengan kondisi=0
unsigned long waktuRR,waktusekarangRR=0;
//Inisialisasi tipe data dengan banyak desimal dibuat untuk
waktu
unsigned int waktumonostabil = 0;
Fig. 6. Sensor circuit output after being difference //Inisialisasi tipe data dengan banyak desimal dibuat untuk
waktu dengan kondisi awal 0
Figure 6. is a measurement image on the output foot of the const int delayMonostabil=2000;//Inisialisasi tipe data
entire circuit or output signal of the difference amplifier circuit.
dengan batas 2000
The difference amplifier circuit functions to get logic 0 (zero)
in the expiration phase .. The measured amplitude value is 2.92
Volt. The increase occurs due to changes in the resistance of
the sensor so that there is a change in the division of voltage at
input voltage V1. Each patient has a different voltage change
depending on the pressure given by the stomach to the flex 1) Data transmission via bluetooth
sensor. The baudrate setting that we use is equal to 9600. Baudrate
settings are done by writing on the micro program listing and
1. The Listing Program basic initialization program at also setting configuration on the HC-05 module via AT-
arduino Command using software that accesses the module. The
Initialization here serves as the initial address to enter the Baudrade functions as the speed of sending sent by Android,
program on the micro controller. where the microcontroller sends data via the Bluetooth HC-05
Minimum system uses ArduinoMega with display display Transmitter and is received by an Android Bluetooth receiver.
using LCD16x2. LCD 16x2 displays the SPO2 value, RR and Listing Program 2. the program listing data transmission
the average of each parameter where MAX30100 uses pins A4 via bluetooth:
and A5 while RR uses pin A0. The SPO results are updated 2
seconds from the reading and the results of the Respiration
calculate the Respiration Rate and display the Respiration Rate
Serial.begin(9600); //setting baudrate yang digunakan
after 1 minute on the LCD.
if (milidetik3>=1000)
// setiap 1 detik mengirim data ke android dengan batas atau
Listing program 1. Program to send the ECG data to a parsing data |
computer {
//==========KIRIM DATA=========
#include "MAX30100_PulseOximeter.h" Serial.print (".");
// Inisialisasi Library MAX30100 Serial.print("|");
#include <LiquidCrystal.h> Serial.print (SPO2);
// Inisialisasi Library LCD 16x2 Serial.print("|");
LiquidCrystal lcd(12 ,11 ,5 ,4 ,3 ,2 ); Serial.print (respirasi);
//Inisialisasi Pin LCD 16x2 Serial.print("|");
int SPO2; Serial.print ( hasilrataspo);
//Inisialisasi variable SPO Serial.print("|");
#define REPORTING_PERIOD_MS 1000 Serial.print ( hasilratarr);
//Inisialisasi waktu yang digunakan MAX30100 Serial.println("|");
PulseOximeter pox; milidetik3=0;
//Inisialisasi mengupdate hasil pembacaan MAX30100 }
uint32_t tsLastReport = 0;
//==============TIMER============
unsigned long milidetik1;
unsigned long milidetik2;
IV. DISCUSSION
A respiratory rate and SPO2 monitoring tool can be made
via Android (respiratory rate parameter) that displays
respiratory rate measurements with an average error value of
1.29%.The Atmega2560 microcontroller minimum circuit can
be made.Android software can be created to display the results
of breathing rate measurements on Android.Data transmission
can be made using Hc-05 even though there is data that is
stagnant at a distance of 5 meters by testing in a room with
obstacles. After accumulating, the biggest average error is
worth = 1.82%. for respiration modules, on ECRI's provisions
regarding the maximum permissible error in the parameters of
the respiratory rate measurement for bedside monitors which is
equal to 5%, so that the respiratory rate monitoring module and
SPO2 via Android (respiratory rate parameter)) are suitable for
use.
V. CONCLUSION
The listing program 6 this program runs when we start The development of this research can be done by step :
activating Bluetooth. This save data will be entered in the Sensor design that is comfortable for patients.
TUGASAKHIR folder that was created at the start of turning Using piezo sensors that are more sensitive to stomach and
on Bluetooth. Save this data in txt format by filling in the order chest movements to detect breathing rates.
of SPO value, RR,SPO average and RR average. Using wireless that is far and wide without loss of data.
Listing Program 7. RR Value detection program
REFERENCES
[1] S. P. Persalinan et al., “J URNAL,” vol. 4, no. 1, 2014.
[2] L. Salawati, “HUBUNGAN MEROKOK DENGAN DERAJAT
PENYAKIT PARU OBSTRUKSI KRONIK,” pp. 165–169, 2016.
[3] B. A. Wisman, R. Mardhiyah, and E. D. Tenda, “Pendekatan Diagnostik
dan Tatalaksana Penyakit Paru Obstruktif Kronik GOLD D : Sebuah
Laporan Kasus.”
[4] A. H. Sinambela, A. P. Tarigan, P. Pandia, R. H. Adam, and M. Medan,
“Pengaruh Latihan Fisik Terhadap Saturasi Oksigen pada Penderita
Penyakit Paru Obstruktif Kronik Stabil,” vol. 35, no. 3, 2015.
[5] D. I. Rs, P. Ario, W. Salatiga, and K. Kunci, “PERUBAHAN
SATURASI OKSIGEN PADA PASIEN PPOK,” pp. 1–11.
The listing program 7 In this program, it is created when [6] R. Oemiati, “KAJIAN EPIDEMIOLOGIS PENYAKIT PARU,” vol. 23,
RR values are below 12 and more than 20, the instructions for no. 2, pp. 82–88, 2013.
sending SMS are 60 seconds and display notifications on [7] L. Carlos, M. Vanderlei, D. Ramos, U. E. De Londrina, and M. Velloso,
“Influence of pursed-lip breathing on heart rate variability and
Android. cardiorespiratory parameters in subjects with chronic obstructive
pulmonary disease ( COPD ) Influência da respiração freno-labial sobre
a variabilidade da frequência cardíaca e parâmetros,” no. July 2009,
3) The Error of RR(Respiration Rate) value 2014.
[8] W. E. Sonata and Wildian, “Rancang Bangun Alat Pengukur Suhu
TABLE I. THE ERROR OF MEASUREMENT FOR THE RR PARAMETER Tubuh Dengan Tampilan Digital dan Keluaran Suara Berbasis
BETWEEN THE DESIGN AND STANDARD UNIT . Mikrokontroller AVR AT MEGA 8535,” J. Fis. Unand, vol. 4, no. 4, pp.
32–43, 2015.
No Subject Error (%) [9] J. Fisika, “PENGUKURAN VOLUME PARU-PARU DENGAN
MEMANFAATKAN SENSOR TEKANAN Ahmad Zainudin, Endah
1 P1 1.82 % Rahmawati, Dzulkiflih,” vol. 04, pp. 127–132, 2015.
2 P2 1.42% [10] T. Hamzah, J. Teknik, E. Politeknik, and K. Surabaya, “Seminar Tugas
Akhir April 2016 Seminar Tugas Akhir April 2016 Batasan Masalah,”
3 P3 1.61% no. April, pp. 1–7, 2016.
[11] S. T. Akhir and L. Belakang, “Monitoring Laju Pernapasan Berbasis PC
4 P4 0% ( Personal Computer ) dilengkapi dengan Volume Pernapasan,” pp. 1–8,
5 P5 1.6% 2016.
[12] B. Ajar, D. Lyrawati, N. I. Luh, and M. Agustini, “S ISTEM P
ERNAFASAN :”
[13] J. P.T, J. Ward, R. M. Leach, and C. M. Wiener, “Sistem Respirasi.”
2008.