Implementation of IoT-Based Automatic Irrigation System Using Decision Tree Algorithm on Hydroponic Garden at Institut Shanti Bhuana Bengkayang
DOI:
https://doi.org/10.64472/jciet.v1i2.6Keywords:
IoT, Decision Tree, Smart Irrigation, Hydroponic Garden, Water Level SensorAbstract
This study presents the development and implementation of an automatic irrigation system based on the Internet of Things (IoT) utilizing the Decision Tree algorithm. The system was applied in a hydroponic garden at Institut Shanti Bhuana Bengkayang. It employs a water level sensor to detect the volume of water, which is then processed using the Decision Tree classification to determine whether the irrigation valve should be opened or closed. Data collected from the sensor were analyzed both manually and programmatically to find the optimal threshold for decision-making. The system was integrated with the Blynk platform, allowing real-time monitoring and control. Testing was conducted over 7 days with 210 data points, and the classification model achieved an accuracy of 100%. The results indicate that the proposed system effectively automates irrigation, minimizes manual intervention, and provides a reliable solution for small-scale smart farming applications.
Downloads
References
N. S. Sayem et al., “IoT-based smart protection system to address agro-farm security challenges in Bangladesh,” Smart Agricultural Technology, vol. 6, Dec. 2023, doi: 10.1016/j.atech.2023.100358.
P. D. Gaspar, C. M. Fernandez, V. N. G. J. Soares, J. M. L. P. Caldeira, and H. Silva, “Development of technological capabilities through the internet of things (Iot): Survey of opportunities and barriers for iot implementation in Portugal’s agro-industry,” Applied Sciences (Switzerland), vol. 11, no. 8, Apr. 2021, doi: 10.3390/app11083454.
A. P. Antony, K. Leith, C. Jolley, J. Lu, and D. J. Sweeney, “A review of practice and implementation of the internet of things (IoT) for smallholder agriculture,” May 01, 2020, MDPI. doi: 10.3390/su12093750.
E. Navarro, N. Costa, and A. Pereira, “A systematic review of iot solutions for smart farming,” Aug. 01, 2020, MDPI AG. doi: 10.3390/s20154231.
E. M. Pechlivani, A. Papadimitriou, S. Pemas, G. Ntinas, and D. Tzovaras, “IoT-Based Agro-Toolbox for Soil Analysis and Environmental Monitoring,” Micromachines (Basel), vol. 14, no. 9, Sep. 2023, doi: 10.3390/mi14091698.
J. Xu, B. Gu, and G. Tian, “Review of agricultural IoT technology,” Jan. 01, 2022, KeAi Communications Co. doi: 10.1016/j.aiia.2022.01.001.
M. E. H. Chowdhury et al., “Design, construction and testing of iot based automated indoor vertical hydroponics farming test-bed in qatar,” Sensors (Switzerland), vol. 20, no. 19, pp. 1–24, Oct. 2020, doi: 10.3390/s20195637.
M. Stočes, J. Vaněk, J. Masner, and J. Pavlík, “Internet of things (IoT) in agriculture - Selected aspects,” Agris On-line Papers in Economics and Informatics, vol. 8, no. 1, pp. 83–88, Mar. 2016, doi: 10.7160/aol.2016.080108.
S. Mawlood Hussein, J. A. López Ramos, and J. A. Álvarez Bermejo, “Distributed Key Management to Secure IoT Wireless Sensor Networks in Smart-Agro,” Sensors (Basel), vol. 20, no. 8, Apr. 2020, doi: 10.3390/s20082242.
M. Dhanaraju, P. Chenniappan, K. Ramalingam, S. Pazhanivelan, and R. Kaliaperumal, “Smart Farming: Internet of Things (IoT)-Based Sustainable Agriculture,” Oct. 01, 2022, MDPI. doi: 10.3390/agriculture12101745.
A. Valente, S. Silva, D. Duarte, F. C. Pinto, and S. Soares, “Low-cost lorawan node for agro-intelligence iot,” Electronics (Switzerland), vol. 9, no. 6, Jun. 2020, doi: 10.3390/electronics9060987.
M. S. Farooq, S. Riaz, A. Abid, T. Umer, and Y. Bin Zikria, “Role of iot technology in agriculture: A systematic literature review,” Feb. 01, 2020, MDPI AG. doi: 10.3390/electronics9020319.
D. Puspasari Wijaya, P. Febriana Dewi, and N. Mega Saraswati, “Analyzing the Effectiveness of Apriori and ECLAT Algorithms in Frequent Itemset Mining,” Journal of Computing Innovations and Emerging Technologies, vol. 1, no. 1, pp. 16–20, Jul. 2025, doi: 10.64472/jciet.v1i1.4.
M. G. Pradana, I. W. Rangga Pinastawa, N. Maulana, and W. D. Prastowo, “Performance Analysis of Tree-Based Algorithms in Predicting Employee Attrition,” CCIT Journal, vol. 16, no. 2, pp. 220–232, Jul. 2023, doi: 10.33050/ccit.v16i2.2580.
Noviyanti, A. Deli, and L. Gloria, “Decision Support System for Village Head Election Using the Weighted Product Method: Case Study in Lumar Village,” Journal of Computing Innovations and Emerging Technologies, vol. 1, no. 1, pp. 1–6, Jul. 2025, doi: 10.64472/jciet.v1i1.1.
M. G. Pradana, P. H. Saputro, and D. L. Tyas, “UNVEILING GENDER FROM INDONESIAN NAMES USING RANDOM FOREST AND LOGISTIC REGRESSION ALGORITHMS,” Jurnal Techno Nusa Mandiri, vol. 21, no. 2, pp. 144–150, Sep. 2024, doi: 10.33480/techno.v21i2.5537.
M. Galih Pradana, K. Palilingan, Y. Vanli Akay, D. Puspasari Wijaya, and P. Hari Saputro, “Comparison of Multi Layer Perceptron, Random Forest & Logistic Regression on Students Performance Test,” pp. 462–466, 2023, doi: 10.1109/icimcis56303.2022.10017501.
S. Rudrakar and P. Rughani, “IoT based Agriculture (Ag-IoT): A detailed study on Architecture, Security and Forensics,” Dec. 01, 2024, China Agricultural University. doi: 10.1016/j.inpa.2023.09.002.
V. K. Quy et al., “IoT-Enabled Smart Agriculture: Architecture, Applications, and Challenges,” Apr. 01, 2022, MDPI. doi: 10.3390/app12073396.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Kristian Novando, Noviyanti P (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
PROPOSED POLICY FOR JOURNALS OFFERING OPEN ACCESS
The following conditions must be fulfilled by the Authors:
-
Copyright and Licensing
Authors retain copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work’s authorship and initial publication in this journal. -
Non-Exclusive Distribution
Authors may enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal’s published version of the work (e.g., posting it to an institutional repository or publishing it in a book), with an acknowledgment of its initial publication in this journal. -
Online Posting and Early Sharing
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their personal websites) prior to and during the submission process, as this can lead to productive exchanges, as well as earlier and increased citation of the published work. (See The Effect of Open Access).


