Most rain gauges just use a graduated cylinder to capture water as it falls from the sky. That will give you a reasonably accurate measure of how much it rained, but it tells you nothing about how ...
It isn’t that hard to make an electronic rain gauge if you have a steady source of power or you don’t mind changing batteries ...