×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Building the induino MeteoStation with 3d printed housing

  • Posts: 62
  • Thank you received: 12
Hello to everybody,

I would like to ask how you have set up AAG Cloudwatcher formula.
I have great differences between winter and summer.
In winter, the corrected sky temperature of the clear sky was -25 and now it is -13 in summer.
The URL link to the AAG Cloudwatcher formula is not working.
Formula Tcorrection = (K1 / 100) * (Thr - K2 / 10) + (K3 / 100) * pow((exp (K4 / 1000* Thr)) , (K5 / 100))

Do you know the meaning of the K1-K5 constant?
#define  K1 33.
  #define  K2 0.
  #define  K3 4.
  #define  K4 100.
  #define  K5 100.
 
  //Clear sky corrected temperature (temp below means 0% clouds)
  #define CLOUD_TEMP_CLEAR  -13
  //Totally cover sky corrected temperature (temp above means 100% clouds)
  #define CLOUD_TEMP_OVERCAST  0
  //Activation treshold for cloudFlag (%)
  #define CLOUD_FLAG_PERCENT  30
#endif //USE_IR_SENSOR

Thanks.
Last edit: 5 years 9 months ago by Tomas Kalisch.
5 years 9 months ago #26646

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

  • Posts: 62
  • Thank you received: 12
  • Posts: 51
  • Thank you received: 4
Hello, everyone. Great job. I've read all this forum thread carefully. I have also read the page with detailed instructions on how to build the meteostation…
indilib.org/support/tutorials/177-howto-...showall=&limitstart=
but I haven't been able to find the page to download the file indiduinoMETEO.ino (and I'm sure it's posted several times). Anyway, if there were any charitable souls to tell me, I would be very grateful. I already have all the hardware, I only need software....
Thanks in advance
5 years 8 months ago #27131

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

  • Posts: 62
  • Thank you received: 12
  • Posts: 62
  • Thank you received: 12
Hello to everybody,

the detector shows 0% of the cloud (which corresponds to reality) but still reports that it is overcast (****** CLOUDY ****) and the first LED indicator is lit.

So far, I do not have a roof-closing connection, but I'm planning it in the future. I assume correctly that this will be a problem.

Why? Do you have the same reporting?
5 years 5 months ago #30015
Attachments:

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

  • Posts: 2247
  • Thank you received: 223


No matter the value I put in #define CLOUD_TEMP_CLEAR it does not affect the cloud cover percentage.
At the moment, I have a 100% clear sky and it's showing 68% cover.

I do no get it.
5 years 5 months ago #30361

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

  • Posts: 2247
  • Thank you received: 223
I have altered the values to crazy high numbers, no changes at all.

//Clear sky corrected temperature (temp below means 0% clouds)
  #define CLOUD_TEMP_CLEAR  25
  //Totally cover sky corrected temperature (temp above means 100% clouds)
  #define CLOUD_TEMP_OVERCAST  100
  //Activation treshold for cloudFlag (%)
  #define CLOUD_FLAG_PERCENT  30

It's currently at
Actual: 4.30
Corrected: -3.64
5 years 5 months ago #30362

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

  • Posts: 2247
  • Thank you received: 223
My cloud cover issue is solved, there was a problem with the code upload to the arduino itself. Now it's good.
root@heidenrod-obs:/home/meteo# nano src/indiduinoMETEO.ino 
root@heidenrod-obs:/home/meteo# 
root@heidenrod-obs:/home/meteo# 
root@heidenrod-obs:/home/meteo# 
root@heidenrod-obs:/home/meteo# ino clean
root@heidenrod-obs:/home/meteo# ino build -m nano328
Searching for Board description file (boards.txt) ... /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ...  1.0.5 (2:1.0.5+dfsg2-4.1)
Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino standard libraries ... /usr/share/arduino/libraries
Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino/variants
Searching for make ... /usr/share/arduino/hardware/tools/avr/bin/make
Searching for avr-gcc ... /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
Searching for avr-g++ ... /usr/share/arduino/hardware/tools/avr/bin/avr-g++
Searching for avr-ar ... /usr/share/arduino/hardware/tools/avr/bin/avr-ar
Searching for avr-objcopy ... /usr/share/arduino/hardware/tools/avr/bin/avr-objcopy
src/indiduinoMETEO.ino
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ...  1.0.5 (2:1.0.5+dfsg2-4.1)
Scanning dependencies of src
Scanning dependencies of arduino
Scanning dependencies of Adafruit_MLX90614_Library-1.0.0
Scanning dependencies of Firmata
Scanning dependencies of Wire
Scanning dependencies of Adafruit_BMP085_Library-1.0.0
Scanning dependencies of DHT_sensor_library-1.3.0
Scanning dependencies of Servo
Scanning dependencies of Adafruit_Unified_Sensor-1.0.2
src/indiduinoMETEO.cpp
Adafruit_MLX90614_Library-1.0.0/Adafruit_MLX90614.cpp
Linking libAdafruit_MLX90614_Library-1.0.a
Firmata/Firmata.cpp
Linking libFirmata.a
Adafruit_BMP085_Library-1.0.0/Adafruit_BMP085.cpp
Linking libAdafruit_BMP085_Library-1.0.a
DHT_sensor_library-1.3.0/DHT.cpp
DHT_sensor_library-1.3.0/dht.cpp
DHT_sensor_library-1.3.0/dht_u.cpp
DHT_sensor_library-1.3.0/DHT_U.cpp
Linking libDHT_sensor_library-1.3.a
Servo/Servo.cpp
Linking libServo.a
Wire/utility/twi.c
Wire/Wire.cpp
Linking libWire.a
Linking libAdafruit_Unified_Sensor-1.0.a
arduino/wiring_analog.c
arduino/wiring_digital.c
arduino/WInterrupts.c
arduino/wiring_pulse.c
arduino/wiring.c
arduino/avr-libc/malloc.c
arduino/avr-libc/realloc.c
arduino/wiring_shift.c
arduino/USBCore.cpp
arduino/HardwareSerial.cpp
arduino/IPAddress.cpp
arduino/Stream.cpp
arduino/WMath.cpp
arduino/new.cpp
arduino/Print.cpp
arduino/main.cpp
arduino/WString.cpp
arduino/Tone.cpp
arduino/HID.cpp
arduino/CDC.cpp
Linking libarduino.a
Linking firmware.elf
Converting to firmware.hex
root@heidenrod-obs:/home/meteo# 
root@heidenrod-obs:/home/meteo# ino upload -m nano328
Searching for stty ... /bin/stty
Searching for avrdude ... /usr/share/arduino/hardware/tools/avrdude
Searching for avrdude.conf ... /usr/share/arduino/hardware/tools/avrdude.conf
Guessing serial port ... /dev/ttyUSB0
 
avrdude: AVR device initialized and ready to accept instructions
 
Reading | ################################################## | 100% 0.01s
 
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file ".build/nano328/firmware.hex"
avrdude: writing flash (17538 bytes):
 
Writing | ################################################## | 100% 8.97s
 
avrdude: 17538 bytes of flash written
avrdude: verifying flash memory against .build/nano328/firmware.hex:
avrdude: load data flash data from input file .build/nano328/firmware.hex:
avrdude: input file .build/nano328/firmware.hex contains 17538 bytes
avrdude: reading on-chip flash data:
 
Reading | ################################################## | 100% 7.75s
 
avrdude: verifying ...
avrdude: 17538 bytes of flash verified
 
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
 
avrdude done.  Thank you.
 
root@heidenrod-obs:/home/meteo#


with values set as:
//Formula Tcorrection = (K1 / 100) * (Thr - K2 / 10) + (K3 / 100) * pow((exp (K4 / 1000* Thr)) , (K5 / 100));
  #define  K1 33.
  #define  K2 0.
  #define  K3 0.
  #define  K4 0.
  #define  K5 0.
 
  //Clear sky corrected temperature (temp below means 0% clouds)
  #define CLOUD_TEMP_CLEAR  -2.5
  //Totally cover sky corrected temperature (temp above means 100% clouds)
  #define CLOUD_TEMP_OVERCAST  0
  //Activation treshold for cloudFlag (%)
  #define CLOUD_FLAG_PERCENT  30
5 years 5 months ago #30363

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

  • Posts: 2247
  • Thank you received: 223
lol, when I open the lid of my box, the heat reflects from the black aluminium top and affect my IR sensor... haha
I have to relocate the weather station :(
The following user(s) said Thank You: Eric
5 years 5 months ago #30364

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

  • Posts: 1
  • Thank you received: 0
Good Evening guys,
I've built the IndiDuino on Arduino Mega. With the "MeteoTEST" all seems to working fine but when compiling the "indiduinoMETEO" it doesn't work... I mean... Ekos can connect with the remote Raspberry Pi (where the Arduino is connected with USB) but no data received from sensors!

Just changed one param (Temperature Pin from 24 to 3) into the "/usr/share/indi/meteostation_sk.xml" to read the temperature from the DHT22 but nothing...

Someone of you had the same problem?

Thank you
Ruben
Last edit: 5 years 4 months ago by Ruben Giancarlo Elmo.
5 years 4 months ago #31392
Attachments:

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

Time to create page: 0.354 seconds