Your shopping cart is empty!
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 :
You can make the hardware connection based on the diagram and table below.
Connection | |
---|---|
Servo1 : VCC | Maker UNO: 5V |
Servo1 : GND | Maker UNO: GND |
Servo1 : A0 | Maker UNO: Pin 11 |
Servo2 : VCC | Maker UNO: 5V |
Servo2 : GND | Maker UNO: GND |
Servo2 : A0 | Maker UNO: Pin 10 |
Rain Sensor : VCC | Maker UNO: 5V |
Rain Sensor : GND | Maker UNO: GND |
Rain Sensor : A0 | Maker UNO: Pin A0 |
Rain Sensor : DO | Maker 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.