×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Weather radio don't want connect

1 month 4 weeks ago
G_Gagnon
Expert Boarder
Expert Boarder
Posts: 149
Karma: 2
More
Weather radio don't want connect #57439
From what I have read on the RG-11, you likely need a pull-up resistor at the RG11_PIN input of the HUZZAH. A 4.7k or 10k resistor connected to the HUZZAH 3.3 volt supply may be all that's needed, even though you specified INPUT_PULLUP with pinMode (internal pull-up may be too weak). The other output pin of the RG-11 would go to ground so, either the signal would float high with the pull-up, or would be brought to ground.

The other thing I noticed is that 'RG11_PIN' does not seem to be defined in rg11.h. It may be defined elsewhere but it's not clear.
The following user(s) said Thank You xthestreams

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
xthestreams
Expert Boarder
Expert Boarder
Posts: 132
More
Weather radio don't want connect #57454
Thanks for the input - yes, the constants are defined in config.h per Wolgang's original. I'm not actually testing using the RG-11 just yet, thought I would get my logic and programming right on the desk before I move to the actual unit - the RG-11 works by closing a relay when rain is detected so it's a pretty simple "switch" - which I am planning on running in an NO configuration - closing on rain - but do you think I can get my code to work reliably? Not sure if it's an electrical thing or a programming thing or both!

GSO Ritchey Chretien 12" Truss | SkyWatcher ED72 | Celestron C14
ZWO ASI 183MC Pro | ZWO ASI290MM | ZWO ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME (needs some loving)
Nexdome | SQM LE | Ultimate Power Box V2 | Spike-a-Flat
Angry missus

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago
xthestreams
Expert Boarder
Expert Boarder
Posts: 132
More
Weather radio don't want connect #57455
I figured it out! I forgot that teh weatherradio firmware has a delay between changes in state and reporting it and of course I was looking for short term changes - silly me!

I've adjusted the code - I'll spend a little time tidying it up and documenting it and then send to Wolfgang for testing/regression before embarking on the driver itself.

Looking forward to knowing that the contents of my dome remains dry!

GSO Ritchey Chretien 12" Truss | SkyWatcher ED72 | Celestron C14
ZWO ASI 183MC Pro | ZWO ASI290MM | ZWO ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME (needs some loving)
Nexdome | SQM LE | Ultimate Power Box V2 | Spike-a-Flat
Angry missus

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds