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:
if (RX_Data[2] < 4) RX_Data[2] = 0;
i modified this to: if (RX_Data[2] < 7) RX_Data[2] = 0;
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);
#endifif (RX_Data[2] < 4) RX_Data[2] = 0;
i modified this to: if (RX_Data[2] < 7) RX_Data[2] = 0;

