The experiment is for switching an acoustic sounder as a rain alarm after a predetermine time. It may, however, be tinkered for a number of other applications. Needless to say, this is a simple ...
If you need a truly random event generator, just wait till your next rainstorm. Whether any given spot on the ground is hit by a drop at a particular time is anyone’s guess, and such randomness is key ...