Jurnal Pembelajaran dan Biologi Nukleus
Vol 12, No 1: Jurnal Pembelajaran Dan Biologi Nukleus March 2026

Detection of Soil Organic Matter Using IoT-Based Soil Color Sensors with Random Forest Method

Muhammad Afifi Andriansyah (Universitas Negeri Surabaya)
Lusia Rakhmawati (Universitas Negeri Surabaya)
I Gusti Putu Asto Buditjahjanto (Universitas Negeri Surabaya)



Article Info

Publish Date
30 May 2026

Abstract

Background: Soil organic matter (SOM) is an important indicator of soil fertility that plays a role in agricultural productivity and ecosystem sustainability. However, conventional laboratory-based methods still have limitations in terms of time, cost, and do not support real-time monitoring. Therefore, an approach based on sensors and machine learning is needed for quick and efficient estimation. This study proposes an Internet of Things (IoT)-based system that integrates an RGB soil color sensor (TCS3200) and a pH sensor to estimate soil organic matter content using a Random Forest algorithm. Methodology: Laboratory analysis was conducted using the Walkley–Black method. Soil samples were taken from seven locations (T1–T7). The Random Forest model was developed with parameters n_estimators = 100 and max_depth = 10, and validated using a train-test split method (80:20). Findings: The results showed that darker-colored soils have higher organic carbon content. The model's error values indicated an MAE of 0.031 and an RMSE of 0.032. The Random Forest model achieved a classification accuracy of 85.7% and a coefficient of determination R² ≈ 0.97. Contributions: This study contributes by developing an integrated IoT and machine learning system capable of quickly, accurately, and cost-effectively estimating soil organic matter to support precision agriculture

Copyrights © 2026






Journal Info

Abbrev

nukleus

Publisher

Subject

Agriculture, Biological Sciences & Forestry Biochemistry, Genetics & Molecular Biology Education Environmental Science Immunology & microbiology Languange, Linguistic, Communication & Media

Description

Jurnal Pendidikan Biologi merupakan jurnal elektronik yang merupakan wadah penerbitan artikel penelitian original yang terkait dengan penelitian pendidikan biologi. Jurnal ini dikelola oleh Program Studi Pendidikan Biologidibawah naungan LPPM Universitas Labuhanbatu. Jurnal ini diterbitkan dua kali ...