Implementation of the MQ-135 Sensor for Early Detection of Oil Spills in the Waters of Pertamina Port Ampenan
DOI:
https://doi.org/10.33387/protk.v13i2.10673Keywords:
Oil Spill, MQ-135 sensor, ESP32.Abstract
The operation of a fuel (BBM) terminal cannot be separated from the existence of facilities for loading and unloading activities. This loading and unloading activity have the potential risk of oil spills in the waters caused by overϐlow leaks in ships, hoses and fuel transfer pipes. Large oil spills must be dealt with immediately so that they do not result in environmental pollution or ϐire hazards. Digital image processing and radar are methods that are often used to detect oil spills in waters, but these methods have disadvantages if environmental visibility is poor and cannot differentiate the type of oil that is spilled, where some types of oil must be handled using different procedures. This study proposes a low-cost, in-situ vapor-based discriminative detection approach using an MQ-135 resistive gas sensor array and an ESP32 data-acquisition node to distinguish gasoline vs diesel vapors in a submerged-fuel mixing testbed. Compared to conventional methods such as radar imaging [1], [2] and fluorometry, this technique provides localized, near-source detection that is inexpensive and suitable for buoy deployment. The proposed method demonstrates reliable classification using calibrated Rs features. The measurement experiments carried out on diesel fuel and gasoline, data obtained on changes in the internal resistance of the MQ-135 sensor was 45.26kΩ to 72.39kΩ with an average of 55.17kΩ for diesel oil type fuel, and 4.86kΩ to 20.31kΩ with an average -an average of 11.27kΩ for gasoline type fuel.
Downloads
References
H. Jafarzadeh, M. Mahdianpari, S. Homayouni, F. Mohammadimanesh, and M. Dabboor, “Oil spill detection from Synthetic Aperture Radar Earth observations: A meta-analysis and comprehensive review,” GIScience Remote Sens., vol. 58, no. 7, pp. 1022–1051, 2021, doi: 10.1080/15481603.2021.1952542.
Y. Zhang et al., “Oil Spill Detection with Dual-Polarimetric Sentinel-1 SAR Using Superpixel-Level Image Stretching and Deep Convolutional Neural Network,” Remote Sens., vol. 14, no. 16, p. 3900, 2022, doi: 10.3390/rs14163900.
R. N. Vasconcelos, A. T. C. Lima, C. A. D. Lentini, J. G. V Miranda, L. F. F. de Mendonça, and J. M. Lopes, “Deep Learning-Based Approaches for Oil Spill Detection: A Bibliometric Review of Research Trends and Challenges,” J. Mar. Sci. Eng., vol. 11, no. 7, p. 1406, 2023, doi: 10.3390/jmse11071406.
A. Bonnington, M. Amani, and H. Ebrahimy, “Oil Spill Detection Using Satellite Imagery,” Adv. Environ. Eng. Res., vol. 2, no. 4, 2021, doi: 10.21926/aeer.2104024.
K. Li, H. Yu, Y. Xu, and X. Luo, “Detection of oil spills based on gray level co-occurrence matrix and support vector machine,” no. December, pp. 1–15, 2022, doi: 10.3389/fenvs.2022.1049880.
F. Akhmedov, “Developing a Comprehensive Oil Spill Detection Model for Remote Sensing Imagery Using Deep Learning,” Remote Sens., 2024.
O.-K. et al., “A near real-time oil spill detection and early warning system,” in Environmental Crimes & Remote Sensing, 2024.
H. J. El-Khozondar, “Low-cost ESP32 IoT monitoring systems for environmental sensing,” Sensors, vol. 24, no. 15, p. 6739, 2024, doi: 10.3390/s24156739.
D. M. Maia, “IoT leak detection for pipelines: architectures and case studies,” Sensors Actuators A Phys., 2024.
Y. R. Carrillo-Amado, M. A. Califa-Urquiza, and J. A. Ramón-Valencia, “Calibration and standardization of air quality measurements using MQ sensors,” J. Eng. Sci., 2021.
W. Song, “Automatic detection of marine oil spills from polarimetric SAR using DCNN,” J. Mar. Sci. Eng., 2024.
M. Kumar, G. Mishra, A. Sharma, A. Shaini, and S. Saxena, “Air Quality Monitoring Using MQ135 Gas Sensor and Arduino Uno,” Int. J. Latest Technol. Eng. Manag. Appl. Sci., vol. 14, no. 5, 2025, doi: 10.51583/IJLTEMAS.2025.140500119.
M. S. Bhosale, N. M. Kulkarni, A. D. Shaligram, and S. Putsake, “Measurement Of CO2 Gas Concentration Using MQ135 Sensor For Air Pollution Monitoring,” Res. Prepr., 2023.
NASA Applied Sciences Program, “Part 3 – Oil Spill Detection.” 2022.
M. E. Karar, A. M. Al-Masaad, and O. Reyad, “GASDUINO-Wireless Air Quality Monitoring System Using Internet of Things,” arXiv, 2020.
P. Duan, X. Kang, and P. Ghamisi, “Hyperspectral Remote Sensing Benchmark Database for Oil Spill Detection with an Isolation Forest-Guided Unsupervised Detector,” arXiv, 2022.
A. Huby, R. Sagban, and R. Alubady, “Oil Spill Detection Based on Machine Learning and Deep Learning: A Review,” in Proc. 5th Intl. Conf. Engineering Technology and its Applications (IICETA), 2022, pp. 85–90. doi: 10.1109/IICETA54559.2022.9888651.
H. V Abhijith and H. S. Rameshbabu, “Secure Data Transmission Framework for IoT-based Oil Spill Detection Application,” Int. J. Adv. Comput. Sci. Appl., vol. 12, no. 5, 2021, doi: 10.14569/IJACSA.2021.0120523.
Anonymous, “IoT Based Gas / Water Leakage Detection System for Pipes Laying in Smart Cities,” Int. J. Adv. Sci. Tech. Res., 2024.
Anonymous, “Energy-, Cost-, and Resource-Efficient IoT Hazard Detection System with ESP32-CAM,” Sensors (MDPI), 2024.
Downloads
Published
How to Cite
Issue
Section
License
Copyright & License
Copyright, licensing, and reuse terms for articles published in Protek: Jurnal Ilmiah Teknik Elektro
1. Copyright
Authors who publish in Protek: Jurnal Ilmiah Teknik Elektro retain the copyright of their work. Copyright of each article is vested exclusively in its authors.
2. License
Articles in Protek are published under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0). Anyone may share and adapt the work under the following terms:
3. Author's Warranties
By submitting a manuscript, the author warrants that the article:
- is original and has not been published before;
- contains no unlawful statements;
- does not infringe the rights of others;
- is subject to copyright vested exclusively in the author(s); and
- includes any necessary permissions to quote material from other sources.
4. User Rights
Under CC BY-NC-SA 4.0, users may copy, distribute, display, and perform the work for non-commercial purposes only. When distributing the work, users must give proper credit to the authors and to Protek as the original place of publication.
7. Royalties
The parties agree that no royalties or other fees are paid to the authors for publication. To the extent legally permissible, authors waive any claim to royalties for the publication of their article.
8. Miscellaneous
- Protek publishes the article in electronic form and makes it freely available to the public, without charge to readers.
- The editors may modify the article to conform to the journal's style, including punctuation, spelling, capitalization, referencing, and usage.
Questions about copyright or licensing can be sent to protek@unkhair.ac.id. See also the Open Access Policy and Publication Ethics.

