Bi-monthly release with minor bug fixes and improvements
Formula Tcorrection = (K1 / 100) * (Thr - K2 / 10) + (K3 / 100) * pow((exp (K4 / 1000* Thr)) , (K5 / 100))
#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
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
//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
Please Log in or Create an account to join the conversation.
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#
//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
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.