unicontrol > Web interface > Peripheral > Calibration
Calibration
All analog inputs can be additionally calibrated by the user post-Maping. This is performed by providing a constant which is added to every value reading disregarding the unit of measurement.
Example
Assume a linear transformation of voltage range 0V - 3V
on A0
pin to the respective measurements ranging from 140°C
to -20°C
and a calibration constant of -1.5
.
While the raw Mapping of 2.156V
results into 25.0°C
, the final reading is obtained by adding -1.5
, thus arriving to 23.5°C
.