Internet of Things (IoT) and Telegram Based Palm Fruit Ripeness Detection System With K-Nearest Neighbor (K-NN) Algorithm

Authors

  • Yulisman Yulisman Universitas Hang Tuah Pekanbaru
  • Rety Alpizah Universitas Hang Tuah Pekanbaru
  • Hendry Fonda Universitas Hang Tuah Pekanbaru
  • Akhmad Zulkifli Universitas Hang Tuah Pekanbaru

DOI:

https://doi.org/10.37859/coscitech.v7i2.12121

Abstract

Abstract

 

This research aims to overcome the difficulty in determining the level of maturity of oil palm fruit visually at PT Agro Muara Rupit by developing a more accurate fruit maturity detection system. This often results in suboptimal harvest results, there are some fruits that are harvested not always in a ripe state. As a result, yields are often not optimal, potentially causing losses for the company. To solve this problem, the research methods used include data collection through interviews, observations, and literature studies. The developed system is designed using a TCS3200 color sensor to detect fruit color, which is then processed by a NodeMCU microcontroller. RGB data obtained from the sensor will be calibrated and analyzed using the K- Nearest Neighbor algorithm to determine the level of ripeness based on the detected color sample data. The output of this system will be sent to the user via the Telegram application, the test results show that the developed system has an accuracy rate of 85% in detecting the maturity of oil palm fruit, with a value of K = 1. The application of Internet of Things (IoT) technology and the K-Nearest Neighbor algorithm is expected to increase efficiency and accuracy in detecting the maturity of oil palm fruit. Thus, this system will help optimize crop yields and reduce losses due to harvesting of immature fruit at PT Agro Muara Rupit.

Downloads

Download data is not yet available.

References

B. Nugroho, N. D. Dharmawati, and K. Faizah, “Analisis Efisiensi Sludge Centrifuge Guna Pengendalian Losses Minyak Kelapa Sawit Di Stasiun Klarifikasi,” Majamecha, vol. 3, no. 2, pp. 127–139, 2021, doi: 10.36815/majamecha.v3i2.1547.

M. S. M. Alfatni, S. Khairunniza-Bejo, M. H. B. Marhaban, O. M. B. Saaed, A. Mustapha, and A. R. M. Shariff, “Towards a Real-Time Oil Palm Fruit Maturity System Using Supervised Classifiers Based on Feature Analysis,” Agriculture (Switzerland), vol. 12, no. 9, Sep. 2022, doi: 10.3390/agriculture12091461.

Bagaskara, “10 Daerah di Indonesia dengan Perkebunan Kelapa Sawit Terluas,” Mutu International. Accessed: May 25, 2025. [Online]. Available: https://mutucertification.com/perkebunan-kelapa-sawit-terluas/

R. S. Hajar, B.-W. Yun, and H.-S. Hwang, “Analyzing The Impact of Indonesian Sustainable Palm Oil (ISPO) Certification and The Factors That Influence Crude Palm Oil (CPO) Exports Volume,” International Journal of Social Service and Research, vol. 4, no. 10, pp. 1–11, 2024, doi: 10.46799/ijssr.v4i10.1085.

I. Numata, A. J. Elmore, M. A. Cochrane, C. Wang, J. Zhao, and X. Zhang, “Deforestation, plantation-related land cover dynamics and oil palm age-structure change during 1990-2020 in Riau Province, Indonesia,” Environmental Research Letters, vol. 17, no. 9, Sep. 2022, doi: 10.1088/1748-9326/ac8a61.

A. A. Wening, “OJK Lanjutkan Komitmen Dukung Peningkatan Pendanaan Petani Sawit,” https://ekonomi.bisnis.com/. Accessed: May 20, 2025. [Online]. Available: https://ekonomi.bisnis.com/read/20230801/99/1680142/ojk-lanjutkan-komitmen-dukung-peningkatan-pendanaan-petani-sawit

M. Rifqi, M. Akbar, and Y. Fitrisia, “Aplikasi Pendeteksian Kematangan Tandan Buah Segar (TBS) Kelapa Sawit Berdasarkan Komposisi Warna Menggunakan Algoritma K-NN,” Jurnal Komputer Terapan, vol. 6, no. 1, pp. 99–107, 2020, [Online]. Available: https://jurnal.pcr.ac.id/index.php/jkt/

J. W. Lai, H. R. Ramli, L. I. Ismail, and W. Z. Wan Hasan, “Oil Palm Fresh Fruit Bunch Ripeness Detection Methods: A Systematic Review,” Agriculture, vol. 13, no. 1, Jan. 2023, doi: 10.3390/agriculture13010156.

A. Gunawan, J. M. Lisang, and M. N. Yuhandra, “Internet of Things Implementation for The Industrial World In Developing Countries in The Digital Era,” in International Conference on ICT For Smart Society (ICISS), Bandung: IEEE, Oct. 2023, pp. 1–5. doi: 10.1109/iciss59129.2023.10291259.

N. Y. Shadchenko, E. G. Kirikutsa, and T. V. Boldyreva, “Development of the internet of things technology in the context of digital transformation,” Naučnoe obozrenie: teoriâ i praktika, vol. 13, no. 1, pp. 61–72, 2023, doi: 10.35679/2226-0226-2023-13-1-61-72.

K. Thakur, A.-S. K. Pathan, and S. Ismat, Internet of Things (IoT). Cham: Springer Nature Switzerland, 2023. doi: 10.1007/978-3-031-27765-8_6.

E. M. Khan, M. Zahid, T. Zahid, T. Ilahi, I. Safdar, and I. Ahmad, “Application of IoT for Intelligent Home Automation System,” Pakistan Journal of Engineering and Technology, vol. 6, no. 1, pp. 63–68, 2023, doi: 10.51846/vol6iss1pp63-68.

M. Roslee et al., “Internet of Things: Agriculture Precision Monitoring System based on Low Power Wide Area Network,” WSEAS Transactions on Electronics, vol. 15, pp. 35–46, 2024, doi: 10.37394/232017.2024.15.5.

A. K. Nalendra, D. Wahvudi, M. Mujiono, M. N. Fu’ad, and N. Kholila, “IoT-Agri: IoT-based Environment Control and Monitoring System for Agriculture,” in 2022 Seventh International Conference on Informatics and Computing (ICIC), Denpasar: IEEE, Feb. 2022, pp. 1–6. doi: 10.1109/ICIC56845.2022.10006964.

S. Ashari, G. J. Yanris, and I. Purnama, “Oil Palm Fruit Ripeness Detection using Deep Learning,” Sinkron : Jurnal Dan Penelitian Teknik Informatika, vol. 7, no. 2, pp. 649–656, May 2022, doi: 10.33395/sinkron.v7i2.11420.

S. Vaishnavi, D. Sandhya, J. Sakshi, and B. Pranoti, “Developing a Real Time Non Invasive Approach to Distinguish Natural and Artificial Ripened Fruits,” International Journal of Advanced Research in Science, Communication and Technology, vol. 4, no. 2, pp. 156–161, Nov. 2024, doi: 10.48175/IJARSCT-22132.

I. K. T. Tan, Y.-H. Lim, and N.-H. Hon, “Towards Palm Bunch Ripeness Classification Using Colour and Canny Edge Detection,” in Computational Science and Technology, R. Alfred, H. Iida, H. Haviluddin, and P. Anthony, Eds., Singapore: Springer Singapore, 2021, pp. 41–50. doi: 10.1007/978-981-33-4069-5_4.

S. A, D. B. V, N. S. C, and A. N. S, “Image processing,” nternational Journal of Innovative Research in Information Security, vol. 09, no. 03, pp. 79–83, Jan. 2023, doi: 10.26562/ijiris.2023.v0903.06.

A. C. Saputra and E. D. Oktaviyani, “Rancang Bangun Sistem Deteksi Kematangan Buah Kelapa Sawit Berdasarkan Deteksi Warna Menggunakan Algoritma K-NN,” Jurnal Teknologi Informasi : Jurnal Keilmuan dan Aplikasi Bidang Teknik Informatika, vol. 17, no. 2, pp. 222–229, 2023, doi: 10.47111/jti.v7i2.9232.

M. Wankhade and U. W. Hore, “A Survey on Fruit Ripeness Classification Based On Image Processing with Machine Learning,” International Journal of Advanced Research in Science, Communication and Technology, vol. 5, no. 1, pp. 73–78, May 2021, doi: 10.48175/ijarsct-1097.

A. S. A. Yuda, M. D. A. Rosady, N. I. Faisal, and E. Ismanto, “Analisis Kinerja Algoritma K-Nearest Neighbors (KNN) dan Random Forest untuk Klasifikasi Kondisi Cuaca,” Jurnal CoSciTech (Computer Science and Information Technology), vol. 6, no. 2, pp. 337–343, Sep. 2025, doi: 10.37859/coscitech.v6i2.9827.

M. F. H. Dermawan, D. Witarsyah, and H. Fakhruroja, “Penerapan Image Processing untuk Mengetahui Tingkat Kematangan Kopi Menggunakan Algoritma K-Nearest Neighbor (KNN) pada Perkebunan Kopi Malabar Bandung,” in e-Proceeding of Engineering, Bandung: Telkom University, 2023, pp. 3246–3252. Accessed: May 27, 2025. [Online]. Available: https://openlibrarypublications.telkomuniversity.ac.id/index.php/engineering/article/view/20582/0

I. G. I. Sudipa, R. A. Azdy, I. Arfiani, N. M. Setiohardjo, and Sumiyatun, “Leveraging K-Nearest Neighbors for Enhanced Fruit Classification and Quality Assessment,” Indonesian Journal of Data and Science, vol. 5, no. 1, pp. 30–36, Mar. 2024, doi: 10.56705/ijodas.v5i1.125.

A. M. A. Efendi, Sriani, and M. S. Hasibuan, “Classification of Watermelon Ripeness Levels Using HSV Color Space Transformation and K-Nearest Neighbor Method,” Journal of Computer Networks, Architecture and High Performance Computing, vol. 6, no. 3, pp. 934–948, 2024, doi: 10.47709/cnapc.v6i3.3999.

M. Yasser, M. A. Mansour, K. D. Dambul, and K. Y. Choo, “Object Detection Algorithms for Ripeness Classification of Oil Palm Fresh Fruit Bunch,” International Journal of Technology, vol. 13, no. 6, pp. 1326–1335, Nov. 2022, doi: https://doi.org/10.14716/ijtech.v13i6.5932.

S. S. Telsang et al., “Fruit Ripeness and Estimated Harvesting Time Detection,” Int. J. Res. Appl. Sci. Eng. Technol., vol. 12, no. 9, pp. 398–401, Sep. 2024, doi: 10.22214/ijraset.2024.64193.

V. S. Gunawan, M. Muhammad, and S. Maria, “Implementasi Metode Prototype dalam Pengembangan Sistem Informasi Inventaris Obat di Apotek Syira Farma.,” Jurnal CoSciTech (Computer Science and Information Technology), vol. 6, no. 2, pp. 189–198, Aug. 2025, doi: 10.37859/coscitech.v6i2.9652.

S. Sauda and E. P. Agustini, “Implementasi Prototype Model dalam Pengembangan Aplikasi Smart Cleaning Sebagai Pendukung Aplikasi Smart City,” MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 20, no. 1, pp. 73–84, Sep. 2020, doi: 10.30812/matrik.v20i1.673.

R. S. Pressman and B. R. Maxim, Software Engineering: A Practitioner’s Approach, 9th ed. McGraw-Hill Education, 2019.

T. Ta’ali, W. Khairat, H. Habibullah, and J. Sardi, “Pengaruh Jarak Terhadap Sensitivitas Sensor Warna TCS3200,” JTEIN: Jurnal Teknik Elektro Indonesia, vol. 4, no. 1, pp. 67–74, Feb. 2023, doi: 10.24036/jtein.v4i1.340.

M. Fajar and A. Erfina, “Rancang bangun sistem monitoring curah hujan berbasis internet of things,” Jurnal CoSciTech (Computer Science and Information Technology), vol. 4, no. 1, pp. 42–49, May 2023, doi: 10.37859/coscitech.v4i1.4502.

A. Wibowo, Poningsih, I. Parlina, Suhada, and A. Wantoi, “Rancang Bangun Mesin Sortir Buah Kelapa Sawit Berdasarkan Tingkat Kematangan Menggunakan Sensor Warna Tcs3200 Berbasis Arduino Uno,” STORAGE – Jurnal Ilmiah Teknik dan Ilmu Komputer, vol. 1, no. 2, pp. 9–15, 2022, doi: 10.55123.

H. M. Hutajulu, A. Yanie, L. Adriana, and D. Safitri, “Rancang Bangun Deteksi Kematangan Buah Kelapa Sawit Dan Peringatan Berbasis Telegram,” in Prosiding Seminar Nasional Teknik UISU (SEMNASTEK), 2023, pp. 207–213. Accessed: Jul. 08, 2026. [Online]. Available: https://www.researchgate.net/profile/Dara-Sawitri/publication/372941086_RANCANG_BANGUN_DETEKSI_KEMATANGAN_BUAH_KELAPA_SAWIT_DAN_PERINGATAN_BERBASIS_TELEGRAM/links/64cf4751806a9e4e5cec94db/RANCANG-BANGUN-DETEKSI-KEMATANGAN-BUAH-KELAPA-SAWIT-DAN-PERINGATAN-BERBASIS-TELEGRAM.pdf

N. E. Barutu and D. Toresa, “Klasifikasi Kematangan Buah Kelapa Sawit Berdasarkan Warna Menggunakan Metode K-Nearest Neighbor,” IndoAI: Journal of Artificial Intelligence and Computational Logic (I-JAICL), no. 1, pp. 1–14, 2026, Accessed: Jul. 07, 2026. [Online]. Available: https://journal.lenara.id/index.php/IndoAI/article/view/8

A. Nugroho, “Teknologi Agroindustri Kelapa Sawit,” Lambung Mengkurat Universitas Press (Issue November), pp. 41–42, 2019.

A. Suriani and Lisnawita, “Tinjauan Literatur Sistematis (SLR) Klasifikasi Kematangan Buah Sawit Berdasarkan Citra Warna Menggunakan Algoritma SVM Dan KNN,” SEMASTER: Seminar Nasional Teknologi Informasi & Ilmu Komputer, vol. 3, no. 1, pp. 447–459, 2024, Accessed: Jul. 07, 2026. [Online]. Available: https://journal.unilak.ac.id/index.php/Semaster/article/view/23978

M. S. Haris et al., Pengantar Data Science. Penerbit Widina, 2023.

E. A. A. Nasution and Y. R. Nasution, “Klasifikasi Kematangan Buah Kelapa Sawit Berdasarkan Fitur Citra Warna Kulit Menggunakan Metode Transformasi Ruang Warna HSV dan K-Nearest Neighbor,” Rekayasa, vol. 19, no. 1, pp. 38–48, Apr. 2026, doi: 10.21107/rekayasa.v19i1.33679.

N. Pratiwi and N. Andre, “Sistem Deteksi Warna Real-Time Berbasis IoT Menggunakan Sensor RGB dan ESP32 dengan Notifikasi Audio dan Telegram bagi Penyandang Buta Warna Parsial,” El Sains: Jurnal Elektro, vol. 7, no. 2, pp. 39–46, Nov. 2025, doi: 10.30996/elsains.v7i2.132803.

R. Kurniawan and Nurahman, “Klasifikasi Tingkat Kematangan Buah Sawit Berdasarkan Ekstraksi Fitur RGB dan GLCM Menggunakan Algoritma K-NN,” Jurnal Ilmiah Komputasi, vol. 22, pp. 457–466, 2023, doi: 10.32409/jikstik.22.4.3402.

Downloads

Published

2026-08-24

How to Cite

Yulisman, Y., Alpizah, R., Fonda, H., & Zulkifli, A. (2026). Internet of Things (IoT) and Telegram Based Palm Fruit Ripeness Detection System With K-Nearest Neighbor (K-NN) Algorithm. Jurnal CoSciTech (Computer Science and Information Technology), 7(2), 252–266. https://doi.org/10.37859/coscitech.v7i2.12121