Using an NTC with Tasmota

1,166 views
Skip to first unread message

Justin Adie

unread,
Dec 18, 2022, 4:50:00 AM12/18/22
to TasmotaUsers
Hi all

I am using a 4000k (beta) 10k NTC with tasmota on an esp32.

The reported temps are in the right ballpark (27.9C in lieu of 21.8C).

Is there a command to add a calibration factor? I’ve had a furtle in the online manual but nothing jumps out.

thanks
Justin

Philip Knowles

unread,
Dec 18, 2022, 5:25:24 AM12/18/22
to Justin Adie, TasmotaUsers

You probably want ADCParam2 or ADCParam6

 

Analog Pin - Tasmota

 

 

 

Sent from Mail for Windows

--

You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.

To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.

To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/766EFCBF-D3B1-44D4-8E14-CEF35EA0F380%40adieandco.com.

 

Justin Adie

unread,
Dec 18, 2022, 10:03:55 AM12/18/22
to Philip Knowles, TasmotaUsers
Switching to the (undocumented) alternate mode of calculation using the fourth parameter of adcparam2 brings the temperature to within 1/10 degree of accuracy.  Which is within measurement error. 

thanks
Justin


On 18 Dec 2022, at 12:21, Justin Adie <justi...@adieandco.com> wrote:

I've set adcparam2 on the right config for the board and sensor.  

1,10000,10000,4000

But results need calibration as always.  

Will check adcparam6
Reply all
Reply to author
Forward
0 new messages