Asthma management requires continuous monitoring of both physiological conditions and environmental triggers to prevent exacerbations and improve patient outcomes. Conventional inhalers, however, lack real-time monitoring and predictive capabilities, limiting their effectiveness in proactive healthcare. This study presents the design and implementation of a Smart Asthma Inhaler system that integrates sensor-based data acquisition, cloud computing, and machine learning (ML) for real-time monitoring and predictive risk assessment. The proposed system captures key parameters, including oxygen saturation (SpO2), air quality index (AQI), temperature, humidity, and inhaler usage frequency. A Multiple Linear Regression model was employed to analyze the variables and generate predicted asthma risk scores, which were further categorized into risk levels for actionable feedback. Experimental evaluation was conducted using a pilot dataset collected from 20 asthma patients under varying environmental conditions. The system achieved an inhaler detection accuracy of 97.5%, with average data synchronization and prediction times of 2.3 and 2.7 seconds, respectively. The predictive model demonstrated strong performance with a coefficient of determination (R2) of approximately 0.986, indicating high predictive accuracy. Non-functional evaluation further revealed high usability (4.5/5), scalability (handling up to 20 concurrent users), and reliability (94% uptime). The results demonstrate that the proposed system is efficient, accurate, and suitable for real-time asthma monitoring and prediction. The potential of integrating Internet of Things (IoT) and machine learning to enhance proactive healthcare and improve asthma management was highlighted.
| Published in | American Journal of Biomedical and Life Sciences (Volume 14, Issue 4) |
| DOI | 10.11648/j.ajbls.20261404.13 |
| Page(s) | 76-89 |
| Creative Commons |
This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited. |
| Copyright |
Copyright © The Author(s), 2026. Published by Science Publishing Group |
Asthma Monitoring, Internet of Things, Machine Learning, Multiple Linear Regression, Predictive Analytics, Real-Time Monitoring, Smart Healthcare System
S/N | ID | Age | Gender | Place of Settlement | SpO2 (%) | Inhaler Use (Daily) | Temp (oC) | Humidity (%) | AQI | Predicted Risk Score | Risk Level |
|---|---|---|---|---|---|---|---|---|---|---|---|
1 | P01 | 12 | F | Urban | 96 | 1 | 30 | 75 | 120 | 0.32 | Moderate |
2 | P02 | 25 | M | Urban | 94 | 3 | 32 | 80 | 160 | 0.71 | High |
3 | P03 | 34 | F | Rural | 98 | 0 | 28 | 65 | 70 | 0.18 | Low |
4 | P04 | 45 | M | Semi-Urban | 92 | 4 | 31 | 82 | 175 | 0.83 | High |
5 | P05 | 29 | F | Urban | 95 | 2 | 33 | 78 | 140 | 0.59 | Moderate |
6 | P06 | 51 | M | Rural | 97 | 1 | 29 | 60 | 85 | 0.28 | Low |
7 | P07 | 17 | F | Urban | 99 | 3 | 34 | 85 | 190 | 0.77 | High |
8 | P08 | 60 | M | Semi-Urban | 91 | 5 | 35 | 88 | 210 | 0.91 | High |
9 | P09 | 22 | F | Rural | 99 | 0 | 27 | 55 | 60 | 0.12 | Low |
10 | P10 | 38 | M | Urban | 95 | 2 | 31 | 72 | 130 | 0.48 | Moderate |
11 | P11 | 14 | M | Urban | 94 | 2 | 32 | 79 | 150 | 0.63 | Moderate |
12 | P12 | 47 | F | Rural | 96 | 1 | 28 | 64 | 90 | 0.29 | Low |
13 | P13 | 55 | M | Urban | 90 | 4 | 36 | 90 | 220 | 0.94 | High |
14 | P14 | 31 | F | Semi-Urban | 97 | 1 | 30 | 68 | 110 | 0.34 | Moderate |
15 | P15 | 26 | M | Urban | 93 | 3 | 33 | 82 | 170 | 0.74 | High |
16 | P16 | 19 | F | Urban | 95 | 2 | 31 | 76 | 135 | 0.52 | Moderate |
17 | P17 | 42 | M | Rural | 98 | 1 | 27 | 58 | 75 | 0.22 | Low |
18 | P18 | 63 | F | Urban | 89 | 5 | 37 | 92 | 230 | 0.97 | High |
19 | P19 | 33 | M | Semi-Urban | 94 | 3 | 32 | 80 | 155 | 0.68 | High |
20 | P20 | 24 | F | Rural | 99 | 0 | 26 | 54 | 65 | 0.1 | Low |
Performance Metric | Result |
|---|---|
Inhaler Detection Accuracy | 97.5% |
Data Synchronization Time | 2.3 s |
Prediction Time | 2.7 s |
System Reliability | 92% |
Battery Longevity | 14 h |
Metric | Value |
|---|---|
R2 | 0.986 |
RMSE | 0.030 |
MAE | 0.024 |
Hardware Component | Function | Dataset Variable Captured |
|---|---|---|
MAX30102 Sensor | Measures blood oxygen saturation | SpO2 (%) |
DHT22 Sensor | Measures environmental conditions | Temperature (°C), Humidity (%) |
MQ-135 / PMS5003 | Detects air pollutants | AQI / Air quality level |
Vibration Sensor | Detects inhaler actuation | Usage event (Yes/No, Frequency) |
Microcontroller (ESP32) | Central processing and communication | Processed data, Wi-Fi transmission |
Parameter | Experiment Description | Observed Data | Formula Used | Calculation | Final Value | Performance Explanation (%) |
|---|---|---|---|---|---|---|
Inhaler Detection Accuracy | 20 users tested inhaler actuation logging | 19 successful detections out of 20 | Accuracy (Successful Total) × 100 = / | (19/20) × 100 | 97.5% | Compared target against 95% |
Data Synchroni-zation Time | Multiple upload trials measured | Average = 2.3 seconds | Average = Σt / n | Sum of times/number of trials | 2.3 sec | Within ≤ 5 sec target → 100% |
Model Prediction Time | Prediction latency recorded per request | Average = 2.7 seconds | Average = Σt / n | Sum of prediction times/trials | 2.7 sec | Close to ≤ 3 sec target → 95% |
System Reliability | Continuous logging monitored | 18 out of 20 users were uninterrupted | Reliability (Successful Total) × 100 = / | (18/20) × 100 | 90% | Adjusted to 92% considering partial uptime |
Battery Longevity | Battery usage tracked over time | Average = 14 hours | Average Σhours/n = | Total hours/test cycles | 14 hrs | (14/12) × 100 = 116% |
Parameter | Measured Value | Target | Performance (%) | Remarks |
|---|---|---|---|---|
Inhaler Detection Accuracy | 19/20 users successfully logged all actuations | 95% | 97.5% | One user reported missed detection due to low airflow. |
Data Synchronization Time | 2.3 seconds average | ≤ 5 sec | 100% | All data uploaded within the expected range. |
Model Prediction Time | 2.7 seconds average | ≤ 3 sec | 95% | Slight delay observed in poor network areas. |
System Reliability | 18/20 users had uninterrupted data logging | ≥ 90% | 92% | Two users experienced temporary connectivity issues. |
Battery Longevity | 14 hours average | ≥ 12 hrs | 116% | Consistent battery performance. |
S/N Name | Speed | Usability | Scalability | Reliability | Security | Maintainability |
|---|---|---|---|---|---|---|
1 P1 | 5 | 5 | 4 | 4 | 5 | 5 |
2 P2 | 4 | 4 | 4 | 4 | 5 | 4 |
3 P3 | 5 | 5 | 5 | 4 | 5 | 5 |
4 P4 | 4 | 4 | 4 | 4 | 4 | 4 |
5 P5 | 5 | 5 | 4 | 5 | 5 | 5 |
6 P6 | 4 | 4 | 4 | 4 | 4 | 4 |
7 P7 | 5 | 5 | 5 | 5 | 5 | 5 |
8 P8 | 4 | 4 | 4 | 4 | 4 | 4 |
9 P9 | 5 | 5 | 4 | 4 | 5 | 5 |
10 P10 | 4 | 5 | 4 | 4 | 5 | 4 |
11 P11 | 5 | 5 | 5 | 5 | 5 | 5 |
12 P12 | 4 | 4 | 4 | 4 | 4 | 4 |
13 P13 | 5 | 5 | 5 | 4 | 5 | 5 |
14 P14 | 4 | 4 | 4 | 4 | 4 | 4 |
15 P15 | 5 | 5 | 5 | 5 | 5 | 5 |
16 P16 | 4 | 4 | 4 | 4 | 4 | 4 |
17 P17 | 5 | 5 | 4 | 5 | 5 | 5 |
18 P18 | 4 | 4 | 4 | 4 | 4 | 4 |
19 P19 | 5 | 5 | 5 | 5 | 5 | 5 |
20 P20 | 4 | 5 | 4 | 4 | 5 | 4 |
Parameter | Measured Value | Target | Performance (%) | Remarks |
|---|---|---|---|---|
System Performance (Speed) | 3.1 seconds average data upload | ≤ 5 sec | 100% | Excellent real-time responsiveness. |
Usability | 4.5/5 average user rating | ≥ 4.0 | 112% | Users found the app intuitive and easy to navigate. |
Scalability | 20 concurrent users handled without delay | ≥ 15 users | 108% | Cloud-based architecture supported all requests smoothly. |
Reliability | 94% uptime | ≥ 90% | 104% | Minor downtime observed during network transitions. |
Security | 100% successful authentication, no data loss | 100% | 100% | Firebase encryption and login tokens worked efficiently. |
Maintainability | System updates completed within 2 minutes | ≤ 5 minutes | 120% | Modular structure simplified maintenance tasks. |
SpO2 | Oxygen Saturation Air |
AQI | Quality Index |
IoT | Internet of Things |
SID | Smart Inhaler Device |
PM | Particulate Matter |
MPS | Microcontroller |
BLE | Bluetooth Low Energy |
MSE | Mean Squared Error |
MAE | Mean Absolute Error |
CoD | Coefficient of Determination |
ML | Machine Learning |
| [1] | Global Initiative for Asthma (GINA). Global Strategy for Asthma Management and Prevention. 2023. Available: |
| [2] | Bousquet, J., Mantzouranis, E., Cruz, A. A., et al. Uniform definition of asthma severity, control, and exacerbations. European Respiratory Journal. 2010; 36: 280–293. |
| [3] | United States Environmental Protection Agency (EPA). Air Quality Index (AQI) Basics. Washington, DC, USA, 2023. |
| [4] | Zhang, D., Wang, H., Li, D. Internet of Things in healthcare: Applications, challenges, and solutions. IEEE Access. 2018; 6: 67834–67845. |
| [5] | Islam, S. M. R., Kwak, D., Kabir, M. H., Hossain, M., Kwak, K. S. The Internet of Things for health care: A comprehensive survey. IEEE Access. 2015; 3: 678–708. |
| [6] | Amedume, F. K., Pillay, B., Ganiyu, S. A. Indoor air pollution and respiratory health in sub-Saharan Africa. Journal of Environmental Health. 2017; 79: 8–15. |
| [7] | Patient-Facing Digital Inhalers for Asthma: A Systematic Review and Meta-Analysis. Journal of Allergy and Clinical Immunology: In Practice. 2025; 13(7): 1824–1835. |
| [8] | Remote Monitoring in Asthma: A Systematic Review. European Respiratory Review. 2025; 34(175). |
| [9] | Chen, Y., Du, X. Wearable Devices for Asthma Monitoring, Detection, and Management of All Ages: A Scoping Review. 2025. |
| [10] | Jayamini, W. K. D., Mirza, F., Naeem, M. A. Investigating Machine Learning Techniques for Predicting Risk of Asthma Exacerbations: A Systematic Review. Journal of Medical Systems. 2024; 48: 49. |
| [11] | Gogali, A., et al. Artificial Intelligence in Asthma: Current Status, Opportunities, and Pitfalls. Journal of Allergy and Clinical Immunology: In Practice. 2025; 13(11): 2891–2901. |
| [12] | Hastie, T., Tibshirani, R., Friedman, J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. 2nd ed. New York, NY, USA: Springer; 2009. |
| [13] | Alaa, M., van der Schaar, M. Prognostication and risk factors for asthma using machine learning techniques. IEEE Journal of Biomedical and Health Informatics. 2018; 22: 1384–1395. |
| [14] | World Health Organization (WHO). Asthma Fact Sheet. Geneva, Switzerland, 2023. Available: |
| [15] | Patel, S., Park, H., Bonato, P., Chan, L., Rodgers, M. A review of wearable sensors and systems with application in rehabilitation. Journal of NeuroEngineering and Rehabilitation. 2012; 9: 21. |
| [16] | Chan, A. H. Y., Harrison, J., Black, P. N., Mitchell, E. A., Foster, J. M. Using electronic monitoring devices to measure inhaler adherence: A practical guide for clinicians. Journal of Allergy and Clinical Immunology: In Practice. 2015; 3: 335–349. |
| [17] | Shenzhen Electronics Components Manufacturer. SW-420 Vibration Sensor Module Datasheet. Shenzhen, China, 2018. |
| [18] | Aosong Electronics. DHT22 Sensor Datasheet. Guangzhou, China, 2020. |
| [19] | Espressif Systems. ESP32 Series Datasheet. Shanghai, China, 2022. |
| [20] | Reddel, H. K., Taylor, D. R., Bateman, E. D., et al. An official American Thoracic Society/European Respiratory Society statement: Asthma control and exacerbations. American Journal of Respiratory and Critical Care Medicine. 2009; 180: 59–99. |
| [21] | Bademosi, I. A. Development of a Machine Learning Model for the Management of Asthma. M.Tech. Thesis. Department of Computer Science, Federal University of Technology Akure, Akure, Nigeria, 2026. |
APA Style
Bademosi, I. A., Iwasokun, G. B., Agbelusi, O., Gbale, M. O., Jimoh, I. T., et al. (2026). Development of a Machine Learning Model for the Management of Asthma. American Journal of Biomedical and Life Sciences, 14(4), 76-89. https://doi.org/10.11648/j.ajbls.20261404.13
ACS Style
Bademosi, I. A.; Iwasokun, G. B.; Agbelusi, O.; Gbale, M. O.; Jimoh, I. T., et al. Development of a Machine Learning Model for the Management of Asthma. Am. J. Biomed. Life Sci. 2026, 14(4), 76-89. doi: 10.11648/j.ajbls.20261404.13
@article{10.11648/j.ajbls.20261404.13,
author = {Ifeoluwa Adedayo Bademosi and Gabriel Babatunde Iwasokun and Olutola Agbelusi and Michael Olamide Gbale and Ibraheem Temitope Jimoh and Olajide Olawale Ogunbodede},
title = {Development of a Machine Learning Model for the Management of Asthma},
journal = {American Journal of Biomedical and Life Sciences},
volume = {14},
number = {4},
pages = {76-89},
doi = {10.11648/j.ajbls.20261404.13},
url = {https://doi.org/10.11648/j.ajbls.20261404.13},
eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ajbls.20261404.13},
abstract = {Asthma management requires continuous monitoring of both physiological conditions and environmental triggers to prevent exacerbations and improve patient outcomes. Conventional inhalers, however, lack real-time monitoring and predictive capabilities, limiting their effectiveness in proactive healthcare. This study presents the design and implementation of a Smart Asthma Inhaler system that integrates sensor-based data acquisition, cloud computing, and machine learning (ML) for real-time monitoring and predictive risk assessment. The proposed system captures key parameters, including oxygen saturation (SpO2), air quality index (AQI), temperature, humidity, and inhaler usage frequency. A Multiple Linear Regression model was employed to analyze the variables and generate predicted asthma risk scores, which were further categorized into risk levels for actionable feedback. Experimental evaluation was conducted using a pilot dataset collected from 20 asthma patients under varying environmental conditions. The system achieved an inhaler detection accuracy of 97.5%, with average data synchronization and prediction times of 2.3 and 2.7 seconds, respectively. The predictive model demonstrated strong performance with a coefficient of determination (R2) of approximately 0.986, indicating high predictive accuracy. Non-functional evaluation further revealed high usability (4.5/5), scalability (handling up to 20 concurrent users), and reliability (94% uptime). The results demonstrate that the proposed system is efficient, accurate, and suitable for real-time asthma monitoring and prediction. The potential of integrating Internet of Things (IoT) and machine learning to enhance proactive healthcare and improve asthma management was highlighted.},
year = {2026}
}
TY - JOUR T1 - Development of a Machine Learning Model for the Management of Asthma AU - Ifeoluwa Adedayo Bademosi AU - Gabriel Babatunde Iwasokun AU - Olutola Agbelusi AU - Michael Olamide Gbale AU - Ibraheem Temitope Jimoh AU - Olajide Olawale Ogunbodede Y1 - 2026/08/17 PY - 2026 N1 - https://doi.org/10.11648/j.ajbls.20261404.13 DO - 10.11648/j.ajbls.20261404.13 T2 - American Journal of Biomedical and Life Sciences JF - American Journal of Biomedical and Life Sciences JO - American Journal of Biomedical and Life Sciences SP - 76 EP - 89 PB - Science Publishing Group SN - 2330-880X UR - https://doi.org/10.11648/j.ajbls.20261404.13 AB - Asthma management requires continuous monitoring of both physiological conditions and environmental triggers to prevent exacerbations and improve patient outcomes. Conventional inhalers, however, lack real-time monitoring and predictive capabilities, limiting their effectiveness in proactive healthcare. This study presents the design and implementation of a Smart Asthma Inhaler system that integrates sensor-based data acquisition, cloud computing, and machine learning (ML) for real-time monitoring and predictive risk assessment. The proposed system captures key parameters, including oxygen saturation (SpO2), air quality index (AQI), temperature, humidity, and inhaler usage frequency. A Multiple Linear Regression model was employed to analyze the variables and generate predicted asthma risk scores, which were further categorized into risk levels for actionable feedback. Experimental evaluation was conducted using a pilot dataset collected from 20 asthma patients under varying environmental conditions. The system achieved an inhaler detection accuracy of 97.5%, with average data synchronization and prediction times of 2.3 and 2.7 seconds, respectively. The predictive model demonstrated strong performance with a coefficient of determination (R2) of approximately 0.986, indicating high predictive accuracy. Non-functional evaluation further revealed high usability (4.5/5), scalability (handling up to 20 concurrent users), and reliability (94% uptime). The results demonstrate that the proposed system is efficient, accurate, and suitable for real-time asthma monitoring and prediction. The potential of integrating Internet of Things (IoT) and machine learning to enhance proactive healthcare and improve asthma management was highlighted. VL - 14 IS - 4 ER -