EdgePi-Cloud / edgepi-python-sdk

Python SDK to control EdgePi, an industrial PC/PLC/IoT device powered by Raspberry Pi CM4
MIT License
6 stars 3 forks source link

TC Inaccurate Temperature #71

Open flavius-t opened 2 years ago

flavius-t commented 2 years ago

The thermocouple is measuring temperatures that are higher than expected. As as example, the following is obtained at room temperature:

image

The issue is not with temperature code conversion, as tests confirm these are the actual temperature values being stored in the thermocouple chip's registers.

We need to understand what factors are causing this issue:

farzadpanahi commented 1 year ago

@sjpark608 I think this is the same issue @jarell-santella is seeing. can you confirm Jarell?

jarell-santella commented 1 year ago

@sjpark608 I think this is the same issue @jarell-santella is seeing. can you confirm Jarell?

I think this is exactly the same issue. Same reading too. ~28 degrees celsius is being read at room temperature with probe type K. I have tried disabling cold junction temperature readings, but it doesn't make a difference.

sjpark608 commented 1 year ago

hmm, i thought it might be related to the Thermocouple we are using on the unit. I will try a brand-new thermocouple.

sjpark608 commented 1 year ago

The following section of the datasheet explains the effect of the series resistance in the temperature measurement due to the voltage difference introduced by these resistors. Opening a tech support case for some clarification. image

farzadpanahi commented 1 year ago

@sjpark608 what need to be done on our side? do we need some sort of calibration for TC?

sjpark608 commented 1 year ago

@sjpark608 what need to be done on our side? do we need some sort of calibration for TC?

yes, we can gather some measurements at different temperature and add the calibration value.