Rain Detector

Do you need a roof that suddenly open during rain? or do you need to detect rain fall and keep your cloth in? If it’s yes, then you should see how this rain sensor module works. The sensor plate has 2 PCB tracks which routed parallel around it. These tracks are not connected, but when water/rain drop to the surface of plate and changes the resistance between the tracks because water/rain is conductive, this further changes the resistance between tracks and lower down the resistance. More water/rain touches the plate and the resistance become lower. 

HARDWARE PREPARATION

This tutorial use :

  1. Maker UNO
  2. Rain Sensor Module
  3. TowerPro SG90 Micro Servo x2
  4. USB Micro B Cable

You can make the hardware connection based on the diagram and table below.

Connection
Servo1 : VCCMaker UNO: 5V
Servo1 : GNDMaker UNO: GND
Servo1 : A0Maker UNO: Pin 11
Servo2 : VCCMaker UNO: 5V
Servo2 : GNDMaker UNO: GND
Servo2 : A0Maker UNO: Pin 10
Rain Sensor : VCCMaker UNO: 5V
Rain Sensor : GNDMaker UNO: GND
Rain Sensor : A0Maker UNO: Pin A0
Rain Sensor : DOMaker UNO: NC

Sample Code

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

4 thoughts on “Rain Detector”

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Display Temperature and Humidity on OLED using DHT22 and Arduino
Getting Started With Teensy Using Arduino IDE
Night Light
Arduino Device Tracker Using GSM GPS SIM7600E Module
Chocolate Box with Touch Sensor and Arduino
Scroll to Top