This is probably an ID10T error. I have a WeatherRack and WeatherBoard paired with an Uno, pretty much everything works as expected, but not the rain bucket.
I use the Grove connection to D4. The anemometer also uses the Grove connection, to D3, and that works fine. I have not tried a different discrete, rung out the bucket cable, nor checked the bucket switch (yet). My assumption right now is that I connected it wrong, or I goofed in my software.
Anyone know of the really basic errors that I can go through before I get into the non-obvious?
Doesn't the WeatherBoard have LEDs that flash when the anemometer is spinning? This is a really old discontinued product, but that's what I recall. If so, then look at the light for the Rain Buck and see if it flashes when you tip the bucket. If it does, then you have a software problem. If not, then maybe your bucket isn't working.
Welp, I got off my butt and dug out my VOM, and I confirmed the switch in the bucket works, and I can see the activation at the RJ11 connector and at the screw terminal for Discrete 4. Even changed to use D2 instead in case there was some issue with 4, that also did not work.
Now, heavily leaning toward code issue. Snippets to come tomorrow.
Figured most of it out. There was a good chunk of ID10T involved, but also a hardware issue.
For the stupid stuff, I was working from some bad ideas about interrupts. The rain bucket was connected to D4, and only D2 and D3 can be mapped to interrupts. When I moved the bucket to D3, it counted just fine.
Without going through the process, I also figured out D2 does not work, at least as far as mapping it to an interrupt. I haven't tried using it for plain old I/O to see if it's completely FUBARed.
I have extra UNOs and MEGAs, so I guess I have to dig one out.