Biogas Digester Monitoring System Using Machine Learning Classification
DOI:
https://doi.org/10.21776/jeeccis.v20i1.1832Keywords:
Biogas, Internet of Things, ESP32, K-Means Clustering, Fermentation MonitoringAbstract
Abstract— The problem faced in the biogas fermentation process is the challenge of continuously monitoring environmental conditions such as temperature, humidity, methane gas (CH?) concentration, and pressure, which have a major effect on gas production efficiency. This research aims to design a biogas fermentation monitoring system that uses Internet of Things (IoT) technology so that it can automatically classify fermentation conditions with the help of the K-Means Clustering algorithm. The system utilizes ESP32 microcontroller connected with DHT22 and MQ-4 sensors to measure temperature, humidity, and CH? parameters, and sends the data directly to Blynk platform via WiFi connection. The data collection process was carried out every five hours for 15 days after the initial fermentation lasted for three weeks. The resulting data was then analyzed using the K-Means algorithm to classify fermentation conditions into three categories: early, transitional, and active. Evaluation results using the Elbow and Silhouette Score methods indicated that the ideal number of clusters was three (K=3), with most of the data belonging to the active cluster. The 3D representation and scatter diagram confirmed that each cluster had significantly different sensor characteristics. The system successfully facilitated the monitoring of the fermentation process and provided important classification information to support decision-making. This research shows that combining IoT and machine learning can improve the efficiency of biogas fermentation management.
References
REFERENCES
[1] N. U. Aini, S. Pujiyati, T. Hestirianoto, A. Rahmat, J. Santosa, and N. K. N, “Design of Gas Pressure and pH Pressure Monitoring and Control System using ESP32 on IoT-Based Biogas Digester,” 2025. [Online]. Available: https://thejoas.com/index.php/
[2] L. Nurwindya Sari, H. Prayitno, M. Farhan, and I. Syaichurrozi, “Review: Biogas Production from Rice Straw,” 2022. [Online]. Available: http://jurnal.untirta.ac.id/index.php/WCEJ
[3] T. Lhamo, S. Gocha, K. Wangchuk, T. Dorji, and Y. Wangchuk, “IOT BASED BIOGAS MONITORING SYSTEM USING NODE MCU ESP32S,” 2021.
[4] T. Roslina Tuan Yusof, M. Zahari, M. Majid, A. Syafiq Abdul Syukor, and M. Riduan Jamalludin, “Advanced and Sustainable Technologies (ASET) eISSN,” 2024.
[5] S. Aditya Putra, I. Shiddiq Adz-Dzikri, G. Permadi, and P. Harapan Bersama Tegal, “SISTEM MONITORING DAN DATA LOGGER PRODUKSI GAS METANA PADA BIODIGESTER BERBASIS MIKROKONTROLER ESP32 MICROCONTROLLER-BASED MONITORING AND DATA LOGGING SYSTEM FOR METHANE GAS PRODUCTION IN BIODIGESTERS USING ESP32,” DISPROTEK: Jurnal Teknik Informatika, Sistem Informasi, Teknik Elektro, Teknik Industri, Teknik Sipil, dan Akuakultur, vol. 15, no. 2, pp. 144–151, 2024, doi: 10.34001/jdpt.
[6] W. Damayanti, “Implementasi Internet of Things (IoT) Pada Sistem Monitoring Kadar Gas Metana Pada Biodigester,” eProceedings of Engineering, vol. 11, no. 6, 2024.
[7] R. Widya Ningrum, “Aplikasi Sistem Monitoring Kadar Gas Metana Pada Biodigester Berbasis Website,” eProceedings of Engineering, vol. 11, no. 6, 2024.
[8] S. D. Kalamaras, M. A. Tsitsimpikou, C. A. Tzenos, A. A. Lithourgidis, D. S. Pitsikoglou, and T. A. Kotsopoulos, “A Low-Cost IoT System Based on the ESP32 Microcontroller for Efficient Monitoring of a Pilot Anaerobic Biogas Reactor,” Applied Sciences (Switzerland), vol. 15, no. 1, Jan. 2025, doi: 10.3390/app15010034.
[9] Muhammad Zhaky and Eko Supriadi, “Prototype Digester Berpengaduk dan Sensor Pendeteksi Gas methane Berbasis IoT,” Jurnal Sains dan Teknologi, vol. 3, no. 2, pp. 123–131, Dec. 2024, doi: 10.58169/saintek.v3i2.675.
[10] E. Purnama Dewi, J. Sumarsono, and I. Gusti Made Kompyang, “Pengembangan akuisisi data pada sistem pemantauan biogas berbasis IoT Development of data acquisition biogas monitoring system based on IoT,” Jurnal Agrotek UMMAT, vol. 11, no. 1, 2024.
[11] U. T. Suryadi and S. Rima, “IMPLEMENTASI METODE K-MEANS UNTUK KLASTERISASI LAHAN PERTANIAN STRAWBERRY DI DAERAH SUBANG BERBASIS IoT(INTERNET OF THINGS) MENGGUNAKAN PLATFORM NODE-RED,” 2020.
[12] P. Mishra, N. Mishra, D. K. Choudhary, P. Pareek, and M. J. C. S. Reis, “Use of IoT with Deep Learning for Classification of Environment Sounds and Detection of Gases,” Computers, vol. 14, no. 2, Feb. 2025, doi: 10.3390/computers14020033.
[13] M. T. R. Laskar et al., “Extending Isolation Forest for Anomaly Detection in Big Data via K-Means,” Apr. 2021, [Online]. Available: http://arxiv.org/abs/2104.13190
[14] L. Best and E. Foo, “A Hybrid Approach: Utilising K-means Clustering and Naive Bayes for IoT Anomaly Detection,” 2022.
[15] D. Ekita, P. Febrian, A. Wisaksono, I. Anshory, and J. Jamaaluddin, “Gas and Temperature Monitoring System on Biogas Digester to Improve Stove Performance,” Universitas Muhammadiyah Sidoarjo, 2025.
[16] B. Gunawan, “Rancang Bangun Pengontrolan Suhu dan Kelembaban pada Proses Fermentasi Tempe Berbasis Internet of Things,” 2020.
[17] P. Studi et al., “PROTOTIPE KONTROL BIOGAS PADA KOTORAN SAPI BERBASIS INTERNET OF THINGS (IoT) BIOGAS CONTROL PROTOTYPE IN COW DAILY BASED ON THE INTERNET OF THINGS (IoT) Gugun Adiguna, Agus Ismangil*, Prihastuti Harsani,” 2023.
[18] O. Adeleke, K. O. Olatunji, D. M. Madyira, and T.-C. Jen, “Application of multimodal machine learning-based analysis for the biomethane yields of NaOH-pretreated biomass,” Sci Rep, vol. 15, no. 1, p. 24372, Jul. 2025, doi: 10.1038/s41598-025-09527-5.
[19] M. Junus, D. Rahman, and R. F. Shodiq, “Micro-Controller Based Biogas Production Monitoring System,” Indonesian Journal of Electrical and Electronics Engineering (INAJEEE), vol. 8, no. 2, pp. 69–75, 2025, doi: 10.26740/inajeee.v8n2.
[20] H. Prasetya, I. Sari, R. Amalia, A. Azisa, A. Fitri, and M. Jibran, “Smart Biogas Plant Monitoring System Using Internet of Things (IoT) Technology,” in Prosiding Konferensi Internasional ke-5 tentang Sains dan Teknologi Terapan pada Ilmu Rekayasa, INSTICC, Dec. 2023, pp. 915–920. doi: 10.5220/0011955600003575.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Prof. Dr. Mochammad Junus, Putri, Prof Dr. Mohd Noor

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



