The rain sensor module is an easy tool for rain detection. It can be used as a switch when raindrop falls through the raining board.