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

Solar radiation readings at night
#9

I had for a few days a night value that oscillated between 5 and 6w whereas previously it was not there.
You have to modify line 236 on RX_v410_B008:

Code:
// RX_Data[2] ---- Solar Data
     uint16_t SolarRad;
   
     #if (Solar_Sensor == 1)      // --- WeatherDuino Solar Cell Pyranometer (Solar / UV interface R2= 2700 Ohm)  
       if (RX_Data[2] < 4) RX_Data[2] = 0;
       SolarRad = map(RX_Data[2], 0, 1023, 0, 1400);    // Outputs an integer, between 0 and 1400 W/m2
     #endif
     #if (Solar_Sensor == 2)      // Apogee SP-110: Self-Powered Pyranometer (Solar / UV interface R2= 4900 Ohm)
       if (RX_Data[2] < 4) RX_Data[2] = 0;        
       SolarRad = map(RX_Data[2], 0, 1023, 0, 1450);              // Using OP - Formula outputs an integer, between 0 and 1450 W/m2
       //SolarRad = round(((RX_data[2] * (1100 / 1024.0)) * 5);   // Not using OP. Sensor connected directly to ADC input
     #endif
     #if (Solar_Sensor == 4)      // Apogee SQ-110: Sun Calibration Quantum Sensor (unit is µmol m-2 s-1)
       SolarRad = round(((RX_data[2] * (1100 / 1024.0)) * 5);
     #endif

if (RX_Data[2] < 4) RX_Data[2] = 0;
i modified this to: if (RX_Data[2] < 7) RX_Data[2] = 0;
Reply


Messages In This Thread
Solar radiation readings at night - by Palmyweather - 24-02-2017, 11:00
RE: Solar radiation readings at night - by werk_ag - 24-02-2017, 21:10
RE: Solar radiation readings at night - by Palmyweather - 25-02-2017, 07:17
RE: Solar radiation readings at night - by werk_ag - 25-02-2017, 08:28
RE: Solar radiation readings at night - by Palmyweather - 27-02-2017, 10:07
RE: Solar radiation readings at night - by werk_ag - 28-02-2017, 03:44
RE: Solar radiation readings at night - by zitoune - 02-03-2017, 17:10
RE: Solar radiation readings at night - by zitoune - 19-03-2017, 15:00
RE: Solar radiation readings at night - by f4aii - 31-12-2017, 12:04
RE: Solar radiation readings at night - by f4aii - 25-01-2018, 18:33



Users browsing this thread: 1 Guest(s)