Rain Detector Sensor YL-83

It uses droplet detection instead of signal-level threshold — NaveTECH & UNIR Series — Episode # 02

J3
Jungletronics
2 min readJan 4, 2024

--

In this sketch, our goal is to create a simple rain detector — a basic version for now (V1). In the future, we plan to introduce a crucial feature that will enhance the accuracy of intensity calculations. Stay tuned for updates!

Based on: https://randomnerdtutorials.com/guide-for-rain-sensor-fc-37-or-yl-83-with-arduino/

The rain detector sensor is strategically positioned at a 45° angle. The innovative design, coupled with an internal heating element, ensures rapid surface drying. This feature is crucial for accurate intensity calculations. In this initial version, we aim to create a straightforward detector. Welcome aboard ☂!

We’ve gathered materials to craft an exceptional prototype. The ultimate design calls for metal sheets painted black, possibly in reduced dimensions. Let’s focus on testing our proof of concept for now 😁.

Parts required

For this example, you’ll need:

How does it work?

When the board is on:

  • Wet: the resistance increases, and the output voltage decreases; only the Green LED goes on.
  • Dry: the resistance is lower, and the output voltage is higher; only the Red LED goes on.

The code:

The video:

This brief video provides a close-up view of both dry and rainy conditions. Take a look at the multimeter and observe the corresponding output in the computer terminal via serial communication. Please watch for details.
Details of the rain simulation lab setup construction, utilizing plastic from our preferred headphones as a key component. 💦 Screws and nuts and dentist’s rubber to isolate.
Above is the Fritzing schematic provided for your convenience.
Specifics regarding the interspace designed to allow unrestricted wind flow, isolated by elastic materials to prevent any electrical contact with the plate. Hot glue was used. Use a Dental Elastic Rubber Band.
Simply by inverting the plate installed outside, we conducted a real rain test. Take a look at the extension cable below…
The extension cable. We use a phone cord and change the terminals using 2.54mm (0.1") Pitch Female & Male Connector 2 Position

👉GitHub repo

Credits & References

Guide for Rain Sensor FC-37 or YL-83 with Arduino by randomnerdtutorials.com

YL-83 Rain Sensor by https://makeradvisor.com/

Rain Detector DRD11A by vaisala.com

Yl-83 Rain Detector datasheet by vaisala.com

Capacitive Sensor and Transducer and Its Applications by electricaltechnology.org

Interfacing LM393 Voltage Comparator Module with Arduino by electropeak.com

--

--

J3
Jungletronics

😎 Gilberto Oliveira Jr | 🖥️ Computer Engineer | 🐍 Python | 🧩 C | 💎 Rails | 🤖 AI & IoT | ✍️