You are here

100k NTC

4 posts / 0 new
Last post
CTSchorsch
Offline
Last seen: 4 months 3 weeks ago
VESC Free
Joined: 2018-07-13 09:55
Posts: 101
100k NTC

Dear all,

i want to use a 100k NTC on my custom PCB, just because it is on stock here.

I change the second resistor to 100k too and modified the defines to the new Values and B Value

// NTC Termistors
#define NTC_RES(adc_val)                ((4095.0 * 100000.0) / adc_val - 100000.0)
#define NTC_TEMP(adc_ind)               (1.0 / ((logf(NTC_RES(ADC_Value[adc_ind]) / 100000.0) / 4380.0) + (1.0 / 298.15)) - 273.15)

is this correct ? at 20° C it looks good, but i don't trust other values at the moment

Regards

Georg

Danny Bokma
Offline
Last seen: 3 months 1 week ago
VESC Original
Joined: 2017-05-24 12:11
Posts: 53

Hold it against an icecube and in boiling water. Those are easy temperatures to verify it against.

CTSchorsch
Offline
Last seen: 4 months 3 weeks ago
VESC Free
Joined: 2018-07-13 09:55
Posts: 101

Yes, of course, but it is glued to the pcb...

I will try it with a new pcb... Thanks

 

Roger Wolff
Offline
Last seen: 1 year 10 months ago
VESC Original
Joined: 2017-05-24 12:27
Posts: 202

If you have it "in stock" it is easy to try another one against the icecube and boiling water...