Development of a Real-Time Spirometry Diagnostic Device for Pulmonary Function Assessment Using Flow Sensor and Android Display

DOI: https://doi.org/10.33650/jeecom.v8i2.17038
Authors

(1) * Muhammad Ridha Mak’ruf   (1Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia)  
        Indonesia
(2)  Andjar Pudji   (Department of Medical Electronics Technology, Poltekkes Kemenkes Surabaya, Indonesia)
(3)  Ekha Rifki Fauzi   (Universitas PGRI Yogyakarta)  
        Indonesia
(*) Corresponding Author

Abstract


Accurate and convenient measurement of lung function is an important requirement in medical diagnosis. This research was previous research by changing the pressure sensor to develop a flow meter sensor and using an Android display on an Android server. The spirometer tool was developed using an ESP32 microcontroller and a flow meter sensor, the measurement results of which are displayed in real-time on the Nextion LCD and Android server. The measured data includes FVC and FEV1 parameters, with hotspots used to connect the device to the server. Measurements using this tool show the highest error of 0.36% in the FVC parameter and 0.86% in the FEV1 parameter. The lowest error was recorded at 0.01% for FVC and 0.13% for FEV1. Real-time measurement results can be viewed via the Nextion LCD and also accessed via Android devices. The patient's lung volume can be measured accurately and visualized in graphical form. The use of a flow meter sensor connected to an ESP32 microcontroller has proven effective for detecting changes in air flow during patient breathing. The measurement results are stable with a very small error rate. Integration with Android servers makes it easy to monitor results digitally and in real-time. Overall, this device offers a practical and efficient solution for the diagnosis of pulmonary conditions. It can be concluded that the flow meter sensor used in this spirometer can measure lung volume accurately with a very small error rate. This tool can be an effective alternative for real-time and easily accessible FVC and FEV1 measurements.


Keywords

Spirometer; Flow Meter; Android; ESP 32; Lung Volume



Full Text: PDF



References


S. R. Potturu, K. Rajnish, and T. Sandhan, “AI based Stability Prediction and Analysis of Human Respiratory System,” in 2023 International Conference on Microwave, Optical, and Communication Engineering (ICMOCE), 2023, pp. 1–5. doi: 10.1109/ICMOCE57812.2023.10166469.

M. E. Awad, A. M. El-Garhy, M. A. Eldosoky, and A. M. Soliman, “Modeling and Simulation of Respiratory System for Acute Respiratory Distress Syndrome (ARDS) Associated with COVID-19,” in 2021 38th National Radio Science Conference (NRSC), 2021, pp. 232–242. doi: 10.1109/NRSC52299.2021.9509828.

M. M. Rahman et al., “Towards Motion-Aware Passive Resting Respiratory Rate Monitoring Using Earbuds,” in 2021 IEEE 17th International Conference on Wearable and Implantable Body Sensor Networks (BSN), 2021, pp. 1–4. doi: 10.1109/BSN51625.2021.9507016.

H. Xue, S. Chen, S. Dang, J. Li, and W. Fan, “Research on Air Flow Distribution Characteristics of Human Respiratory System Based on CFD,” in 2023 11th International Conference on Information Systems and Computing Technology (ISCTech), 2023, pp. 368–373. doi: 10.1109/ISCTech60480.2023.00074.

T. Jiang et al., “Wearable Airflow Sensor for Nasal Symmetric Evaluation and Respiration Monitoring,” in 2019 IEEE SENSORS, 2019, pp. 1–4. doi: 10.1109/SENSORS43011.2019.8956504.

A. Chara, T. Zhao, X. Wang, and S. Mao, “Respiratory biofeedback using acoustic sensing with smartphones,” Smart Heal., vol. 28, p. 100387, 2023, doi: https://doi.org/10.1016/j.smhl.2023.100387.

A. Alexandrov, A. Shcherbachev, I. Kudashov, A. Govorin, A. Pavlov, and O. Apolikhin, “Development of a Wearable System for Monitoring Respiratory Rate in Static and Dynamic Conditions,” in 2024 Conference of Young Researchers in Electrical and Electronic Engineering (ElCon), 2024, pp. 925–928. doi: 10.1109/ElCon61730.2024.10468267.

W. D. Moscoso-Barrera, I. S. Carreño-Pérez, L. M. Agudelo-Otalora, L. F. Giraldo-Cadavid, and J. Burguete, “Design of an electronic device for the measurement of respiratory signals,” in 2021 4th International Conference on Bio-Engineering for Smart Technologies (BioSMART), 2021, pp. 1–5. doi: 10.1109/BioSMART54244.2021.9677776.

Y. Li et al., “Integrated wearable smart sensor system for real-time multi-parameter respiration health monitoring,” Cell Reports Phys. Sci., vol. 4, no. 1, p. 101191, 2023, doi: https://doi.org/10.1016/j.xcrp.2022.101191.

K. Selvakumar et al., “Realtime PPG based respiration rate estimation for remote health monitoring applications,” Biomed. Signal Process. Control, vol. 77, p. 103746, 2022, doi: https://doi.org/10.1016/j.bspc.2022.103746.

F. Wu, “Clinical features and 1-year outcomes of variable obstruction in participants with preserved spirometry: Results from the ECOPD study in China,” BMJ Open Respir. Res, vol. 11, no. 1, doi: 10.1136/bmjresp-2023-002210.

Å. Athlin, “Diagnostic spirometry in COPD is increasing, a comparison of two Swedish cohorts,” npj Prim. Care Respir. Med, vol. 33, no. 1, doi: 10.1038/s41533-023-00345-8.

G. Y. G. S. AlOmani, A. D. S. Darwesh, S. A. J. M. AlSennei, H. A. M. A. Buabbas, A. F. M. A. AlGhareeb, and H. O. Ahmed, “Covid-19 Symptoms Monitoring Sensor Network for Isolation Rooms at Hospitals,” in 2022 IEEE 21st Mediterranean Electrotechnical Conference (MELECON), 2022, pp. 741–745. doi: 10.1109/MELECON53508.2022.9843095.

S. Zhang, S. Yang, and H. Yang, “Statistical Analysis of Spatial Network Characteristics in Relation to COVID-19 Transmission Risks in US Counties,” in 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 2021, pp. 2278–2281. doi: 10.1109/EMBC46164.2021.9629892.

Q. Xu et al., “A portable triboelectric spirometer for wireless pulmonary function monitoring,” Biosens. Bioelectron., vol. 187, no. April, p. 113329, 2021, doi: 10.1016/j.bios.2021.113329.

A. Verma, S. B. Amin, M. Naeem, and M. Saha, “Detecting COVID-19 from chest computed tomography scans using AI-driven android application,” Comput. Biol. Med., vol. 143, p. 105298, 2022, doi: https://doi.org/10.1016/j.compbiomed.2022.105298.

A. Das, S. Ambastha, S. Sen, and S. Samanta, “Wearable system for Real-time Remote Monitoring of Respiratory Rate during Covid-19 using Fiber Bragg Grating,” in 2020 IEEE 17th India Council International Conference (INDICON), 2020, pp. 1–4. doi: 10.1109/INDICON49873.2020.9342312.

S. N. Patrialova, M. S. Utami, and P. Budiman, “A Novel Feature of Smart Mask: Monitoring and Control System of Respiratory Conditions Using IoT for High-Activity-Person During New Normal Era,” in 2021 International Conference on Advanced Mechatronics, Intelligent Manufacture and Industrial Automation (ICAMIMIA), 2021, pp. 35–40. doi: 10.1109/ICAMIMIA54022.2021.9807770.

A. Narin, “Detection of Covid-19 Patients with Convolutional Neural Network Based Features on Multi-class X-ray Chest Images,” in 2020 Medical Technologies Congress (TIPTEKNO), 2020, pp. 1–4. doi: 10.1109/TIPTEKNO50054.2020.9299289.

D. B. Chamberlain, R. Kodgule, and R. R. Fletcher, “A mobile platform for automated screening of asthma and chronic obstructive pulmonary disease,” in 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), 2016, pp. 5192–5195. doi: 10.1109/EMBC.2016.7591897.

C. R. Khandhan and G. M. Kaviya, “Deep Learning Model for Chronic Obstructive Pulmonary Disease through Breathing Sound,” in 2023 4th International Conference on Electronics and Sustainable Communication Systems (ICESC), 2023, pp. 1514–1521. doi: 10.1109/ICESC57686.2023.10193372.

S. Sharma and Y. Hasija, “An Overview on Integration of Artificial Intelligence Tools to Predict the Nature of Chronic Obstructive Pulmonary Disease,” in 2023 5th International Conference on Inventive Research in Computing Applications (ICIRCA), 2023, pp. 84–89. doi: 10.1109/ICIRCA57980.2023.10220762.

A. A. Yaacob, N. A. Malik, and O. O. Khalifa, “Digital Spirometer with a Mobile Application for Asthmatic Patient,” in 2021 8th International Conference on Computer and Communication Engineering (ICCCE), 2021, pp. 27–31. doi: 10.1109/ICCCE50029.2021.9467250.

V. Koshta, B. K. Singh, A. K. Behera, and R. T. Ganga, “Classification of Asthma, COPD and Healthy Lung Sounds Using Fourier Bessel Series Expansion in Machine Learning and Deep Learning Paradigm,” in 2023 11th International Conference on Intelligent Systems and Embedded Design (ISED), 2023, pp. 1–6. doi: 10.1109/ISED59382.2023.10444569.

M. Al-Ghafran, F. Ahmadizadeh, A. Al-Naimi, K. Abualsaud, and E. Yaacoub, “Asthma Assessment Device for Pediatric Patients: A Proof of Concept,” in 2023 International Symposium on Networks, Computers and Communications (ISNCC), 2023, pp. 1–6. doi: 10.1109/ISNCC58260.2023.10323846.

W. AKBAR, W.-P. WU, M. FAHEEM, M. A. SALEEM, N. A. GOLILARZ, and A. U. HAQ, “Machine Learning Classifiers for Asthma Disease Prediction: A Practical Illustration,” in 2019 16th International Computer Conference on Wavelet Active Media Technology and Information Processing, 2019, pp. 143–148. doi: 10.1109/ICCWAMTIP47768.2019.9067616.

A. O. Popadina and Z. M. Yuldashev, “A System for Monitoring and Predicting the Deterioration of an Asthma Patient Based on Bayesian Networks,” in 2022 Conference of Russian Young Researchers in Electrical and Electronic Engineering (ElConRus), 2022, pp. 1560–1564. doi: 10.1109/ElConRus54750.2022.9755657.

Vatsal, S. Kumar, Riya, S. Rampal, M. Gaur, and M. Gaur, “Advanced Ensemble Learning Approach for Asthma Prediction: Optimization and Evaluation,” in 2024 International Conference on Automation and Computation (AUTOCOM), 2024, pp. 283–288. doi: 10.1109/AUTOCOM60220.2024.10486189.

I. Ferrer-Lluis, Y. Castillo-Escario, M. Glos, I. Fietze, T. Penzel, and R. Jané, “Sleep Apnea & Chronic Obstructive Pulmonary Disease: Overlap Syndrome Dynamics in Patients from an Epidemiological Study,” in 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 2021, pp. 5574–5577. doi: 10.1109/EMBC46164.2021.9630515.

T. Penzel, M. Glos, I. Fietze, S. Herberger, and G. Pillar, “Distinguish Obstructive and Central Sleep Apnea by Portable Peripheral Arterial Tonometry,” in 2020 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 2020, pp. 2780–2783. doi: 10.1109/EMBC44109.2020.9175700.

H. Sakamoto, H. Takamoto, T. Matsui, T. Kirimoto, and G. Sun, “A Non-contact Spirometer with Time-of-Flight Sensor for Assessment of Pulmonary Function,” in 2020 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC, pp. 4114–4117. doi: 10.1109/EMBC44109.2020.9176606.

J. Solà-Soler et al., “Respiratory Pattern Analysis for Different Breathing Types and Recording Sensors in Healthy Subjects,” in 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 2023, pp. 1–4. doi: 10.1109/EMBC40787.2023.10340144.

H. Sakamoto et al., “Design and Development of Smartphone-Enabled Spirometer With a Disease Classification System Using Convolutional Neural Network,” 2019 IEEE Conf. Russ. Young Res. Electr. Electron. Eng., vol. 69, no. 9, pp. 1–5, 2019, doi: 10.1109/TIM.2020.2977793.

A. S. Kazmina and V. K. Makukha, “Hardware Development for a Multifunctional Wireless Spirometer Module,” in 2019 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), 2019, pp. 1290–1294. doi: 10.1109/EIConRus.2019.8657001.

P. Chaaya, B. Sassiya, C. Ghnatios, and A. Kassem, “Automated Calibration Machine for Spirometers,” 2019 4th Int. Conf. Adv. Comput. Tools Eng. Appl. ACTEA 2019, pp. 1–5, 2019, doi: 10.1109/ACTEA.2019.8851069.

E. Priya, R. N., S. B.P, and P. S., “A portable spirometer using machine learning approach,” in 2022 International Conference on Power, Energy, Control and Transmission Systems (ICPECTS), 2022, pp. 1–4. doi: 10.1109/ICPECTS56089.2022.10046758.

A. A. Alqarni et al., “Spirometry profiles of overweight and obese individuals with unexplained dyspnea in Saudi Arabia,” Heliyon, vol. 10, no. 3, p. e24935, 2024, doi: 10.1016/j.heliyon.2024.e24935.

H. Choi, C. H. Oak, M. H. Jung, T. W. Jang, S. J. Nam, and T. Yoon, “Trend of prevalence and characteristics of preserved ratio impaired spirometry (PRISm): Nationwide population-based survey between 2010 and 2019,” PLoS One, vol. 19, no. 7 July, pp. 1–11, 2024, doi: 10.1371/journal.pone.0307302.

K. Bouti, J. Benamor, J. E. Bourkadi, and S. Hammi, “Reference Values for Spirometry in Moroccan Adults,” Cureus, vol. 16, no. 5, 2024, doi: 10.7759/cureus.61095.

S. Spalgais, S. R. Yadav, P. Mrigpuri, and R. Kumar, “Spirometry findings of chronic lung disease in high-altitude residents of Ladakh (>11000 feet above sea level),” Monaldi Arch. Chest Dis., 2024, doi: 10.4081/monaldi.2024.2937.

A. Alavi Foumani et al., “Quality of spirometry tests in the field of occupational health,” BMC Res. Notes, vol. 17, no. 1, pp. 1–6, 2024, doi: 10.1186/s13104-023-06671-x.

Z. Dai, “The prevalence and the quality of spirometry and the impact of spirometry training in Hunan , China,” 2022.

M. Ramesh, T. S. Rao, B. Deepak, C. Harsha, B. Teja, and J. R. F. Raj, “Advanced Spirometer Based Human Respiration Diagnosis,” in 2024 5th International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), 2024, pp. 480–484. doi: 10.1109/ICICV62344.2024.00081.

E. Loniza, A. C. Putri, and K. Chairunnisa, “Design of Lung Forced Vital Capacity Measuring Instrument with Flow Sensor,” in 2023 3rd International Conference on Electronic and Electrical Engineering and Intelligent System (ICE3IS), 2023, pp. 492–497. doi: 10.1109/ICE3IS59323.2023.10335291.

P. D. Muthusamy, K. Sundaraj, and N. A. Manap, “An Overview of Respiratory Airflow Estimation Techniques: Acoustic vs Non-Acoustic,” in 2019 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), 2019, pp. 149–153. doi: 10.1109/ICSIPA45851.2019.8977736.

Z. Guo, T. Zhang, F. Zhou, and F. Yu, “Design and Experiments for a Kind of Capacitive Type Sensor Measuring Air Flow and Pressure Differential,” IEEE Access, vol. 7, pp. 108980–108989, 2019, doi: 10.1109/ACCESS.2019.2933485.

S. Barth et al., “Feasibility and acceptability of remotely monitoring spirometry and pulse oximetry as part of interstitial lung disease clinical care: a single arm observational study,” Respir. Res., vol. 25, no. 1, pp. 1–11, 2024, doi: 10.1186/s12931-024-02787-1.

N. Wellmann et al., “Enhancing Adult Asthma Management: A Review on the Utility of Remote Home Spirometry and Mobile Applications,” J. Pers. Med., vol. 14, no. 8, 2024, doi: 10.3390/jpm14080852.

O. Taiwo and A. E. Ezugwu, “Smart healthcare support for remote patient monitoring during covid-19 quarantine,” Informatics Med. Unlocked, vol. 20, p. 100428, 2020, doi: https://doi.org/10.1016/j.imu.2020.100428.

J. Kocks and J. Muris, “Feasibility , quality and added value of unsupervised at-home spirometry in primary care”.

Ł. Kołtowski et al., “Remotely supervised spirometry versus laboratory-based spirometry during the COVID-19 pandemic: a retrospective analysis,” Respir. Res., vol. 25, no. 1, pp. 1–8, 2024, doi: 10.1186/s12931-023-02586-0.

A. Berlinski, P. Leisenring, L. Willis, and S. King, “Home Spirometry in Children with Cystic Fibrosis,” Bioengineering, vol. 10, no. 2, 2023, doi: 10.3390/bioengineering10020242.

R. Anand et al., “Unsupervised home spirometry versus supervised clinic spirometry for respiratory disease: a systematic methodology review and meta-analysis,” Eur. Respir. Rev., vol. 32, no. 169, 2023, doi: 10.1183/16000617.0248-2022.

M. Y. Kameneva, “Spirometry: how to evaluate the results?,” Bull. Physiol. Pathol. Respir., no. 83, pp. 91–99, 2022, doi: 10.36604/1998-5029-2022-83-91-99.

J. Oppenheimer et al., “Clinic vs Home Spirometry for Monitoring Lung Function in Patients With Asthma,” Chest, vol. 164, no. 5, pp. 1087–1096, 2023, doi: 10.1016/j.chest.2023.06.029.

J.-Y. Kim et al., “New Unobtrusive Tidal Volume Monitoring System Using Channel State Information in Wi-Fi Signal: Preliminary Result,” IEEE Sens. J., vol. 21, no. 3, pp. 3810–3821, 2021, doi: 10.1109/JSEN.2020.3023178.

J. D. Gilbey, “Measurement of gas flow and volume,” Anaesth. Intensive Care Med., vol. 24, no. 12, pp. 776–780, 2023, doi: https://doi.org/10.1016/j.mpaic.2023.09.016.

M. A. Márquez-Vera, M. Martínez-Quezada, R. Calderón-Suárez, A. Rodríguez, and R. M. Ortega-Mendoza, “Microcontrollers programming for control and automation in undergraduate biotechnology engineering education,” Digit. Chem. Eng., vol. 9, no. July, p. 100122, 2023, doi: 10.1016/j.dche.2023.100122.

A. Abu Sneineh and A. A. A. Shabaneh, “Design of a smart hydroponics monitoring system using an ESP32 microcontroller and the Internet of Things,” MethodsX, vol. 11, no. September, p. 102401, 2023, doi: 10.1016/j.mex.2023.102401.

M. J. Espinosa-Gavira, A. Agüera-Pérez, J. C. Palomares-Salas, J. M. Sierra-Fernandez, P. Remigio-Carmona, and J. J. González de-La-Rosa, “Characterization and Performance Evaluation of ESP32 for Real-time Synchronized Sensor Networks,” Procedia Comput. Sci., vol. 237, no. 2022, pp. 261–268, 2024, doi: 10.1016/j.procs.2024.05.104.

V. B. Vales, O. C. Fernández, T. Domínguez-Bolaño, C. J. Escudero, and J. A. García-Naya, “Fine Time Measurement for the Internet of Things: A Practical Approach Using ESP32,” IEEE Internet Things J., vol. 9, no. 19, pp. 18305–18318, 2022, doi: 10.1109/JIOT.2022.3158701.


Dimensions, PlumX, and Google Scholar Metrics

10.33650/jeecom.v8i2.17038


Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Ekha Rifki Fauzi, Muhammad Ridha Mak’ruf, Andjar Pudji

 
This work is licensed under a Creative Commons Attribution License (CC BY-SA 4.0)

Journal of Electrical Engineering and Computer (JEECOM)
Published by LP3M Nurul Jadid University, Indonesia, Probolinggo, East Java, Indonesia.