Im busy building a arduino based weather station and have got myself a rain gauge and a wind anemometer.
The rain gauge is a bucket system which triggers a reed switch and according to the data sheet 1 bucket = 0.2794mm of rain.
The anemometer works similarly where a wind speed of 2.4km/h causes once switch closure per second.
Its all wired up and I can detect the triggering of the reed switches but now comes actually part of calculating the rainfall/wind speed which is where I'm getting lost.
For both would the best be to count the number of pulses in 60 secs and then display wind speed for that 60 sec period, and also display mm of rain in 60sec? I think the more samples takes the better - should I maybe count them for 3 mins?
How do these commercial units achieve this? Do they count the number of pulses? Take the time between pulses?
The rain gauge is a bucket system which triggers a reed switch and according to the data sheet 1 bucket = 0.2794mm of rain.
The anemometer works similarly where a wind speed of 2.4km/h causes once switch closure per second.
Its all wired up and I can detect the triggering of the reed switches but now comes actually part of calculating the rainfall/wind speed which is where I'm getting lost.
For both would the best be to count the number of pulses in 60 secs and then display wind speed for that 60 sec period, and also display mm of rain in 60sec? I think the more samples takes the better - should I maybe count them for 3 mins?
How do these commercial units achieve this? Do they count the number of pulses? Take the time between pulses?