Classification of Heavy Metal-Indicated Soil Types Using Decision Tree Algorithm and IoT-Based pH-Moisture Sensors

Authors

  • Dhea Adrika Zahro Asyhari Politeknik Negeri Malang
  • Hudiono Hudiono Politeknik Negeri Malang
  • Hendro Darmono Politeknik Negeri Malang

DOI:

https://doi.org/10.33795/jartel.v16i1.9372

Keywords:

Decision Tree, Heavy Metal, Internet of Things (IoT), Soil Monitoring, Smart Agriculture, pH Sensor, Soil Moisture Sensor, ESP32

Abstract

This study implements the Decision Tree algorithm for the classification of three soil types: Paddy Field, Well Excavation, and Lapindo Mud. The classification is performed based on two key parameters that influence soil characteristics: pH and Humidity. The dataset consists of 120 samples, partitioned using a ratio of 75% training data (90 samples) and 25% testing data (30 samples). The model testing results on the unseen data demonstrated very high performance, achieving an overall Accuracy of 93.33%. The analysis of performance metrics indicates that the model possesses strong discriminatory power across all classes. The Lapindo Mud class achieved perfect Recall (1.00), primarily driven by its unique alkaline pH (pH > 7.0) which acts as the root node separator. Furthermore, the Well Excavation class demonstrated perfect Precision (1.00), indicating absolute reliability in its predictions. The F1-Score for all classes exceeded 0.90. These results confirm that the Decision Tree Model is an efficient and effective method for identifying and classifying soil types based on pH and Humidity parameters.

References

R. Novandi, “Remediasi tanah tercemar logam timbal (Pb) menggunakan tanaman bayam cabut (Amaranthus tricolor L.),” Jurnal Teknologi Lingkungan Lahan Basah, vol. 2, no. 1, 2014.

P. Oktavian, M. Anas, I. N. Sudiana, dan J. Safaani, “Studi kajian literatur: Pengaruh keberadaan logam berat terhadap tingkat kesuburan tanah di Indonesia,” Einstein’s: Research Journal of Applied Physics, vol. 2, no. 1, pp. 20–23, 2024.

R. Burchan, F. A. Soelistianto, dan K. Koesmarijanto, “Telemonitoring kadar EC, pH, dan suhu penyehatan tanah tercemar menggunakan sensor konduktivitas berbasis web,” Journal of Telecommunication Network (Jurnal Jaringan Telekomunikasi), vol. 10, no. 4, pp. 202–206, 2020.

C. O. Handayani, S. Sukarjo, dan T. Dewi, “Distribusi logam berat Pb, Cd, Cr, Ni dan risiko kesehatan akibat paparan logam berat melalui saluran pencernaan di lahan sawah sekitar kawasan industri Kabupaten Bandung,” Jurnal Tanah dan Iklim, vol. 46, no. 1, pp. 47–59, 2022.

N. W. A. Ulandari, “Implementasi metode ID3 untuk mendeteksi penyakit tanaman manggis berbasis Android,” dalam Prosiding Seminar Nasional Pendidikan Teknik Informatika, pp. 217–222, 2018.

S. C. Hung, C. C. Lu, dan Y. T. Wu, “An investigation on design and characterization of a highly selective LED optical sensor for copper ions in aqueous solutions,” Sensors, vol. 21, no. 4, p. 1099, 2021.

P. Destinugrainy, S. Cambaba, dan I. N. Surya, “Analisis unsur hara karbon organik dan nitrogen pada tanah sawah di Kecamatan Seko, Kabupaten Luwu Utara,” Cokroaminoto Journal of Biological Science, vol. 2, no. 1, pp. 12–16, 2020.

D. Sriwahyuni dan A. Afdal, “Identifikasi pH, TDS, konduktivitas listrik, kandungan timbal (Pb), tembaga (Cu), dan kadmium (Cd) pada bak reservoir PDAM Kota Padang Panjang,” Jurnal Fisika Unand, vol. 10, no. 4, pp. 504–510, 2021.

H. Marcos dan H. Muzaki, “Monitoring suhu udara dan kelembaban tanah pada budidaya tanaman pepaya,” Jurnal Teknologi dan Sistem Tertanam, vol. 3, no. 2, 2022.

W. Komarawidjaja, “Paparan limbah cair industri mengandung logam berat pada lahan sawah di Desa Jelegong, Kecamatan Rancaekek, Kabupaten Bandung,” Jurnal Teknologi Lingkungan, vol. 18, no. 2, pp. 173–181, 2017.

A. P. Kusuma, R. N. Hasanah, dan H. S. Dachlan, “DSS untuk menganalisis pH kesuburan tanah menggunakan metode single linkage,” Jurnal EECCIS (Electrics, Electronics, Communications, Controls, Informatics, Systems), vol. 8, no. 1, pp. 61–66, 2014.

Z. Zainudin dan R. Kesumaningwati, “Pengaruh eco enzyme terhadap kandungan logam berat lahan bekas tambang batubara,” Ziraa’ah Majalah Ilmiah Pertanian, vol. 47, no. 2, pp. 154–161, 2022.

G. H. Sandi dan Y. Fatma, “Pemanfaatan teknologi Internet of Things (IoT) pada bidang pertanian,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 1, pp. 1–5, 2023.

N. Cameron, Electronics Projects with the ESP8266 and ESP32: Building Web Pages, Applications, and WiFi Enabled Devices. Edinburgh, UK: Apress, 2020.

F. B. A. Putra dan L. Hayat, “Rancang bangun miniatur sistem parkir cerdas bertingkat berbasis Internet of Things menggunakan ESP32,” Jurnal Riset Rekayasa Elektro, vol. 3, no. 1, pp. 23–34, 2021.

R. C. N. Santi dan S. Eniyati, “Implementasi statistik dengan database MySQL,” Dinamik, vol. 20, no. 2, 2015.

A. H. Nasrullah, “Implementasi algoritma decision tree untuk klasifikasi produk laris,” Jurnal Ilmiah Ilmu Komputer Fakultas Ilmu Komputer Universitas Al Asyariah Mandar, vol. 7, no. 2, pp. 45–51, 2021.

M. Kurniawan dan B. Kurniawan, “Implementasi pemrograman Python menggunakan Visual Studio Code,” JIK: Jurnal Informatika dan Komputer, vol. 11, no. 2, pp. 1–9, 2020.

Downloads

Published

31-03-2026

How to Cite

Asyhari, D. A. Z., Hudiono, H., & Darmono, H. (2026). Classification of Heavy Metal-Indicated Soil Types Using Decision Tree Algorithm and IoT-Based pH-Moisture Sensors. JURNAL JARTEL: Jurnal Jaringan Telekomunikasi, 16(1), 95–106. https://doi.org/10.33795/jartel.v16i1.9372