Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Suggestions for the WeatherDuino
#19

Here is an update from me.
All the data of the WeatherDuino RX-Station is sent by the modification of the RX-Software and can be logged with the included python script.
The data can be easily displayed for example with the software TestViewer.
https://www.gantner-instruments.com/de/p...st-viewer/

Moreover I think that the T/H data of the AQM is never written in the intended variables.

In data_structs.h
Code:
// -------------------------------------------------------------------
//      Structure for data from the AQI Monitor
// -------------------------------------------------------------------
struct AQI_Monitor_datastruct
{
 uint16_t AQI_PM1_0;
 uint16_t AQI_PM2_5;
 uint16_t AQI_PM10_0;
 uint16_t AQI_Index;
 uint16_t AQI_Temp;
 uint16_t AQI_Hum;
 uint16_t GAS_1;  
 uint16_t GAS_2;
} AQI_Monitor;

In RX_TX.ino the T/H data is only written onto the memory of the extra sensors
Code:
   case 12:
     {
       AQI_Monitor.GAS_1 = RX_Data[3];  // GAS_1 from AQI Monitor
       AQI_Monitor.GAS_2 = RX_Data[4];  // GAS_1 from AQI Monitor

       // ----------- Map AQI Monitor data to Davis Extra Sensor scheme ----------------------------------------------------
       for (byte i = 0; i < 7; i++)
       {
         if ((ExtraS_Source[i] [0] == 8) && (ExtraS_Source[i] [1] == 0)) // Temp / Hum from the Dust Sensor
         {
           ExtraS_Data[i][0] = RX_Data[1] / 10;
           ExtraS_Data[i][1] = RX_Data[2] / 10;

           loopData.extraTemperatures[i] = round((ExtraS_Data[i][0] * 0.18) + 122.0);
           loopData.extraHumidities[i]   = round(ExtraS_Data[i][1] * 0.1);

           AQM_TH_Mapposition = i;  // Store mapping position of the AQM Temp / Hum sensor
So case 12 should contain the mapping as following:
Code:
   case 12:
     {
       AQI_Monitor.GAS_1 = RX_Data[3];     // GAS_1 from AQI Monitor
       AQI_Monitor.GAS_2 = RX_Data[4];     // GAS_1 from AQI Monitor
       AQI_Monitor.AQI_Temp = RX_Data[1];  // Temp from AQI Monitor
       AQI_Monitor.AQI_Hum = RX_Data[2];  // Humidity from AQI Monitor

engolling Smile
Reply


Messages In This Thread
Suggestions for the WeatherDuino - by engolling - 26-02-2018, 21:02
RE: Suggestions for the WeatherDuino - by zitoune - 27-02-2018, 15:09
RE: Suggestions for the WeatherDuino - by engolling - 27-02-2018, 21:18
RE: Suggestions for the WeatherDuino - by werk_ag - 28-02-2018, 04:32
RE: Suggestions for the WeatherDuino - by uncle_bob - 28-02-2018, 07:38
RE: Suggestions for the WeatherDuino - by werk_ag - 01-03-2018, 02:17
RE: Suggestions for the WeatherDuino - by uncle_bob - 01-03-2018, 07:12
RE: Suggestions for the WeatherDuino - by werk_ag - 02-03-2018, 01:27
RE: Suggestions for the WeatherDuino - by engolling - 01-03-2018, 17:47
RE: Suggestions for the WeatherDuino - by engolling - 06-05-2018, 23:01
RE: Suggestions for the WeatherDuino - by werk_ag - 06-05-2018, 23:42
RE: Suggestions for the WeatherDuino - by engolling - 26-06-2018, 21:55
RE: Suggestions for the WeatherDuino - by werk_ag - 26-06-2018, 23:31
RE: Suggestions for the WeatherDuino - by engolling - 01-07-2018, 16:26
RE: Suggestions for the WeatherDuino - by werk_ag - 01-07-2018, 18:20
RE: Suggestions for the WeatherDuino - by engolling - 01-07-2018, 21:03
RE: Suggestions for the WeatherDuino - by werk_ag - 01-07-2018, 23:43
RE: Suggestions for the WeatherDuino - by engolling - 02-07-2018, 21:34
RE: Suggestions for the WeatherDuino - by engolling - 15-07-2018, 21:11
RE: Suggestions for the WeatherDuino - by werk_ag - 16-07-2018, 00:10
RE: Suggestions for the WeatherDuino - by engolling - 16-07-2018, 22:35
RE: Suggestions for the WeatherDuino - by engolling - 17-07-2018, 23:19
RE: Suggestions for the WeatherDuino - by Barrow4491 - 23-07-2018, 02:59
RE: Suggestions for the WeatherDuino - by werk_ag - 23-07-2018, 03:49
RE: Suggestions for the WeatherDuino - by Barrow4491 - 23-07-2018, 05:39
RE: Suggestions for the WeatherDuino - by engolling - 01-09-2018, 15:07
RE: Suggestions for the WeatherDuino - by werk_ag - 03-09-2018, 17:34
RE: Suggestions for the WeatherDuino - by engolling - 03-09-2018, 22:49
RE: Suggestions for the WeatherDuino - by tobyportugal - 14-05-2021, 20:30
RE: Suggestions for the WeatherDuino - by werk_ag - 14-05-2021, 22:32
RE: Suggestions for the WeatherDuino - by tobyportugal - 15-05-2021, 09:36
RE: Suggestions for the WeatherDuino - by werk_ag - 15-05-2021, 20:41
RE: Suggestions for the WeatherDuino - by tobyportugal - 16-05-2021, 06:40



Users browsing this thread: 1 Guest(s)