pt1000_calib - bruno-beloff/scs_mfr GitHub Wiki

docs > software repositories > scs_mfr > commands > calibration


DESCRIPTION

The pt1000_calib utility is used to determine and save the voltage offset for each Pt1000 sensor.

The utility operates by measuring the temperature using a Sensirion SHT sensor, measuring the voltage output of the Pt1000 sensor, and back-calculating the voltage offset.

For the utility to operate, the I2C address of the Pt1000 ADC must be set. This is done using the interface_conf utility.

Note that the scs_dev/gases_sampler process must be restarted for changes to take effect.

SYNOPSIS

pt1000_calib.py [{ -s | -d }] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-s, --set set Pt1000 calib from internal SHT
-d, --delete delete the Pt1000 calib
-v, --verbose report narrative to stderr

EXAMPLES

./pt1000_calib.py -s

DOCUMENT EXAMPLE

{"calibrated-on": "2018-02-27T12:50:28.028+00:00", "v20": 0.321605}

FILES

~/SCS/conf/interface_conf.json ~/SCS/conf/pt1000_calib.json

SEE ALSO

scs_dev/gases_sampler

scs_mfr/interface_conf