By nana.wang
#42561
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( ).