Design and Development of an IoT-based Pulmonary Function and Oxygen Saturation Measurement Device

  • Sari Lutfiyah Department of Electromedical Engineering, Poltekkes Kemenkes Surabaya, Surabaya, Indonesia
  • Rahmadika Eka Yuwana Department of Medical Electronic Engineering Technology, Health Polytechnic Surabaya
  • Her Gumiwang Ariswati Department of Electromedical Engineering, Poltekkes Kemenkes Surabaya, Surabaya, Indonesia
Keywords: Spirometry, Pulmonary Function, FVC, FEV1, ESP32, Application, Kodular


Health information technology plays a crucial role in managing the healthcare of patients and their families during illness. One of the frequently encountered diseases is Asthma, a chronic inflammatory disorder of the respiratory tract that is reversible and fluctuating, capable of causing exacerbations with mild to severe symptoms and even death. The objective of this research is to develop a device to facilitate the monitoring and input of data regarding pulmonary volume measurements (spirometry) and biosignals (SpO2). The sensors used for measuring pulmonary volume are the flow turbine sensor, while the SpO2 sensor used is the MAX30102. The data obtained from the sensor measurements will be processed on the ESP32. A health monitoring application is created using Kodular software, which incorporates a MySQL database for data storage. Furthermore, the examination results can be accessed through an Android application on a tablet or smartphone. The results obtained from this research indicate an error value of 8.78% for FVC, 14% for FEV1, and a FEV1/FVC ratio of 4.6%, with zero data loss. It is expected that the spirometer with Internet of Things (IoT) capabilities will be implemented, as monitoring can be easily conducted anywhere. The portable design will facilitate future examinations.


Download data is not yet available.


Y. Chen, “Interpretation of Global Strategy for the Diagnosis, Treatment, Management and Prevention of Chronic Obstructive Pulmonary Disease 2022 Report,” Chinese General Practice, vol. 25, no. 11. 2022, doi: 10.12114/j.issn.1007-9572.2022.01.302.

L. Pembrey et al., “Asthma inflammatory phenotypes on four continents: most asthma is non-eosinophilic,” Int. J. Epidemiol., no. August 2022, pp. 611–623, 2022, doi: 10.1093/ije/dyac173.

R. Kwizera et al., “Burden of fungal asthma in Africa: A systematic review and meta-analysis,” PLoS One, vol. 14, no. 5, pp. 1–17, 2019, doi: 10.1371/journal.pone.0216568.

C. C. M. De Jong et al., “Diagnosis of asthma in children: The contribution of a detailed history and test results,” Eur. Respir. J., vol. 54, no. 6, 2019, doi: 10.1183/13993003.01326-2019.

B. S. Stikker, R. W. Hendriks, and R. Stadhouders, “Decoding the genetic and epigenetic basis of asthma,” Allergy Eur. J. Allergy Clin. Immunol., no. October 2022, pp. 940–956, 2023, doi: 10.1111/all.15666.

A. da S. Fleck, M. L. Sadoine, S. Buteau, E. Suarthana, M. Debia, and A. Smargiassi, “Environmental and occupational short-term exposure to airborne particles and fev1 and fvc in healthy adults: A systematic review and meta-analysis,” Int. J. Environ. Res. Public Health, vol. 18, no. 20, 2021, doi: 10.3390/ijerph182010571.

J. M. Haynes, “Basic spirometry testing and interpretation for the primary care provider,” Can. J. Respir. Ther., vol. 54, no. 4, pp. 92–98, 2018, doi: 10.29390/cjrt-2018-017.

A. Kaur, C. V. Kalyani, and Kusum K, “Effect of Incentive Spirometry on Recovery of Post-Operative Patients: Pre Experimental Study,” J. Nurs. Pract., vol. 3, no. 2, pp. 220–225, 2020, doi: 10.30994/jnp.v3i2.90.

W. Y. Leong et al., “Reference equations for evaluation of spirometry function tests in South Asia, and among South Asians living in other countries,” Eur. Respir. J., vol. 60, no. 6, 2022, doi: 10.1183/13993003.02962-2021.

B. Knox-Brown, O. Mulhern, and A. F. S. Amaral, “Spirometry parameters used to define small airways obstruction in population-based studies: Systematic review protocol,” BMJ Open, vol. 11, no. 10, pp. 1–5, 2021, doi: 10.1136/bmjopen-2021-052931.

Lia andriani, Priyambada Cahya Nugraha, and Sari Lutfiah, “Portable Spirometer for Measuring Lung Function Health (FVC and FEV1),” J. Electron. Electromed. Eng. Med. Informatics, vol. 1, no. 1, pp. 16–20, Jul. 2019, doi: 10.35882/jeeemi.v1i1.4.

L. M. Li Kharis, A. Pudji, and P. C. Nugraha, “Development Portable Spirometer using MPXV7002DP Sensor and TFT Display for Lung Disease Detection.,” Indones. J. Electron. Electromed. Eng. Med. informatics, vol. 2, no. 3, pp. 122–129, Nov. 2020, doi: 10.35882/ijeeemi.v2i3.3.

S. N. Ibrahim, A. Z. Jusoh, N. A. Malik, and S. Mazalan, “Development of portable digital spirometer using NI sbRIO,” in 2017 IEEE 4th International Conference on Smart Instrumentation, Measurement and Application (ICSIMA), Nov. 2017, vol. 1, no. January, pp. 1–4, doi: 10.1109/ICSIMA.2017.8311987.

A. Panahi, A. Hassanzadeh, and A. Moulavi, “Design of a low cost, double triangle, piezoelectric sensor for respiratory monitoring applications,” Sens. Bio-Sensing Res., vol. 30, p. 100378, Dec. 2020, doi: 10.1016/j.sbsr.2020.100378.

S. Gupta, P. Chang, N. Anyigbo, and A. Sabharwal, “mobileSpiro,” in Proceedings of the First ACM Workshop on Mobile Systems, Applications, and Services for Healthcare - mHealthSys ’11, 2011, p. 1, doi: 10.1145/2064942.2064944.

Y. S. Parihar, “Internet of Things and NodeMCU,” Jetir, vol. 6, no. 6, pp. 1085–1088, 2019.

P. H. Quanjer, G. L. Hall, S. Stanojevic, T. J. Cole, and J. Stocks, “Age- and height-based prediction bias in spirometry reference equations,” Eur. Respir. J., vol. 40, no. 1, pp. 190–197, 2012, doi: 10.1183/09031936.00161011.

I. Satia et al., “Exercise-induced bronchoconstriction and bronchodilation: Investigating the effects of age, sex, airflow limitation and FEV1,” Eur. Respir. J., vol. 58, no. 2, pp. 1–10, 2021, doi: 10.1183/13993003.04026-2020.

M. F. Lutfi, “The physiological basis and clinical significance of lung volume measurements,” Multidiscip. Respir. Med., vol. 12, no. 1, p. 3, Dec. 2017, doi: 10.1186/s40248-017-0084-5.

A. Maier, A. Sharp, and V. Yuriy, “Comparative Analysis and Practical Implementation of the ESP32 Microcontroller Module for the Internet of Things,” 2017 Internet Technol. Appl., pp. 143–148, 2014.

Andreas, C. R. Aldawira, H. W. Putra, N. Hanafiah, S. Surjarwo, and A. Wibisurya, “Door security system for home monitoring based on ESp32,” Procedia Comput. Sci., vol. 157, pp. 673–682, 2019, doi: 10.1016/j.procs.2019.08.218.

A. F. Pauzi and M. Z. Hasan, “Development of IoT Based Weather Reporting System,” IOP Conf. Ser. Mater. Sci. Eng., vol. 917, no. 1, 2020, doi: 10.1088/1757-899X/917/1/012032.

M. R. Syarlisjiswan, Sukarmin, and D. Wahyuningsih, “The development of e-modules using Kodular software with problem-based learning models in momentum and impulse material,” IOP Conf. Ser. Earth Environ. Sci., vol. 1796, no. 1, 2021, doi: 10.1088/1742-6596/1796/1/012078.

K. Gupta, N. Jiwani, M. H. U. Sharif, M. A. Mohammed, and N. Afreen, “Smart Door Locking System Using IoT,” 2022 Int. Conf. Adv. Comput. Commun. Mater. ICACCM 2022, no. May, pp. 3090–3094, 2022, doi: 10.1109/ICACCM56405.2022.10009534.

L. R. Camargo, J. R. Flórez, and O. D. Hurtado, “Kodular: A Tool For Teaching Programming And Microcontrollers,” J. Lang. Linguist. Stud., vol. 18, no. 4, pp. 1186–1196, 2022, [Online]. Available: www.jlls.orgorcid:

How to Cite
S. Lutfiyah, R. E. Yuwana, and H. G. Ariswati, “Design and Development of an IoT-based Pulmonary Function and Oxygen Saturation Measurement Device ”,, vol. 6, no. 1, pp. 34-42, Feb. 2024.
Research Article