I was using weather binding (Wunderground). I had some forecast on HabPanel and I used current weather status, for example if there is a rain, for few simple rules, which has something to do with pool filtration and garden outlets. The idea was simple – if there is a rain, do not allow to run, or if itůs running, switch off any device on garden due to safety. But sometimes I realized, that current weather status can’t be very accurate, for example when fleeting comes very quickly. The milestone, when I realize to do it better way comes hand by hand with announcement, that Wunderground is not free anymore.
Because I had few ESP8266 in my house already, I decided to use it again. Source code is very simple, there is one digital and one analog from rain sensor and one input is used for Dallas temperature sensor. Communication to my OpenHab is realized thru Wi-Fi and MQTT.
After some time, I realized to use analog output from rain sensor rather than digital. Digital output for rain should be tuned with trimmer (HW based), but it’s more comfortable to read analog output and make a threshold on OpenHab (SW based).
This solution is no “rocket science”, but very simple solution, which can inspire others. And yes, it can be done better. Let’s say, it’s a development prototype This is why the HW design looks as it looks.
It’s done by melting glue gun, not a silicone, but you were close enough. And it’s blue, because there was only one blue gun stick left at my box that time
I figured out that even though my products aren’t perfect, I don’t have to be ashamed to publish them. So tommorow I’d like to share my next prototype.
this pad is holding nicely and not (yet) oxidizing.
Good thing is it’s double sided and really well made.
Rest of it is standard and works like any other.
then I’m having couple of these:
but those are kind of same as OP have, they do oxidize bit slowly, but they do.
Probably best option to measure rain is to avoid those sensors completely and make siphon, which has got non of the electronic parts exposed to water and on top of it it can measure amount of rain.
In truth, I plan on a complete rewrite. Someday I’ll have time…
It works flawlessly and that is what she cares about. What happens in the inside of the garage looks like she doesn’t care about. I don’t have a picture of the current version but it’s an RPi in a case mounted to the wall. All the wires are nicely stapled to the wall. But the camera is supported by an arm hung on the wall and the relays are just mounted out in the open. It’s not ugly but I’d like it to be more self contained.
Most of the DIY weather stations I’ve seen use a tipping bucket.
After first rain the sensor reports permanent rain. I paint back side and top side of the sensor and now it’s ok. But as you can see from picture, oxidation is here and it’s no way back process. As I can see, the link for other sensor you mentioned is down there, tahnks for it.
I experimented with own pad as well. Basically you need just two wires close to each other so water can shorten the circuit. Some wires are made from non oxidizing metal. It kind of worked, but my design was tiny bucket to reach some sort of amount of water (as i wanted to measure bigger rain and not just few drops or morning moisture) so it was quite quickly full of leaves and dirt and reported no rain at all
But better design, two wires or some mesh and you really dont need any of these pads. Just use that module and voala…
Do you have any links to a DIY version or affordable sensor. The only thing I can find is a picture of what looks like a DIY one and a $450 one for sale on Alibaba. I can replace a whole bunch of tipping buckets for $450.
I’d like to see how they work. This is the first I’ve heard of this type of sensor.
Very nice. I was searching for the wrong thing. I may have convinced my wife that we need a 3D printer so this can become an option. But if not, I can always order a print through Thingverse or borrow the printer at the local library.
I’ve always wanted to build a weather station. Thanks for the link! This looks simpler to build than the tipping meters. Now to find an easy way to build a snow gauge. That’s probably the hardest of the sensors because it needs moving parts and a heater.
wouldnt be better to measure distance with ultrasonic sensor rather than converting it to rain? eg xy mm of snow could be measured quite easily i guess
The heater isn’t to convert it to rain. The heater is to heat the snow bucket so when it tips all the snow dumps out.
I thought about an ultrasonic depth sensor but I don’t know if I have a good place to sense that isn’t affected by the wind. In a blizzard parts of my yard will be blown clear and others will have 2-3 feet of snow drifts with a total snowfall of 6". We get a lot of blizzards and I’m not keen on building a snow sensor that only works half the time. I’m not sure that a bucket snow sensor would work that well either, but I haven’t thought as much about that. I need to put a jar out this winter and see how it captures snow in the wind.