This sketch will create two devices on your vera controller.
Tipping bucket rain gauge arduino code.
The device works by funneling rain water onto a tipping bucket which resembles a teeter totter with each end having a bucket that hold approx 2 ml of rainwater when one side fills up the bucket tips and rainwater begins collecting in opposite bucket.
In my gauge 100 ml of water slowly poured.
Anyway they should be about the same the amount is not critical but i set mine for 5 ml.
Assembling the rain gauge.
We use this increment the bucket count and the amount of rain that has fallen.
Arduino tipping bucket rain gauge.
Introduction in this instructable we construct a rain gauge with arduino and calibrate it to report daily and hourly rainfall.
Conversion of bucket tip events to mm of rain is can be done in a spreadsheet or in code.
Arduino rain gauge calibration.
As far as the arduino is concerned the rain sensor appears as a switch.
It came from a damaged personal we.
Set interval to read rain gauge void rain int.
This value will be needed in the arduino sketch.
When rain is detected it will generate a interrupt that we handle in the sketch.
My problem is that blynk only catches the pulse randomly even though i have a timer set to fire every 10 ms.
The rain collector i am using is a re purposed rain gauge of the tipping bucket type.
I think raising the screw will increase the amount needed to tip the bucket.
This sketch will create two devices on your vera controller.
One will display your total precipitation for the last 24 48 72 96 and 120 hours.
This is the part of the code that controls it.
The statechangedetection example sketch in the arduino editor was adapted to register a bucket tip.
This is a tipping bucket rain gauge based on rain gauges that are used by professional meteorologists.
Rainfall mm rain gauge collection area cm2 x volume of water cm3 or ml needed to tip the bucket x 10.
The other a sensor that.