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

Help on using a non suported type of Soil Moisture Sensor
#1

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:
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
Reply


Messages In This Thread



Users browsing this thread: 1 Guest(s)