×

INDI Library v1.9.1 Released (26 Jun 2021)

Bi-monthly INDI Library v1.9.1 is released bringing a few new drivers and improvements to existing drivers.

Arduino Meteostation MLX temperatures

  • Posts: 21
  • Thank you received: 0
Hi,

a student of mine has built an Arduino Meteostation following the instructions here: github.com/magnue/induino_meteostation_h...onfigure-print-build

The ambient and IR temperatures in the sketch (github.com/indilib/indi-3rdparty/blob/ma...O/indiduinoMETEO.ino) are divided by 100.

#ifdef USE_MLX_SENSOR 
  if (mlxSuccess) { Tir = mlx.readAmbientTempC() / 100.0; 
  IR = mlx.readObjectTempC() / 100.0; 
} else if (mlxSuccess = mlx.begin()) { 
  // Retrymlx.begin(), and clear MLX sensor fail flag 
  digitalWrite(PIN_TO_DIGITAL(PIN_STATUS_MLX), STATUS_OK); 
}

It seems, that these are also the values shown in the INDI Control Panel under Raw Sensors. Both values are 0.20 inside an the IR temperaure goes up to 0.30 when holding a hand over the sensor. As a result the Sky Temperature inside is -7.70 C which is obviously wrong.

So I asked myself, why the temps of the MLX Sensor are divided by 100 and if the Sky Temperature ist calculated correctly.

Grateful for any help,
Simon
 
4 months 2 weeks ago #68551

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

Time to create page: 0.295 seconds