MembersPage/NanassyPeter/CoolantSensor

Hex-patch for CLT sensor, wich now with released 1.0.59 firmware default settings reads 10-12C more than real.


Ok thanks but i cant use this,the whole thing is chineese to me!

I need a file.

pnanassy

---

Orig C Orig FOrig internalOrig ADCrequired Crequired Frequired internal
846 86 (0x56) 183,184(0xB7,0xB8) -2 28 68
95 203 243 (0xF3)19(0x13) 92.5199239(0xEF)

So running:\n

after editing propertherm.pl :
add_adcread_internal( $measured, 183, 68 );
add_adcread_internal( $measured, 19, 239 );

running:
perl propertherm.pl < /svn/firmware/firmware/trunk/inc/thermfactor.inc  >ntc_propertherm.out 2>ntc_propertherm.err 

[ cltfactor] result:\nÿ2ÿ

ntc_propertherm.out on approximation error:\n

2978 Ohm   Aref=227

error:
19 => 93.1415341822047  (should be 92.7777777777778      so error=0.363756404426894) 
183 => -2.99332554482102        (should be -2.22222222222222     so error=-0.771103322598801) 
errsqr=0.726919055884493