Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Code for the Moisture sensor is based on its technical data, where 0v = 0%rH[NOT VERIFIED]  which linearly scales to 10v = 100%rH[NOT VERIFIED]. This means that linear interpolation is utilized to scale the input voltage too an output in celsius%rH.


Linear interpolation is performed with the following function,

...