DIYables Rain Sensor for Arduino, ESP32, ESP8266, Raspberry Pi, 5 Pieces…
Click to zoom




Quick Overview
The DIYables rain sensor module effectively detects rainfall, allowing you to monitor weather conditions and automate actions in response to rain. It uses a detection board that senses water droplets and changes its output accordingly.
The module provides both analog voltage output for measuring rain intensity and digital switch output for simple rain/no-rain detection. Sensitivity is adjustable via a built-in potentiometer. It works with Arduino, ESP32, ESP8266, Raspberry Pi, and other 3.3V-5V microcontrollers for weather stations, irrigation systems, and outdoor automation.
Key Features
- Rain Detection — Effectively detects rainfall for weather monitoring and automation
- Adjustable Sensitivity — Built-in potentiometer for fine-tuning detection threshold
- Dual Output — Both analog voltage and digital switch outputs
- Wide Voltage Range — Compatible with 3.3V to 5V power supply
- Weather Automation — Ideal for automatic window closers, irrigation control, and outdoor alerts
- Presoldered and Not Soldered Options — Provided in presoldered and not soldered versions for selection
- Tutorial Support — Comprehensive tutorials and MicroPython support for Arduino, ESP32, ESP8266, Raspberry Pi, and Pico
- ...NOTE
- If you are using the ESP32, you need to configure the ADC with 11 dB attenuation to set the voltage reference range to handle up to 3.3V.
- ...NOTE
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Rain Sensor Module |
| Output Type | Analog and Digital |
| Operating Voltage | 3.3V - 5V DC |
| Output Voltage (Analog) | 0 - VCC |
| Output Level (Digital) | HIGH/LOW (adjustable threshold) |
| Sensitivity Adjustment | Built-in potentiometer |
| Detection Type | Water droplet detection |
| Detection Board Size | Approx. 60mm x 40mm |
| Control Board Size | Approx. 30mm x 15mm |
Tutorials
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.)
- ESP32 development boards
- ESP8266 (NodeMCU, Wemos D1, etc.)
- Raspberry Pi (all models)
- Raspberry Pi Pico
- Any microcontroller with analog/digital input (3.3V-5V)









