12-10-2017, 18:01
Dan,
For testing purposes, you can try connecting the SP-110 directly to the ADC0 input on the TX board. Then, on the RX software, comment this line
and uncomment the next line.
result should be like this:
For testing purposes, you can try connecting the SP-110 directly to the ADC0 input on the TX board. Then, on the RX software, comment this line
Code:
SolarRad = map(RX_Data[2], 0, 1023, 0, 1600); // Using OP - Formula outputs an integer, between 0 and 1600 W/m2and uncomment the next line.
Code:
//SolarRad = round(((RX_data[3] * (1100 / 1024.0)) * 5); // Not using OP. Sensor connected directly to ADC inputresult should be like this:
Code:
#if (Solar_Sensor == 2) // Apogee SP-110: Self-Powered Pyranometer (Solar / UV interface R2= 4700 Ohm)
//SolarRad = map(RX_Data[2], 0, 1023, 0, 1600); // Using OP - Formula outputs an integer, between 0 and 1750 W/m2
SolarRad = round(((RX_data[3] * (1100 / 1024.0)) * 5); // Not using OP. Sensor connected directly to ADC input
#endif
