How to read resistance with Unipi 1.1
To be able to read resistance e.g. of thermal probes with higher temperature range PT1000 (-200°C - +800°C) a small resistor has to be added according to the schema below.
The R_sens is the sensor and the R_ref is the additional resistor you need to add.
To be able to read PT1000 themometer with resistance between 200R(-200°C) - 3800R(+800°C), the R_ref should be 1K in order not to go over 10V on the AI.
Then the value at the AI (in Volts) is calculated as following for our sensor is:
R_sens(200) = 12V/(969.7+200)*969.7 = 9.948 R_sens(3800) = 12V/(969.7+3800)*969.7 = 2.439
Please note that there is 10V at R_sens and 2V on the junction.
S the value on AI when the sensor measures -200°C is 9.948V and when the sensor measures +800°C, the value at AI is 2.439. See datasheet of your sensor in order to check all the values. Also remember that the hardware design of UniPi has some limitation so you can read precisely to 0.05V. In this sample sensor this would mean that you will be able to read temperature with precision +-50°C. If you need more precise reading, change the value of the R_ref.....
If the range of the R_sens is does not match your needs the R_ref can be changed. The value of R_Ref is calculated according to this formula:
Rx = (R_ref*12K8)/(R_ref+12K2)
When choosing your R_ref, make sure that at the point when the sensor will have minimum/maximum resistance, the values at the AI+ does not go over 10V or under 0V.