Page 1 of 1

PT100 giving wrong values

Unread postPosted:Mon Jul 06, 2020 7:55 am
by hari.raj.rv
Hello,

I connected PT100 exactly as specified here: https://wiki.dfrobot.com/HighTemperatur ... or%20probe.

And also using the exact code specified

Anyway, it is giving wrong values, most of the time gives 37, then it goes down to 22 to 24.

Is there anything specific to with the wiring, power sully to be used etc?

Thanks,
Hari

Re: PT100 giving wrong values

Unread postPosted:Tue Jul 07, 2020 8:43 am
by nana.wang
Hi Hari,
Thank you for your support and contact.
Could you please share your hardware connection and code for our reference.
And please confirm the mainboard voltage.
Please change the Revoltage in the sample code to 3.3V if your single-chip voltage is 3.3V.
And if the ADC transform precision is 12 bits, please change "voltage = sensorValue * _voltageRef / 1024.0" to "voltage = sensorValue * _voltageRef / 4096.0" in function readTemperature( ).