ย RAIN SENSOR INTERFACE USING ARDUINOย 

 

 

๐ŸŒง๏ธ Rain Sensor Interface with Arduino โ€“ Short Note

Overview:

A Rain Sensor is used to detect the presence and intensity of rain. It is commonly used in weather monitoring systems, smart irrigation, and automatic wiper systems.

โœ…Working Principle:

  • The sensing pad detects water droplets.

  • When it rains, water bridges the conductive lines, reducing resistance.

  • The module outputs:

    • Analog signal (moisture level)

    • Digital signal (rain detected or not, based on threshold)

 

๐Ÿ”ŒConnection:

  • Rain Sensor Module (includes sensing pad and control board)

  • Arduino Board

  • Connecting Wires

 

Rain Sensor PinArduino Pin
VCC5V
GNDGND
D0 (Digital Out)D2 (example)
A0 (Analog Out)A0 (optional)

๐Ÿ”Œ Circuit Diagram:

 

 

๐Ÿ“ Sample Arduino Code:

int sensorPin = 8; // RAIN sensor output pin
int ledPin = 13; //MOTOR to indicate RAIN detection

void setup() {
pinMode(sensorPin, INPUT);
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}

void loop() {
int sensorValue = digitalRead(sensorPin);

if (sensorValue == LOW) {
digitalWrite(ledPin, HIGH);
Serial.println(“Rain Detected”);
} else {
digitalWrite(ledPin, LOW);
Serial.println(“No Rain”);
}

delay(1000); // Delay for readability
}

โœ… Applications:

  • Smart irrigation systems

  • Weather stations

  • Automatic window and roof systems

  • Wiper automation in vehicles

 

๐Ÿ“ž For More Details & Project Support:

 

Power Integrated Solutions
Networks | Electronics | Home Automation | Water Automation | IoT | PLC | Embedded | DBMS

๐Ÿ“ Location:
10A/3, Radhakrishnan Colony,
Sasthri Road, Tennur,
Tiruchirappalli, Tamil Nadu โ€“ 620017


๐Ÿ“ View on Google Maps

๐Ÿ“ง Email:

๐Ÿ“ฑ Phone / WhatsApp:
+91 76393 85448
+91 82488 85959

๐ŸŒ Letโ€™s Build the Future with Innovation in Education & Technology!