Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Re: Hydreon double tips

Discussion of this sensor and its uses
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Hydreon double tips

Post by steve »

apenwith wrote:Would it be possible to ignore messages for 75ms after a first message in the software.
Well, yes, as I said earlier it would involve a timer and a threshold for when to accept new 'tips'. It introduces complications to what was originally a nice clean simple implementation.

I'm now starting to get a bad feeling about this; this is why I don't intend to add support for any more weather stations. I always end up having to add hacks to work around shortcomings in the hardware/firmware :(
Steve
apenwith
Posts: 418
Joined: Sun 26 Apr 2009 7:30 pm
Weather Station: w8681 BlakeLarsen Sun Recorder
Operating System: Windows 7 SP1
Location: West Cornwall UK
Contact:

Re: Hydreon double tips

Post by apenwith »

Hi Steve
You've done enough and we are grateful - and as the RG-11 is yet to be proved as really comparable to a good bucket the tip size workaround is fine. I would make the point that users should check the debug log to see if they need that adjustment.
Regards
Alan
duke

Re: Hydreon double tips

Post by duke »

To eliminate possible relay bounce, what would be a good size and type of capacitor?

Duke
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Hydreon double tips

Post by steve »

duke wrote:To eliminate possible relay bounce, what would be a good size and type of capacitor?
As Alan says, it's not quite that simple: http://www.elexp.com/t_bounc.htm

I think that we need more data on the problem - i.e. results from more people - before we can start to understand exactly what's going on.
Steve
duke

Re: Hydreon double tips

Post by duke »

steve wrote:
duke wrote:To eliminate possible relay bounce, what would be a good size and type of capacitor?
As Alan says, it's not quite that simple: http://www.elexp.com/t_bounc.htm

I think that we need more data on the problem - i.e. results from more people - before we can start to understand exactly what's going on.
I think more data won't be a problem over the coming weeks ;) .
You've done enough and we are grateful
Ditto.

Duke
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Hydreon double tips

Post by steve »

I've emailed Hydreon to see if they have any suggestions.
Steve
duke

Re: Hydreon double tips

Post by duke »

EDIT: Steve beat me to it while posting.

Alan,

As you are the only person with this working at the moment, how about emailing Hydreon and see it they have anything to say about the relay closure time and may be pointing them here?

Duke
duke

Re: Hydreon double tips

Post by duke »

@Alan, looking at your results thread, you've obviously eliminated the "double tips". Did you simply half the bucket size in Cumulus?

Duke
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Hydreon double tips

Post by steve »

I've been exchanging emails with Hydreon. They can't see that there's very much to go wrong with the setup we're using, and suggest that perhaps for some reason the leading and trailing edges of the relay closure are both being treated as 'close' indications. They suggest a test involving using a switch instead of the relay, to see if closing the switch has the same effect.

It would be good to get some results from a real serial port, to see if the USB adapter is causing the problem.
Steve
apenwith
Posts: 418
Joined: Sun 26 Apr 2009 7:30 pm
Weather Station: w8681 BlakeLarsen Sun Recorder
Operating System: Windows 7 SP1
Location: West Cornwall UK
Contact:

Re: Hydreon double tips

Post by apenwith »

Hi Steve

I tried shorting out the relay wires and obviously I could not replicate a 50ms closure. What was very odd was that he longer I held my 'relay' closed the more ON's and OFF's I got. So somehow a change message is happening even when there is no change.
Nothing venture nothing gain I put a small electrolitic capacitor (I think about 10uF) across the relay leads and against all reasoning it did seem to improve things. I could then reproduce a proper ON/OFF pair. I'll leave it in place for some real rain and see what happens.
Actually I might get the hose out as rain seems unlikely for a while.
I'll let you know shortly.
Regards
Alan
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Hydreon double tips

Post by mcrossley »

How long is the cable connecting the RG-11 to the serial port?

Do you get the off/on readings if you short out at the serial port end?
apenwith
Posts: 418
Joined: Sun 26 Apr 2009 7:30 pm
Weather Station: w8681 BlakeLarsen Sun Recorder
Operating System: Windows 7 SP1
Location: West Cornwall UK
Contact:

Re: Hydreon double tips

Post by apenwith »

Hi Steve
Now with a wet arm (leaky hose) here is the debug log with the caoacitor installed.

In answer to mrossley - yes I shorted at the usb/serial port end -the RG11 is on roughly a 4M cable.
Regards
Alan
You do not have the required permissions to view the files attached to this post.
User avatar
pete_c
Posts: 228
Joined: Wed 12 Oct 2011 11:22 pm
Weather Station: Davis Vue-Pro2 - Fine Offset
Operating System: W2003-XPSP3-Linux
Location: Time Traveler

Re: Hydreon double tips

Post by pete_c »

Thank you Steve for the integration of the Hydreon RG-11 into Cumulus.

I still have to hook mine up to Cumulus. I currently have a Hydreon RG-11 configured with a Hobby Boards dual counter. I am seeing differences to the Davis Vantage Vue tipping bucket with a little bit of rain yesterday.

The second RG-11 will be configured adjacent to the first one in the next couple of days. Kind of having some drought conditions here lately though.

I rarely get any debounce effects with the other Hobby Boards dual counter I have in place which is covering two water meters.
HobbyBoardsDualCounter.jpg
DavisVantageVue.jpg
You do not have the required permissions to view the files attached to this post.
- Pete
Automator
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Hydreon double tips

Post by steve »

apenwith wrote:Now with a wet arm (leaky hose) here is the debug log with the caoacitor installed.
That looks good. I guess we now know what the capacitor is for, even if we don't know why.
Steve
apenwith
Posts: 418
Joined: Sun 26 Apr 2009 7:30 pm
Weather Station: w8681 BlakeLarsen Sun Recorder
Operating System: Windows 7 SP1
Location: West Cornwall UK
Contact:

Re: Hydreon double tips

Post by apenwith »

Hi Steve
I think Michael's capacitor was relay output to ground - mine is across the two relay wires. In theory it should be holding the high for longer and making things worse if the messages continue while the high is on. Actually I didn't check the polarity - I think I had better do that before anyone else tries it. Still - if it works - more time will tell. I've set the tipsize back to 0.2mm.
Regards
Alan
Post Reply