22-03-2017, 10:10
Hello
I have a Problem to configure the analog sensors on SoilLeaf_Interface.
I must use:
METHOD 2 - Used for any sensor which have a linear output between voltage and VWC (0V=0VWC, maxV=100VWC) .
In the config file i read:
But my sensors have 5000mV (dry) and 530 mV (max. wetness). Can i configure (ADC3 and ADC4 not in use):
ADC1 ADC2 ADC3 ADC4
const unsigned int AnalogSensor_MaxVoltOut[4] = { 530, 530, 5000, 5000 };
const unsigned int AnalogSensor_MinVoltOut[4] = { 5000,5000, 0, 0 };
or
ADC1 ADC2 ADC3 ADC4
const unsigned int AnalogSensor_MaxVoltOut[4] = { 5000, 5000, 5000, 5000 };
const unsigned int AnalogSensor_MinVoltOut[4] = { 530, 530, 0, 0 };
But if its dry, the Station say 100% wetness ? Where i can negate the Logic?
Regards
I have a Problem to configure the analog sensors on SoilLeaf_Interface.
I must use:
METHOD 2 - Used for any sensor which have a linear output between voltage and VWC (0V=0VWC, maxV=100VWC) .
In the config file i read:
Quote:Max and Min output voltage of the analog sensors connected to Soil / Leaf Interface
Default value for Decagon Devices LWS Leaf Wetness Sensor (5V power): Max. Output Voltage - 1400mV (max wetness), Min Output Voltage - 530mV (dry)
// ADC1 ADC2 ADC3 ADC4
const unsigned int AnalogSensor_MaxVoltOut[4] = { 5000, 5000, 5000, 5000 }; // Values in miliVolt
const unsigned int AnalogSensor_MinVoltOut[4] = { 0, 0, 0, 0 };
But my sensors have 5000mV (dry) and 530 mV (max. wetness). Can i configure (ADC3 and ADC4 not in use):
ADC1 ADC2 ADC3 ADC4
const unsigned int AnalogSensor_MaxVoltOut[4] = { 530, 530, 5000, 5000 };
const unsigned int AnalogSensor_MinVoltOut[4] = { 5000,5000, 0, 0 };
or
ADC1 ADC2 ADC3 ADC4
const unsigned int AnalogSensor_MaxVoltOut[4] = { 5000, 5000, 5000, 5000 };
const unsigned int AnalogSensor_MinVoltOut[4] = { 530, 530, 0, 0 };
But if its dry, the Station say 100% wetness ? Where i can negate the Logic?
Regards


