Claim Missing Document
Check
Articles

Found 2 Documents
Search

PREDIKSI OPERASI POMPA BAWANG MERAH MENGGUNAKAN KNN BERBASIS RASPBERRY PI irfin Sandra Asti; Rizki Dwi Romadhona; Hari Kurnia Safitri; Nandaru Ramadhan; Rhezal Agung Ananto
ELECTRA : Electrical Engineering Articles Vol. 7 No. 1 (2026)
Publisher : UNIVERSITAS PGRI MADIUN

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.25273/electra.v7i1.25787

Abstract

This study aims to develop an environmental monitoring and irrigation pump control system for shallot plants based on Raspberry Pi using the K-Nearest Neighbor (KNN) method. The system uses soil moisture 1, soil moisture 2, air temperature, and air humidity as input parameters to determine the pump condition, ON /OFF. Sensor data are processed using KNN to generate automatic pump control decisions. The system is also equipped with a web-based monitoring interface accessible via smartphone. Testing was conducted using 30 testing data with several K values. The results showed that K=5 achieved the best performance, with an accuracy of 83.33%, precision of 100.00%, recall of 68.75%, and F1-score of 81.48%. Field testing compared the KNN method with the ON/OFF method. The KNN system used 3.375 L of water, while the ON/OFF method used 11.111 L, resulting in water savings of 7.736 L or 69.62%. These results indicate that implementing KNN on Raspberry Pi has the potential to improve water-use efficiency in an automatic irrigation system for shallot plants. Keywords — shallot, automatic irrigation, K-Nearest Neighbor, Raspberry Pi, smart agriculture
A color-based particle filter optimized using firefly and black hole algorithms for moving object tracking Devira Anggi Maharani; Lenni Yulianti; Carmadi Machbub; Pranoto Hidaya Rusmin; Suci Aulia; Rizki Dwi Romadhona
JURNAL ELTEK Vol. 24 No. 2 (2026): October 2026
Publisher : Politeknik Negeri Malang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33795/eltek.v24i2.9879

Abstract

Many researchers, particularly in the field of computer vision, have increasingly focused on moving object tracking. However, accurately tracking a moving object remains challenging, especially under conditions such as occlusion, illumination changes, abrupt motion, and variations in object posture. Although recent developments have enhanced the performance of visual object tracking methods, the task remains challenging under real-world conditions. Particle Filter (PF), a Monte Carlo-based estimation framework, has been extensively applied to visual object tracking due to its ability to handle nonlinear and non-Gaussian systems. However, conventional PF methods still suffer from particle degeneracy and sample impoverishment, particularly after repeated resampling processes. Although resampling can reduce degeneracy by removing particles with insignificant weights, it may also decrease particle diversity and degrade tracking performance. To address these limitations, this study introduces a Black Hole Optimization Particle Filter (BHOPF), in which the Black Hole Optimization algorithm is incorporated into the PF resampling process. The proposed approach updates particles through the Black Hole optimization mechanism, offering a simple computational structure with minimal parameter tuning. The integration of Black Hole Optimization is expected to improve particle diversity, increase the effective number of particles, reduce RMSE, and enhance the robustness of PF-based visual object tracking. The experimental results show that, using 30 particles and 5 iterations, BHOPF increased the effective number of particles to 26. In comparison, the Firefly Optimization Particle Filter (FAOPF) achieved 23 effective particles, while the conventional Particle Filter achieved only 16 effective particles. The proposed system achieved real-time operation through multithreading and pipeline-based processing, with a processing speed of up to 30 FPS.