|
Post by turbon on Mar 5, 2018 9:24:02 GMT -8
This is with the HD moisture sensor and v.20 code.
Just started so go easy on me:). It can read moisture but won't water. As a test I put it betwen some paper tissue and watched the oled and listen.py output. It does react on more drops of water on the tissue but it won't water. I have reread the documentation and checked all grove connectors - they are were they should be.
Now, I soaked the tissue and it did water once as the treshhold of 65% was not reached... But there seems to be an low treshold where it Thinks there is an error.
Sorry but I havn't looked into all code yet - but where can I set all the tresholds with vi?
Regards
|
|
|
Post by SDL on Mar 5, 2018 14:31:45 GMT -8
The low threshold is about 10% or so. We wanted to be able to detect a failure, to avoid watering forever in the case of a sensor failure.
Nothing wrong with your sensor, that is clear.
It's set in state.py
Alarm_Moisture_Sensor_Fault = 10.0
BP
|
|
|
Post by turbon on Mar 6, 2018 9:46:08 GMT -8
Yes, thanks. The solution was to to soak the sensor so it came above the treshold.
Regards
|
|