Jump to content

Banner.jpg.b89429c566825f6ab32bcafbada449c9.jpg

DIY cloud and rain sensor with ascom support?


Corpze

Recommended Posts

Question re uploading Arduino Code.

I assume I can download  the Onewire and i2cmaster libraries from the web via a search but

the two sketch files: instruction says . . .

"Save the code and put the Command.ino -file in the same folder as the CloudSensorEvoPlus.ino

You can now compile and upload the code to the Arduino"

Can someone clarify - If I put the two files into one folder, do I just load the content from this folder into the uploader

and it will place both on the Nano?

Sorry - just I have not come across having to upload 2 ino files

Thanks

Trev

 

Link to comment
Share on other sites

  • 2 months later...

I've only recently started to automate my observatory & this looked like a good addition, have built this but can't figure out why the IR sensor sky temperature reading steadily decreases over time... has reached minus 193 degrees C tonight (it's been as low as minus 268C when on for a longer period) while pointing at a clear sky, I'm approx. 20M above sea level!

Hope someone with an answer will spot this...

 

Peter

1766728083_CloudRain_sensors.jpg.497cb735e5a1e65173c5504f3981f700.jpg

2069166735_CloudRainsensors.jpg.d4bf94d057c2474bbe72c2863b691944.jpg

Link to comment
Share on other sites

Very odd. I have two of these sensors and they don't do that. Coldest is -30 or so. 

Also, I don't understand why the delta is useful. The sky temp is the sky temp regardless of local ambient. It can be clear at 5 degrees if the wind is from the south and cloudy at -5 if the wind is from the north. 

Link to comment
Share on other sites

Thanks for the reply skybadger, your info gives me some idea of what I should be seeing. 

After more testing I'm wondering if heat inside the box is having an adverse effect on the readout... l've included a couple of images of my build this includes a heatpad for drying the rain sensor, first picture pointing at a white ceiling about 5M from a window the ir reading starts out around 17C & drops to 4C in a couple of hours with a consultant room temp. of 21C. 

I'm now thinking I should have used a bigger box as everything's a little cramped & when running opened up the ir temp readout is more stable, see last picture... any thoughts insights on this? 

Peter IMG_20220207_153957_edit_413349655085364.thumb.jpg.518ab69ec93d9a8d5aecf195d9775148.jpgIMG_20220207_154423_edit_413569226361893.thumb.jpg.81b027f1ac7919349d4e3f057c154d83.jpgIMG_20220207_160742.thumb.jpg.431cc13d5d00a38cbf2b51dedde31a2d.jpg

 

Link to comment
Share on other sites

Just a thought,

why not leave the lid off to test it in your house, prop it up someway. Add/Or maybe discount heat pad. 
 

Looks the job 👍

Just read you post again 🙃

temp dropping to 4’c , now that doesn’t make sense. 
It would have to get quite warm in the box for circuits to go wacky?  

Edited by Padraig
Link to comment
Share on other sites

Decided to take some action... I have two identical boxes so rather than trying to separate the mounted sensors, I've used the empty base with them & added a wall of closed cell packing material insulating ir sensor from the heat pad as in the picture.       The arduino & other boards staying as is with a plain lid... probably unnecessary as I'm thinking I'll keep the box of electronics in the warm room & just put the connecting cables through the wall along with the air temperature sensor. 

Peter

IMG_20220207_224433_edit_421191661973750.thumb.jpg.cc2d10d80f9d1644c808043ee3b67b41.jpg

Link to comment
Share on other sites

I think the arduino nano has com port issues, it disconnected when running a (cloudy night) test & now I get this error;

2115536504_CloudRain_sensors_connectionissue.jpg.20f597fe5ded9994e4ecb8356918f3ec.jpg

I'm using a USB port on the nano, just wondering if it's a possible to wire it with a serial connection & use a separate serial to USB converter if that parts shot on the nano?

Before this issue the IR sensor showed a stable minus -12 to -15C, no more runaway... thinking now the heat pad should have its own power supply!

 

Peter

Link to comment
Share on other sites

  • 4 months later...

I don't know if anyone is still following this post. But I'll try anyway.

 

I am a complete novice with regards to Arduino and everything related. Nevertheless I thought this project looked super cool and therefore wanted to try it. 

I started ordering the necessary parts, already sucessfully connected the arduino nano to the ambient temperature sensor and was able to verify it working with some simple temperatur-read-out code. 

 

However, when I tried compiling the Clourdwatcher Evo Plus code (Evoplus.ini and Command.ini being in the same folder and having installed the necessary libraries) I get quite a long error message. 

 

Now I don't know, wether I overlooked something obvious or missed any step in between. Since the code is working for everybody else I figure this is the most likely cause...

Is someone able to make sense of the error message?

Cloudwatcher Evo Plus Error Message.txt

Link to comment
Share on other sites

Delete the ends of the lines by backspacing the next into it and then re_adding a newline to reintroduce the original line structure. 

Or use a tool like sed to delete all those characters at the end of a line e.g.

s/∆.*[0x387,]$/' '\n/r

Is my guess at what that would be. 

 

 

Link to comment
Share on other sites

A little update on my part:

Your tip, that git has different export modes, made me export everything in "Raw". Now the code looks much better. The many problems were gone.

However, it kept missing a library "i2cmasters". This, unfotunately, was not present in the Arduino library manager. After hunting for it on the internet, installing Visual Studio to create the Header-files, etc. I was finally able to install the library. 

However, it keept flashing a new error message: 'i2c_init' was not declared in this scope. After some more searching, it turns out, I pobably installed the incorrect i2cmaster.h file. 

Now having hopefully found the right code, the old error message vanished, to be replaced with a new one... 

 

What can I do to stop the "repeating definitions"? The problems start in line 200

Cloudwatcher Evo Plus Error Message 2.txt

Link to comment
Share on other sites

  • 1 year later...

Hello

 

It's been a lot time for this thread. I have built this safety sensor, with arduino NANO.

 

I am receiving continuously positive temperatures of the sky, and my friends that have another sensors, say me that the normal is to have negative temperatures of the sky. By the other hand, temperatures fluctuates a lot between readings (from lets say 0 and 8ºC). Is this behavioour normal?

 

thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.