Design and Implementation of a Waste Cooking Oil Tester for Street Food Vendors using the Rule Based System Method

Authors

  • Rendi Renaldi STMIK Kaputama
  • Hotler Manurung STMIK Kaputama
  • Ameliana Sihotang STMIK Kaputama

DOI:

https://doi.org/10.59934/jaiea.v6i1.2927

Keywords:

ESP32, forward chaining, rule based system, TCS3200, waste cooking oil

Abstract

Street food vendors commonly reuse frying oil to reduce production costs, yet they have no affordable means of judging whether the oil is still fit for use. Laboratory tests such as peroxide value and free fatty acid measurement are costly and impractical in the field, so the decision is usually left to subjective visual estimation. This study designs and implements a portable waste cooking oil tester built on an ESP32 microcontroller that classifies oil as fit or unfit for use. A TCS3200 colour sensor supplies the red channel value (R) as the degradation indicator, a DS18B20 temperature sensor acts as a measurement gate, and a 16x2 I2C LCD presents the verdict. The decision layer applies a rule based system with a forward chaining inference engine consisting of four IF-THEN rules derived from calibrated colour thresholds. The device was tested on nine oil samples, eight collected from street food vendors in two districts of Binjai City and one unused control sample, with three repetitions each, giving 27 tests. Rule tracing produced correct conclusions in all ten boundary test cases, and classification reached an accuracy of 92.59% with precision, recall and F1-score of 91.67%. Both misclassifications occurred on samples whose mean R value lay close to a category threshold. The results show that a lightweight rule based approach is adequate for on-site preliminary screening of waste cooking oil.

Downloads

Download data is not yet available.

References

F. Agustini and A. Salim, “Penerapan metode forward chaining pada sistem pakar deteksi mutu tepung terigu berbasis web,” METIK J., vol. 6, no. 1, pp. 79–84, 2022.

A. D. Ariyanto, B. Hariadi, L. A. Swarga, S. Santoso, and R. Hartayu, “Pengembangan sistem deteksi kualitas minyak goreng sawit berbasis fuzzy logic,” Pros. Semin. Nas. Tek. Elektro, Sist. Inf., dan Tek. Inform. (SNESTIK), vol. 5, no. 1, pp. 219–226, 2025.

R. Buyya and A. V. Dastjerdi, Internet of Things: Principles and Paradigms. Amsterdam: Elsevier, 2016.

B. Dwiloka, B. E. Setiani, and D. Karuniasih, “Pengaruh penggunaan minyak goreng berulang terhadap penyerapan minyak, bilangan peroksida dan asam lemak bebas pada ayam goreng,” Sains Teknol. Manaj. J., vol. 1, no. 1, pp. 13–17, 2021.

J. Fraden, Handbook of Modern Sensors: Physics, Designs, and Applications, 5th ed. Cham: Springer International Publishing, 2016, doi: 10.1007/978-3-319-19303-8.

H. S. Ghifari and F. Utaminingrum, “Klasifikasi kualitas minyak goreng berdasarkan fitur warna dan kejernihan dengan metode K-Nearest Neighbour berbasis Arduino Uno,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 7, pp. 3269–3274, 2022.

U. A. Gusti and H. K. Surtikanti, “Analisis limbah minyak jelantah hasil penggorengan pelaku UMKM di Kelurahan Gegerkalong Kota Bandung,” Rekayasa Hijau J. Teknol. Ramah Lingkung., vol. 8, no. 3, pp. 263–272, 2024, doi: 10.26760/jrh.V8i3.263-272.

B. R. I. Hadi, A. Y. P. Asih, and A. Syafiuddin, “Penerapan hygiene sanitasi makanan pada pedagang kaki lima,” Media Kesehat. Masy. Indones., vol. 20, no. 6, pp. 451–462, 2021, doi: 10.14710/mkmi.20.6.451-462.

Y. Nazarena, Eliza, Terati, and A. Meilina, “Pengaruh frekuensi penggorengan bahan makanan terhadap angka peroksida,” J. Sehat Mandiri, vol. 17, no. 2, pp. 46–54, 2022.

M. Nitami, F. Yani, E. Veronika, and V. Azteria, “Perilaku penggunaan minyak goreng dan pengetahuan tentang bahaya minyak jelantah pada pedagang gorengan di Jatikramat,” MANUJU Malahayati Nurs. J., vol. 7, no. 10, pp. 4607–4616, 2025, doi: 10.33024/mnj.v7i10.22611.

K. Pälchen et al., “Effect of processing and microstructural properties of chickpea-flours on in vitro digestion and appetite sensations,” Food Res. Int., vol. 157, p. 111245, 2022, doi: 10.1016/j.foodres.2022.111245.

A. P. Ramadhan and A. Ro’uf, “Sistem deteksi kemurnian minyak goreng dengan menggunakan metode gelombang ultrasonik,” Indones. J. Electron. Instrum. Syst. (IJEIS), vol. 11, no. 2, pp. 123–132, 2021.

S. Suhaeb, Y. A. Djawad, H. Jaya, Ridwansyah, Sabran, and A. Risal, Mikrokontroler dan Interface. Makassar: Fakultas Teknik Universitas Negeri Makassar, 2017.

H. W. Utami and A. B. Arifa, “Sistem pakar untuk deteksi dini penyakit demam berdarah dengue berbasis website menggunakan metode rule based,” Kumpul. J. Ilmu Komput. (KLIK), vol. 9, no. 3, pp. 454–466, 2022.

Downloads

Published

2026-10-15

How to Cite

Renaldi, R., Manurung, H., & Sihotang, A. (2026). Design and Implementation of a Waste Cooking Oil Tester for Street Food Vendors using the Rule Based System Method. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 1113–1121. https://doi.org/10.59934/jaiea.v6i1.2927