Prototype of Tomato Fruit Sorting Based on Color Based on Esp32-Cam with Fuzzy Logic Method

Rizka Nur Fitasari, Denny Irawan

Abstract


The demand for fruits, especially tomatoes, continues to increase due to their widespread use in cooking, sauces, and juices. Before distribution, tomatoes must be sorted by weight, size, and color. The current sorting process is still done manually, making it less efficient and accurate. To overcome this, this study developed a prototype of an automatic sorting system using ESP32-CAM, HCSR04 distance sensor, and TCS34725 color sensor with fuzzy logic method. The HCSR04 sensor showed an average distance measurement error of 1.8%, indicating high accuracy in measuring tomato size. Color analysis with the TCS34725 sensor revealed different RGB value dominance patterns according to the ripeness of the tomatoes: green tomatoes are dominated by green values (G), yellow tomatoes are dominated by red values (R) that are close to green values, and ripe tomatoes have the most dominant red values compared to green and blue (B). With the application of fuzzy logic, the system is able to classify tomatoes into three categories: good, medium, and bad. Out of 12 trials, the system successfully classified correctly 11 times, resulting in an accuracy of 91.67% and an error rate of 8.33%. These results indicate that the fuzzy logic-based sorting system is effective in recognizing and classifying tomatoes based on color and size, although there is still room for further improvement to improve accuracy and reliability.

Keywords


Sortir tomat, Tomato sorting, fuzzy logic, sensor warna TCS34725, ESPCAM-32

Full Text:

PDF

References


D. Anggraini, “PENYORTIRAN BUAH TOMAT BERDASARKAN TINGKAT KEMATANGAN MENGGUNAKAN SENSOR WARNA TCS3200,” Journal of Intelligent Networks and IoT Global, pp. 60-67, 2024.

S. R. A. E. R. W. Mohammad Fauzin Amin, “Rancang Bangun Sistem Sortir Buah Apel Menggunakan Sensor Warna Dan Sensor Suhu,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 1, no. 3, pp. 236-240, 2017.

A. W. Ery Muchyar Hasiri, “SISTEM KONTROL OTOMATIS PADA PENYORTIRAN BUAH TOMAT MENGGUNAKAN SENSOR WARNA TCS3200 DAN MIKROKONTROLER ATMEGA 2560,” Jurnal Informatika, vol. 6, no. 1, 2017.

Z. M. A. N. Selamet Samsugi, “SISTEM PENGONTROL IRIGASI OTOMATIS MENGGUNAKAN MIKROKONTROLER ARDUINO UNO,” Jurnal Teknologi dan Sistem Tertanam, vol. 1, no. 1, pp. 17-22, 2020.

H. Kurniawan, PERANCANGAN KEAMANAN RUMAH DENGAN ESP32-CAM DAN NOTIFIKASI ALARM BERBASIS IOT MENGGUNAKAN APLIKASI TELEGRAM, Banten: Universitas Buddhi Dharma, 2024.

R. Nadeak, RANCANG BANGUN TABUNGAN UANG KERTAS DENGAN AUTENTIKASI SIDIK JARI BERBASIS INTERNET OF THINGS, Jakarta: Universitas Nasional, 2022.

B. S. etia, “Penerapan Logika Fuzzy pada Sistem Cerdas,” Jurnal Sistem Cerdas, vol. 2, no. 1, pp. 61 - 66, 2019.

I. Al-Bahadly, “ Camera-Based Colour Sensing System,” dalam Proceedings of the 5th WSEAS Int. Conf. on Electronics, Hardware, Wireless and Optical Communications,, Madrid, Spain, 2006.




DOI: https://doi.org/10.21107/triac.v12i1.29981

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Jurnal Teknik Elektro dan Komputer TRIAC

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License
Indexed by: