Air Quality Classification System using Random Forest Algorithm using MQ-7 and MQ-135 Sensors with IoT-based

Aisyah Aira Putri Maharani, Rizky Hamdani Sakti, Muhamad Fajar Imanul Haq, Muhamad Ajis, Abdu Malikh Silaban

Abstract


Air is one of the essential elements in human life besides water and soil. However, currently the air quality in Indonesia is getting worse. Therefore, an air quality classification system using Random Forest algorithm based on CO and CO2 levels using IoT-based MQ7 and MQ13 sensors is needed as a smart solution. The workflow of this system begins with detecting air quality using the MQ-7 sensor for CO gas and the MQ-135 sensor for CO2 gas. Then, the classification process is carried out with the Machine Learning Random Forest algorithm by utilizing a number of training data that has been stored in the program to classify the gas sensor detection results into three types of classes, namely “Good”, “Bad”, or “Toxic”. The final output of this system is a website display that can be accessed on a PC/Laptop monitor in real time. From the results of the Random Forest machine learning algorithm classification testing process, 1 unsuitable data was found from a total of 100 trials that have been carried out. Therefore, the Random Forest machine learning algorithm can be said to be successful in detecting air levels in the surrounding environment well because it provides an accuracy value of 99%.

Keywords


Air Quality Classification; Random Forest; MQ-7 Sensors;Mq-135 Sensors

Full Text:

PDF

References


I. Manisalidis, E. Stavropoulou, A. Stavropoulos, and E. Bezirtzoglou, “Environmental and Health Impacts of Air Pollution: A Review,” Front. Public Heal., vol. 8, no. February, pp. 1–13, 2020, doi: 10.3389/fpubh.2020.00014.

M. Szabados et al., “Indoor air quality and the associated health risk in primary school buildings in Central Europe – The InAirQ study,” Indoor Air, vol. 31, no. 4, pp. 989–1003, 2021, doi: 10.1111/ina.12802.

B. Sidabutar, E. Kurniati, and K. Adelia, “Evaluasi Kualitas Udara

Emisi Gas Buang/Ambien di PLTD Kahayan Baru,” J. Phys. It’s Appl., vol. 3, no. 1, pp. 226–230, 2023.

A. A. Rosa, B. A. Simon, and K. S. Lieanto, “Sistem Pendeteksi Pencemaran Udara Portabel Menggunakan Sensor MQ-7 dan MQ-135,” Ultim. Comput. J. Sist. Komput., vol. 12, no. 1, pp. 23–28, 2020, doi: 10.31937/sk.v12i1.1611.

J. Saini, M. Dutta, and G. Marques, “A comprehensive review on indoor air quality monitoring systems for enhanced public health,” Sustain. Environ. Res., vol. 30, no. 1, pp. 1–12, 2020, doi: 10.1186/s42834-020-0047-y.

D. Singh, M. Dahiya, R. Kumar, and C. Nanda, “Sensors and systems for air quality assessment monitoring and management: A review,” J. Environ. Manage., vol. 289, no. November 2020, p. 112510, 2021, doi: 10.1016/j.jenvman.2021.112510.

A. Albertraj and J. Vijila, “Design of Indoor Air Quality Monitoring System to Ensure a Healthy Universe,” in Proceedings - International Conference on Smart Electronics and Communication, ICOSEC 2020, 2020, pp. 1123–1127. doi: 10.1109/ICOSEC49089.2020.9215297.

U. Rahardja, Q. Aini, D. Manongga, I. Sembiring, and I. D. Girinzio, “Implementation of Tensor Flow in Air Quality Monitoring Based on Artificial Intelligence,” Int. J. Artif. Intell. Res., vol. 6, no. 1, pp. 2579–7298, 2023, doi: 10.29099/ijair.v6i1.430.

M. Rogulski and A. Badyda, “Current trends in network based air quality monitoring systems,” in IOP Conference Series: Earth and Environmental Science, 2019. doi: 10.1088/1755-1315/214/1/012085.

G. Marques, C. R. Ferreira, and R. Pitarma, “Indoor Air Quality Assessment Using a CO 2 Monitoring System Based on Internet of Things,” J. Med. Syst., vol. 43, no. 3, 2019, doi: 10.1007/s10916-019-1184-x.

J. Buelvas, D. Múnera, D. P. Tobón V, J. Aguirre, and N. Gaviria, “Data Quality in IoT-Based Air Quality Monitoring Systems: a Systematic Mapping Study,” Water. Air. Soil Pollut., vol. 234, no. 4, 2023, doi: 10.1007/s11270-023-06127-9.

J. Jo, B. Jo, J. Kim, S. Kim, and W. Han, “Development of an IoT-Based indoor air quality monitoring platform,” J. Sensors, vol. 2020, pp. 13–15, 2020, doi: 10.1155/2020/8749764.




DOI: https://doi.org/10.17509/jmai.v1i2.75591

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.