design and construction of a rain detector (alarm) pdf