12-10-2017, 05:43
sounds good, thanks.
(12-10-2017, 10:33)AllyCat Wrote: Hi,I'm measuring between pin 2 and the ground pin on one of the screw terminals with the connector removed from the TX board and with the SP-110 removed from the Solar/UV board.
You're not measuring the resistance between the "ends" of the pot are you? It should be between the "wiper" (ground) and the end that is connected to the Op Amp input. The value should be about 3.33 kohms to give a gain (amplification multiplier) of 4. Increasing the resistance gives lower gain, which you possibly need because at 1500 w/m2 the SP-110 should give 300 mV output.
![[Image: S4QQQY8.jpg]](https://i.imgur.com/S4QQQY8.jpg)
Quote:But all this should make no difference to the "zero" (night time) value. Zero times 3.75 (or any value) should still be just zero! So in the "dark" you need to discover what isn't zero, which with a good multimeter shouldn't be too difficult:Thank you for that information. It is very helpful and much appreciated! I can do that.
Measure the voltages on pins 1, 2 and 3 of the Op Amp relative to a good ground (probably the PCB track, wiper of the pot, or ground connection of the SP-110) to a resolution of better than 1 mV. Those three voltages (which could be measured on the two ends of R1 and the PV input) should give an indication whether it's the SP-110, the Op-Amp (input offset error), the Nano ADC (zero reference error) or something else that is "wrong".
(12-10-2017, 10:33)AllyCat Wrote: I believe to give "full scale" with the 1.1 volts nominal reference voltage of the Nano needs a gain of 3.667, which I calculate requires 3.75 kohms. With the wiper at "end of track" (5 kohms) the gain should be close to 3 to give a "full scale" (limiting) ADC reading at around 1833 Watt/m2 (I don't know what scale factor the software uses).
SolarRad = map(RX_Data[2], 0, 1023, 0, 1600); // Using OP - Formula outputs an integer, between 0 and 1600 W/m2 //SolarRad = round(((RX_data[3] * (1100 / 1024.0)) * 5); // Not using OP. Sensor connected directly to ADC input #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
(12-10-2017, 10:33)AllyCat Wrote: .. at 1500 w/m2 the SP-110 should give 300 mV output. .... I believe to give "full scale" with the 1.1 volts nominal reference voltage of the Nano needs a gain of 3.667, which I calculate requires 3.75 kohms.