PROTOTIPE SISTEM PENDETEKSI HUJAN BERBASIS ARDUINO UNO MENGGUNAKAN SENSOR RAIN YL-83
DOI:
https://doi.org/10.69714/54rfkd66Keywords:
Arduino UNO, Sensor Hujan YL-83, Buzzer, LED, ATmega328P, IoTAbstract
Rain detection systems are essential in tropical countries such as Indonesia, where sudden rainfall can occur and cause significant losses including wet laundry, localized flooding, and disruptions to outdoor activities. This research aims to design and implement an Arduino UNO-based rain detection prototype utilizing the YL-83 Rain Sensor module. The system employs an ATmega328P microcontroller to process analog signals from the rain sensor through its 10-bit Analog-to-Digital Converter (ADC). When the sensor's ADC reading is less than or equal to 400, indicating the presence of rainwater on the sensor surface, the system activates a buzzer alarm and illuminates a red LED indicator. Conversely, when the ADC value exceeds 400, indicating dry conditions, the buzzer is deactivated and a green LED is illuminated. The circuit was assembled on a breadboard following a Fritzing schematic, with the sensor's AO pin connected to Arduino's A0 analog input, buzzer to digital pin 7, red LED to pin 9, and green LED to pin 8, each LED using a 220-ohm current-limiting resistor. Testing across 15 data points demonstrated 100% detection accuracy in distinguishing rain from non-rain conditions, with ADC values ranging from 230–400 for rain conditions and 501–1023 for dry conditions. The system demonstrates reliable, low-cost performance as a rain detection alert mechanism and offers a strong foundation for future IoT-enabled enhancements such as wireless notification via ESP8266/ESP32 integration..
References
[1] I. Herlambang and L. M. F. Aksara, “Optimisasi Sistem Monitoring Kebocoran Gas LPG Berbasis Internet Of Things Dengan Fuzzy Inference System,” Jurnal Informatika Ilmu Komputer dan Sistem Informasi, vol. 3, no. 1, 2025.
[2] N. Fauza, “Rancang bangun prototipe detektor hujan sederhana berbasis raindrop sensor menggunakan buzzer dan LED,” Jurnal Kumparan Fisika, vol. 4, no. 3, pp. 163–168, Dec. 2021, doi: 10.33369/jkf.4.3.163-168.
[3] R. Pratama, M. Hidayat, and A. Kurniawan, “Implementasi Sistem Monitoring Cuaca Real-Time Berbasis IoT dengan Platform Blynk,” Jurnal Informatika dan Rekayasa Elektronik, vol. 5, no. 2, pp. 98–106, 2022.
[4] A. Kadir, Arduino dan Sensor. Yogyakarta: Andi Offset, 2018.
[5] M. Haldi Widianto, “Pengaplikasian sensor hujan dan LDR untuk lampu mobil otomatis berbasis Arduino Uno,” RESISTOR (elektRonika kEndali telekomunikaSI tenaga liSTrik kOmputeR), vol. 1, p. 79, Nov. 2018, doi: 10.24853/resistor.1.2.79-84.
[6] A. Widodo and A. Sumaedi, “Prototipe Deteksi Hujan Berbasis Arduino Uno Menggunakan Rain Drop Sensor Module,” Jurnal Teknik Informatika STMIK Antar Bangsa, vol. 9, no. 1, pp. 18–24, 2023, [Online]. Available: https://ejournal.antarbangsa.ac.id/jti/article/view/506.
[7] R. Pratama, M. Hidayat, and S. Wulandari, “Sistem Monitoring Cuaca Berbasis IoT Menggunakan NodeMCU ESP8266 dan Sensor DHT22,” Jurnal Teknologi dan Sistem Komputer, vol. 10, no. 3, pp. 125–132, 2022.
[8] A. D. Darusman, M. Dahlan, and F. S. Hilyana, “Rancang Bangun Prototype Alat Penjemur Pakaian Otomatis Berbasis Arduino Uno,” Jurnal SIMETRIS: Jurnal Teknik Mesin, Elektro dan Ilmu Komputer, vol. 9, no. 1, pp. 513–518, 2018, [Online]. Available: https://jurnal.umk.ac.id/index.php/simet/article/view/2077.
[9] D. Artanto, Interface Sensor dan Aktuator Menggunakan Arduino. Yogyakarta: Deepublish, 2017.
[10] A. R. Hakim, S. Lailiyah, and F. A. Suntoro, “Prototipe Penjemur Pakaian Otomatis Berbasis Arduino Uno,” JUST TI, vol. 10, no. 1, pp. 16–21, 2018.
[11] Y. M. Dinata, Arduino itu Pintar. Jakarta: PT Elex Media Komputindo, 2016.
[12] B. H. Sanjaya, A. Pujiyanta, and R. Dwi Puriyanto, “Rancang Bangun Sistem Monitoring Arduino yang Terintegrasi SCADA dan Basis Data Menggunakan Metode Komunikasi Serial,” SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 8, no. 2, pp. 269–280, 2025.
[13] A. Rahmat and B. Irawan, “Studi Komparatif Sensor Hujan Kapasitif dan Resistif untuk Aplikasi Pertanian Presisi,” Jurnal Rekayasa Elektrika, vol. 19, no. 1, pp. 45–52, 2023.
[14] O. Rachman, Panduan Praktis Membuat Robotik dengan Pemrograman C++. Yogyakarta: CV Andi Offset, 2012.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Jurnal Riset Teknik Komputer

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










