-
|
Using soil_read_loop I got such values: but I have no idea what to type into I particularly do not get it about negative values. Would anyone be so kind as to orient me in the right direction? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@SCiunczyk I never got around to document the calibration process, but I explained it a little bit in #79 (comment) and #79 (comment). What you're seeing there, for example:
Means that at I used this spreadsheet for the regression:
You can copy and update it with your own data. The negative value is just how the 2nd degree poly happened to fit the data. It doesn't mean that the function will evaluate to negative values in the real-world battery range. |
Beta Was this translation helpful? Give feedback.

@SCiunczyk I never got around to document the calibration process, but I explained it a little bit in #79 (comment) and #79 (comment).
What you're seeing there, for example:
3.08;324Means that at
3.08V, the 10-bit adc is reading 324 when fully wet. The point is to collect many of such pairs and fit a 2nd degree poly. This is the "wet" sensor model. The same can be done for the dry model.I used this spreadsheet for the regression:
You can copy and update it with your own data.
The negative value is just how the 2nd degree poly happened to fit the data. It doesn't mean that the function will evaluate to negative values in the real-world battery range.