The author took a cheap rain measurer and modified it so an arduino could read the data and send it to a controller. Of course I don’t think I would be lucky enough to find one of these for 43 cents like the author did.
http://www.instructables.com/id/Digital-Rain-Fall-Monitor/?ALLSTEPS