Detection of Oil in Water Using Photodiode and Internet of Things

Authors

  • Nur Nazifa Che Samsuria
  • Wan Zakiah Wan Ismail
  • Mior Fakhrul Hazim Mior Abdul Halil
  • Nor Azlina Ab Aziz Multimedia University
  • Anith Khairunnisa Ghazali
  • Wan Maryam Wan Ahmad Kamil

Keywords:

Oil detection, light sensor, real time monitoring

Abstract

Oil spills in irrigation ditches can have severe environmental and agricultural consequences. We proposes a system that can detect oil spill using a photodiode and an Internet of Things (IoT) platform to enable real-time monitoring. The system integrates a blue light-emitting diode (LED), a photodiode, and an ESP32 microcontroller, which measures resistance changes as an indicator of oil presence in water. Experimental evaluations were conducted by varying the distance between the light source and sensor (6 cm to 9 cm), oil volume (50 mL to 200 mL), and exposure time (1-6 hours). Results indicate that resistance values for oil-free water range from 300 kΩ to 500 kΩ, while oil-contaminated water consistently exhibits resistance below 18 kΩ. The optimal distance for accurate oil detection was determined to be 8 cm, maintaining stable resistance values. Increasing oil volume and prolonged exposure time reduced light penetration, causing a decrease in resistance. Real-time monitoring via the Blynk application provides immediate alerts when oil is detected. The proposed system offers a low-cost, efficient, and scalable solution for early oil spill detection in agricultural irrigation systems, minimizing environmental damage and improving water quality management.

Downloads

Download data is not yet available.

Downloads

Published

18-07-2025

Issue

Section

Special Issue 2025: MECON2024 (E)

How to Cite

Nur Nazifa Che Samsuria, Wan Zakiah Wan Ismail, Mior Fakhrul Hazim Mior Abdul Halil, Ab Aziz, N. A., Anith Khairunnisa Ghazali, & Wan Maryam Wan Ahmad Kamil. (2025). Detection of Oil in Water Using Photodiode and Internet of Things. International Journal of Integrated Engineering, 17(2), 66-81. https://penerbit.uthm.edu.my/ojs/index.php/ijie/article/view/19416