Smart Biogas Control for Communities Using Gaussian Naïve Bayes

Authors

  • Mochammad Junus State of Polytechnic Malang
  • Koesmarjanto
  • Ria Amanda Salsabella State Polytechnic of Malang, Indonesia

DOI:

https://doi.org/10.21776/jeeccis.v19i3.1808

Keywords:

Biogas, Waste, Smart System, Gaussian Naïve Bayes, ESP32

Abstract

The design and implementation of an intelligent biogas quality monitoring and control system that combines machine learning, actuator automation, and Internet of Things (IoT) technology is presented in this research.  The system uses a thermocouple type K, MPX5700, MQ-4, and MQ-135, among other environmental sensors, to measure temperature, pressure, CO?, and CH? in real time. An ESP32 microcontroller processes sensor data using the Gaussian Naïve Bayes algorithm to categorize biogas quality into three classification, namely Good, Moderate, and Poor. A servo motor is utilized to control a valve that either permits or prohibits the flow of biogas to a generator based on the classification output. Through the Blynk IoT platform, the system has the capacity to be remotely monitored. Results from experiments with 40 biogas data demonstrated that the system had good precision and recall in each category and an overall accuracy of 92.5%. The approach exhibits dependability, affordability, and suitability for community-based biogas management in rural and semi-urban evironments.

Author Biography

Mochammad Junus, State of Polytechnic Malang

BIOGRAPHY Prof. Dr Mochammad Junus
Mochammad Junus is a Professor of Environmental Science, majoring in Renewable Energy Utilization at the State Polytechnic of Malang.
He holds a doctorate (Dr) in Environmental Science, Renewable Energy Utilization.
Latest PUBLICATIONS:
1. Solar Panel Performance Monitoring Using WSN in State Polytechnic of Malang 2020..
2. WSN For Energy Monitoring Based on Hybrid Power Plants AH Buildings 2021.
3. Technoeconomic Study of Hybrid Energy Systems for Use in Public Buildings in Malang, Indonesia 2021.
4. In Malang, Indonesia, a techno-economic analysis of hybrid energy systems in public buildings 2022.
5. Modeling, Simulation, and Enhancement of Hybrid Renewable Energy Systems for Purification Utilization 2023.
6. System Design Renewable Energy using Applications Bright Energy Solar Meter Panel Based on the IoT 2024.
7. IoT enabled landfill gas pollution monitoring 2025.
8. Development of a Pollutant Monitoring System at a Final Processing Place Based on IoT.
Latest RESEARCH :
1. EcoBin: Smart Waste Management System Based on Artificial Intelligence of Things (A-IoT)
2. Design & implementation of gas, temperature monitoring system for waste management at TPS With Machine Learning based on internet of things.
3. Implementation of Non-Invasive Cholesterol & Hypertension Level Detection Using BPW34, MPX5050GP Sensors With Android-Based Application Program
4. Innovation of Production System & Business Behavior to Penetrate National Market
5. Commercialization of Robotics Education Module through Development of Early Childhood Robotics Learning
6. Design of Renewable Energy System & Implementation of Smart Energy Meter Application Using Solar Panels Based on Internet Of Things.
7. Application of Fuzzy Logic for Roasting Maturity Determining System and Coffee Grinding Machine Based on IoT
8. Creation of Energy Saving Management Prototype System Between Solar Cell & Windmill Based on Wireless Sensor Network at Malang State Polytechnic
9. Temperature Humidity Control System, Water Content and Light Intensity on BSF Maggot Growth Media Based on IOT
10. Implementation of Wireless Sensor Network for windmill monitoring at Malang State Polytechnic
11. Monitoring solar panel efficiency using WSN at Malang State Polytechnic

Malang, 05 June 2025

Prof. Dr. Mochammad Junus, S.T, M.T
NIP. 19720619 199903 1002

References

[1] I. Tryhuba et al., “Prediction of Biogas Production Volumes from Household Organic Waste Based on Machine Learning,” Energies, vol. 17, no. 1786, pp. 1–20, 2024, doi: 10.3390/en17071786.

[2] A. A. Damayanti, Z. N. Fuadina, N. N. Azizah, Y. Karinta, and I. K. Mahardika, “Pemanfaatan Sampah Organik Dalam Pembuatan Biogas Sebagai Sumber Energi Kebutuhan Hidup Sehari-Hari,” Eksergi, vol. 17, no. 3, p. 182, 2021, doi: 10.32497/eksergi.v17i03.2803.

[3] R. N. Mukti, A. Salsabilla, A. S. Muamar, E. C. Prima, and M. N. Hana, “Biogas Effectiveness Test from Household Waste (Vegetable Waste) with Cow Dung Starter and EM4,” Indones. J. Multidiciplinary Res., vol. 1, no. 1, pp. 73–78, 2021, doi: 10.17509/ijomr.v1i1.33779.

[4] KLHK, “Capaian Kinerja Pengelolaan Sampah,” Sistem Informasi Pengelolaan Sampah Nasional (SIPSN) – Kementerian Lingkungan Hidup dan Kehutanan. [Online]. Available: https://sipsn.menlhk.go.id/sipsn/public/data/komposisi

[5] M. Junus, A. D. Rahman, and R. F. Shodiq, “Micro-Controller Based Biogas Production Monitoring System,” Indones. J. Electr. Electron. Eng., vol. 8, no. 2, pp. 69–75, 2025.

[6] Michael, M. Kallista, and P. D. Wibawa, “Sistem Integrasi dan Implementasi Alat Produksi Biogas Berbasis Internet of Things ( IoT ),” 2023.

[7] H. E. G. Prasetya, R. Amalia, A. F. B. Azisa, A. L. Fitri, and M. R. Jibran, “Rancang Bangun Smart Biogas Plant Menggunakan Teknologi Internet of Things (Iot),” Suara Tek. J. Ilm., vol. 13, no. 2, pp. 5–12, 2022, doi: 10.29406/stek.v13i2.4864.

[8] R. Situmeang, J. Mazancová, and H. Roubík, “Technological, Economic, Social and Environmental Barriers to Adoption of Small-Scale Biogas Plants: Case of Indonesia,” Energies, vol. 15, no. 14, 2022, doi: 10.3390/en15145105.

[9] Karina Thapa, “Implementing Naïve Bayes’ Classifier using Python,” Medium. [Online]. Available: https://medium.com/%40karinathpa/implementing-naïve-bais-classifier-using-python-fa19d1279a9a

[10] W. A. P. B. D. M. Alvina Felicia, “IMPLEMENTASI AlGORITMA NAIVE BAYES UNTUK MEMPREDIKSI TINGKAT PENYEBARAN COVID,” J. Appl. Comput. Sci. Technol., vol. 1, no. 1, pp. 7–14, 2020, doi: 10.55606/jurritek.v1i1.127.

[11] M. Junus, D. F. Putradi, F. A. Soelistianto, M. A. Anshori, and R. Ardiansyah, “Internet of things enabled landfill pollution gas monitoring,” Indones. J. Electr. Eng. Comput. Sci., vol. 37, no. 1, pp. 48–55, 2025, doi: 10.11591/ijeecs.v37.i1.pp48-55.

[12] M. Junus, S. Wirayoga, and Adzikirani, System Design Renewable Energy Using Applications Bright Energy Solar Meter Panel Based on The Internet of Things. Atlantis Press International BV, 2023. doi: 10.2991/978-94-6463-358-0_10.

[13] M. Junus, Marjono, Aulanni’am, and S. Wahyudi, “Modelling, Simulation, and Enhancement of Hybrid Renewable Energy Systems for Purification Utilization,” Int. Energy J., vol. 23, no. 2, pp. 71–82, 2023.

[14] H. Kurniawan, A. Rahim, T. Azhima, and Y. Siswa, “Implementasi Algoritma Gaussian Naïve Bayes Dalam Klasifikasi Status Gizi Pada Balita,” Build. Informatics, Technol. Sci., vol. 6, no. 2, pp. 627–634, 2024.

[15] J. A. Rieuwpassa, Sugito, and T. Widiharih, “Implementasi Metode Naive Bayes Classifier Untuk Klasifikasi Sentimen Ulasan Pengguna Aplikasi Netflix Pada Google Play,” J. Gaussian, vol. 12, no. 3, pp. 362–371, 2023, doi: 10.14710/j.gauss.12.3.362-371.

[16] M. F. F. Fadilah, A. Hanani, and T. Chamidy, “Naive Bayes untuk Pengukuran Kualitas Media pada Larva BSF (Black Soldier Fly) Berbasis Internet of Things,” J. Inform. Sunan Kalijaga), vol. 8, no. 2, pp. 125–139, 2023.

[17] A. Akbar, Z. Zaenudin, Z. Mutaqin, and L. D. Samsumar, “IoT-Based Smart Room Using Web Server-Based Esp32 Microcontroller,” Formosa J. Comput. Inf. Sci., vol. 1, no. 2, pp. 91–98, 2022, doi: 10.55927/fjcis.v1i2.1241.

[18] K. C. Obileke, E. L. Meyer, S. Mamphweli, and G. Makaka, “Design and evaluation of a gas, temperature profiling and data acquisition system to monitor the performance of a batch fixed dome biogas digester,” Sci. Rep., vol. 14, no. 1, p. 24960, 2024, doi: 10.1038/s41598-024-76080-y.

[19] I. G. A. I. F. Ramadhani, “Karakterisasi Dan Pengujian Sensor Mq-4 Dan Mg-811 Untuk Pengembangan Sistem Monitoring Konsentrasi Gas Metana Dan Karbon Dioksida Di Udara,” Pros. Semin. Nas. Fis., vol. XII, pp. 81–86, 2024, doi: 10.21009/03.1201.fa12.

[20] 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.

[21] A. Roja, Jamaluddin, and Azhar, “Rancang Bangun Sistem Kendali Proses Produksi Biogas,” J. TEKTRO, vol. 8, no. 1, pp. 1–7, 2024.

[22] N. Rahman, R. Purnamasari, and Y. Eliskar, “Rancang Bangun Alat Otomatisasi Pengomposan dari Sampah Organik Berbasis Internet of Things,” vol. 6, no. 4, pp. 674–682, 2024.

[23] Rusdiyanto, Ibrahim, and Insani abdi bangsa, “Implementasi Motor Servo MG996r Sebagai Robot Pemegang Batang Nosel Pada Sprayer Elektrik Berbasis Arduino Mega2560,” Elkom J. Elektron. dan Komput., vol. 14, no. 1, pp. 162–170, 2021, doi: 10.51903/elkom.v14i1.443.

[24] M. Y. Iqbar and K. P. Kartika Riyanti, “Rancang Bangun Lampu Portable Otomatis Menggunakan Rtc Berbasis Arduino,” Antivirus J. Ilm. Tek. Inform., vol. 14, no. 1, pp. 61–72, 2020, doi: 10.35457/antivirus.v14i1.1115.

[25] S. Mukhtar, S. Muhammad, H. A. Alyousef, W. Khan, R. Shah, and S. A. El-Tantawy, “Enviro-economic and optimal hybrid energy system: Photovoltaic–biogas–hydro–battery system in rural areas of Pakistan,” Heliyon, vol. 10, no. 16, 2024, doi: 10.1016/j.heliyon.2024.e35182.

[26] Raju, S. Panggabean, and Y. Maharani, “Utilization of Biogas in Generators to Generate Electricity,” IOP Conf. Ser. Earth Environ. Sci., vol. 1241, no. 1, 2023, doi: 10.1088/1755-1315/1241/1/012068.

[27] S. H. Mun, Y. Kwak, Y. Kim, and J. H. Huh, “A comprehensive thermal comfort analysis of the cooling effect of the stand fan using questionnaires and a thermal manikin,” Sustainability, vol. 11, pp. 1–18, 2019, doi: 10.3390/su11185091.

Downloads

Published

2026-01-27

How to Cite

[1]
M. Junus, Koesmarjanto, and Ria Amanda Salsabella, “Smart Biogas Control for Communities Using Gaussian Naïve Bayes”, jeeccis, vol. 19, no. 3, pp. pp 168–176, Jan. 2026.

Issue

Section

Articles

Similar Articles

1 2 3 4 5 6 7 8 9 10 11 12 13 14 > >> 

You may also start an advanced similarity search for this article.