Hello, I've purchased the WeatherBoard and Weather Sensors and successfully setup up all together on my Raspberry Pi 3. I say successfully because I'm getting readings of wind speed, pressure and temperature and ... rain gauge, even when is not raining.
My rain sensor keeps reporting false positives and sending to wunderground wrong readings. I've attached an image with the graphs that are being produced.
There are so many things that could be going wrong here. Here are some possibilities:
1) You mast isn't very solid and it is blowing in the wind triggering the Rain Bucket
2) You have a bunch of electronic noise. One thing you can do with that is make the pullup resistor (from the RainBucket line - see the spec, to VDD) stronger (lower resistance - say add 10K ohm resistance
3) Something is wired wrong = it looks like it is continuously triggering. Sounds like #2 to me.
I've been all the weekend around this subject but still without satisfactory results.
Here what I did: - add 10Kohm pullup resistor between rain bucket and VCC - Replace the rainbucket cabling and even solder the wires to reduce all possible contact noise - Read some articles about Raspberry pi GPIO debouncing and notice that you're already considering boucing compensation parameters on your code of 40ms
Question, I found some recommendations to add 0.1uF capacitor between GPIO pin and Ground, didn't try because I didnt have it. Do you recommend it?
Besides that I'm out of options. Is it possible that this is happening only to me? I cann't find any post regarding this specific problem.
My mind is blowing with this subject. Still having false positives on rain measurements.
Now I've tried: - change raspberry's to version 2 and version 1, all with the same result as raspberry 3. So, not the rasp. - Disconnected de Bucket and leave the 10Kohm charge, same result. So, not de bucket - changed the software parameters do force pullup GPIO.setup(rainPin, GPIO.IN, pull_up_down=GPIO.PUD_UP). same result - Tried de 0.1uF capacitor between rainPin and ground, same result - Tried several GPIO pins, same result
and now: - disconnected the rainPin on raspberry that comes from WeatherBoard, no more false readings.
Might be a problem on my WeatherBoard that would send some noise to the raspberry rain Pin? Can I replace it somehow?