Rain Sensor Module

25,00 DH 28,00 DH

Availability:

329 in stock

SKU: 0141 Categories: ,

Description

Rain Sensor Module

This rain-sensor set has a conductive sensing plate and a control module. Water droplets on the plate reduce resistance between its tracks. The control module converts the sensor signal and provides analog and digital outputs.

Specifications

  • Operating voltage: 3.3–5 V DC
  • Outputs: analog A0 and digital D0
  • Rain-sensor plate dimensions: 54 × 40 mm
  • Control-module dimensions: 30 × 16 mm
  • Sensitivity: adjustable using the onboard potentiometer
  • LED indicators: power and output signal

How it works

When raindrops wet the conductive tracks on the sensing plate, resistance between the tracks decreases. The resulting signal is read by the control module and can be monitored by a microcontroller. The potentiometer adjusts the digital-output threshold.

Applications

  • Rain detection and weather-monitoring projects
  • Automatic irrigation and home-automation projects
  • Water detection and environmental monitoring

Using it with Arduino Uno

Basic example
const int sensorPin = A0; // Broche où le capteur est connecté
int sensorValue = 0;

void setup() {
Serial.begin(9600);
}

void loop() {
sensorValue = analogRead(sensorPin);
Serial.print("Niveau de pluie : ");
Serial.println(sensorValue);
delay(1000);
}
Advanced example with I2C LCD
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);
const int sensorPin = A0;
int sensorValue = 0;

void setup() {
lcd.begin();
lcd.backlight();
Serial.begin(9600);
}

void loop() {
sensorValue = analogRead(sensorPin);
lcd.setCursor(0, 0);
lcd.print("Pluie: ");
lcd.print(sensorValue);
lcd.print("%");
delay(1000);
}
Advanced-example wiring
  • Module VCC: Arduino 5 V
  • Module GND: Arduino GND
  • Module A0: Arduino analog input A0
  • LCD VCC/GND: Arduino 5 V/GND
  • LCD SCL/SDA: Arduino A5/A4

Library installation

For the LCD example, use the Arduino IDE Library Manager to install LiquidCrystal_I2C.

Keywords: rain sensor, FC-37, YL-83, rain detection, humidity sensor, Arduino weather project, home automation.

Thank you for your loyalty!

EN