Author Topic: Temperature Sensor Configuration  (Read 38094 times)

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Temperature Sensor Configuration
« on: May 01, 2007, 10:25:09 pm »
The most common type of sensor is the 2252 sensor - we call it this name because it has a resistance of 2252ohms at 25degC, if you've bought the VEMS webshop sensors, if you have a Toyota, Nissan, or GM then you'll have a sensor of this type.

Back-up your configuration
Use download-config.bat to save your config.txt and tables.txt, these are put in the config folder.

Patch and upload the firmware image
Then using the command line, in the VEMS root directory type: tempsensor_upload 2252 2252 256 (or tempsensor_upload12x12 or 16x14  if you're using a release newer than 1.0.72 or 1.1.18) and hit return.
This will patch the temperature sensor tables onto the firmware and upload the new image.

Test the changes
After this has run, check your Temps with MegaTune.

If you're not using these sensors then we'll have to work through measuring the resistance of the sensor as various temperatures.

You may find that trying some of the other values may work, if you look in Tools\ntc_airX_cltfactor you'll see files in the format:
airXfactor_2252_256.hex  this is an air sensor that reads 2252Ohms at 25degrees, the final 256 value is the Analog reference value which you needn't worry about as you're only interested in 256 with the units bought from the webshop.

Effectively you have a range of air and coolant sensors: 2252 2400 2700 3000 3300 4300 5600

So if you wanted to try a 2700 air and 4300 coolant you'd got to VEMS root directory type: tempsensor_upload 2700 4300 256 (or tempsensor_upload12x12 if you're running firmware v1.0.73 and above)
« Last Edit: March 13, 2008, 10:17:49 am by rob@vems.co.uk »

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Temperature Sensor Configuration
« Reply #1 on: July 03, 2008, 07:24:29 pm »
My webshop air temp sensor shows 2000ohm at 25degC° but is showing 35C° in the Megatune software.

It´s using the 2252_256 file and shows then 3-4C° higher then actual measured values.

Easytherm exported files show no resemmblance to vems .hex files.

How do I make a hex file that fits this sensor?
I read properthem is only for developers?
http://www.vems.hu/wiki/index.php?page=EasyTherm

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Temperature Sensor Configuration
« Reply #2 on: July 03, 2008, 07:55:28 pm »
The odd thing is... The first paragraph says to use these: http://www.vems.hu/files/Firmware/release/ntc_ptc_hexpatch.zip
And use 2063_256 

I did this on the webshop sensor I have and it brings the values in line with reality.

Rob

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: Temperature Sensor Configuration
« Reply #3 on: July 03, 2008, 08:07:11 pm »
Unbelievable, can´t believe I let that slide past me.  :P :P

This should allow me to get things right on, am about 2c for coolant and 3c for air temp at the moment

Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: Temperature Sensor Configuration
« Reply #4 on: July 28, 2008, 08:07:20 pm »
I would just love to know howto upload that 2063_256 with my setup,as it reads high, i also use the mercedes sensor from the webshop,

I just cant figure out how to get that uploaded, to the vems box.

I dont know were to put the file image from the ntc hexptch, sowhen trying to upload it says "file notfound",
But that is also just me that will just press the "temp sensor upload 16x14".

Offcourse it will not find the file, becourse it´s not in the 1.0.73 packede, but how do i pick one of the 50, there are tochoose from??,
That is the question...
working on the boxer

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Temperature Sensor Configuration
« Reply #5 on: July 28, 2008, 08:19:20 pm »
put the hexpatch in Tools\ntc_airX_cltfactor


Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: Temperature Sensor Configuration
« Reply #6 on: July 28, 2008, 08:37:52 pm »
Hmm,

I dont get it, so i must work around the high temps :(


Thanks,
Skassa
working on the boxer

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Temperature Sensor Configuration
« Reply #7 on: July 28, 2008, 09:58:48 pm »
Which bit do you not get?

Copy that hex file into Tools\ntc_airX_cltfactor
then open a command window and type either:
tempsensor_upload16x14 2063 2252 256
or
tempsensor_upload12x12 2063 2252 256

Depending on what map size you're using.

Rob

Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: Temperature Sensor Configuration
« Reply #8 on: July 29, 2008, 03:04:43 pm »
Thanks,

I finally found out, thanks :)

the mat is now 10 degrees lower  :)

/Skassa
working on the boxer

Offline Quattro

  • Jr. Member
  • **
  • Posts: 12
  • BHP: 1
Re: Temperature Sensor Configuration
« Reply #9 on: August 22, 2008, 10:01:52 am »
Hello.
I have problems..

I have an Audi and the Vems motronic55 ecu but my tempsensors showing little wrong so i want to upload new tempsensor calibration files.

I have 1.1.27beta2
Downloaded from here:
http://www.vems.hu/wiki/index.php?page=MegaTune

When i type:
tempsensor_upload12x12 2063 2252 256
I looks like this:



NOTE: hexfile line neglected: # automatically generated by propertherm, type=air
den
NOTE: hexfile line neglected: # matfactor is also included# modelparam = 2063 Oh
m 256 aref
NOTE: hexfile line neglected: # 2252 Ohm in modelparam means that the actually u
sed thermistor exactly matches the reference CURVE, 2297 means that the real NOT
E: hexfile line neglected: thing is +2% higher resistance (at given temp) than t
he reference CURVE
NOTE: hexfile line neglected: # automatically generated by propertherm, type=clt

NOTE: hexfile line neglected: # modelparam = 2252 Ohm 256 aref
NOTE: hexfile line neglected: # 2252 Ohm in modelparam means that the actually u
sed thermistor exactly matches the reference CURVE, 2297 means that the real NOT
E: hexfile line neglected: thing is +2% higher resistance (at given temp) than t
he reference CURVE

But here it crashes and it says that the HEXPATCH.EXE has a problem and has to end, and it asks if i want to send a report to microsoft.. then after that i get this:
C:\VemsMT1.1.27beta2\temppatch.hex
Can't access the file because it
used by another process.
Down loading flash file:firmware\upload.hex
LoAddr = 0 HiAddr = 0
Translation complete!

AVR said HELLO : HELLO>
Flash erased
.
Flash Download finished
Verify Flash.
.
SUCCESS
Start terminal emulation - ESC to exit
pp.
Normal Exit


But after this my ecu dosen't work, i can't comunicate with it and have to restart my computer and hard reset the ecu and upload firmware and config again, i also tried type "tempsensor_upload16x14 2400 2700 263" with same result and another guy tried on his computer but had same problem..
Is there something wrong with 1.1.27beta2 ?

Have an Audi 90q-85 20vTurbo with Vems ecu, also own 2 Urquattro 20v-90

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: Temperature Sensor Configuration
« Reply #10 on: August 22, 2008, 10:40:10 am »
1.1.27 is OK. But bat files coming with this package did not work for me too. IRC i use bat files from 1.0.73final package.

Now you must do as described here:
http://www.vems.co.uk/forum/index.php?topic=209.0

my tempsensor_upload12x12.bat file looks like
Code: [Select]
@echo off
echo Will upload 1.0.53 firmware + your chosen temp factor files
echo usage: tempsensor_upload.bat air-ohm clt-ohm aref
echo WARNING: Overwrites your current firmware in your ECU
echo ctrl-c to abort
echo -----------------------------------------------------------------------
pause
if exist Tools\ntc_airX_cltfactor\airXfactor_%1_%3.hex (
if exist Tools\ntc_airX_cltfactor\cltfactor_%2_%3.hex (
if exist firmware\upload.hex del firmware\upload.hex
type Tools\ntc_airX_cltfactor\airXfactor_%1_%3.hex > temppatch.hex
type Tools\ntc_airX_cltfactor\cltfactor_%2_%3.hex >> temppatch.hex
Tools\ntc_airX_cltfactor\hexpatch.exe firmware\vems12x12.hex < temppatch.hex > firmware\upload.hex
del temppatch.hex

)) else ( echo Missing files)

if exist firmware\upload.hex (
tools\megaloader.exe firmware\upload.hex -wtE 38400 -c com5

) else (
echo Patch Failed )
pause

You can run it without upgrading firmware. This file do same but with thermo patch.
In bootloader mode remove t from -wtE.

Gints

Offline Quattro

  • Jr. Member
  • **
  • Posts: 12
  • BHP: 1
Re: Temperature Sensor Configuration
« Reply #11 on: August 25, 2008, 06:33:48 pm »
I don't understand ???
Should i take the tempsensor_upload12x12.bat from 1.0.73final and copy it in to my 1.1.27beta2 ?


And what of the things is it that i should do then thats described in here: ???
http://www.vems.co.uk/forum/index.php?topic=209.0


And i can't se any difference in my bat file from 1.1.27beta2 against yours ?
my tempsensor_upload12x12.bat file:


@echo off
echo Will upload 1.0.53 firmware + your chosen temp factor files
echo usage: tempsensor_upload.bat air-ohm clt-ohm aref
echo WARNING: Overwrites your current firmware in your ECU
echo ctrl-c to abort
echo -----------------------------------------------------------------------
pause
if exist Tools\ntc_airX_cltfactor\airXfactor_%1_%3.hex (
if exist Tools\ntc_airX_cltfactor\cltfactor_%2_%3.hex (
if exist firmware\upload.hex del firmware\upload.hex
type Tools\ntc_airX_cltfactor\airXfactor_%1_%3.hex > temppatch.hex
type Tools\ntc_airX_cltfactor\cltfactor_%2_%3.hex >> temppatch.hex
Tools\ntc_airX_cltfactor\hexpatch.exe firmware\vems12x12.hex < temppatch.hex > firmware\upload.hex
del temppatch.hex

)) else ( echo Missing files)

if exist firmware\upload.hex (
tools\megaloader.exe firmware\upload.hex -wtE 38400 -c com1

) else (
echo Patch Failed )
pause

« Last Edit: August 25, 2008, 06:43:53 pm by Quattro »
Have an Audi 90q-85 20vTurbo with Vems ecu, also own 2 Urquattro 20v-90

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: Temperature Sensor Configuration
« Reply #12 on: February 23, 2009, 03:25:42 pm »
What shuold I do, if the ect, act sensor resistance is:
0 Celsius  88-100 kohm
20 C       35-40k
40 C       15-17k
60 C       7-8k
80 C       3-4.5K

This sensor is usable or have to change?

Thx

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: Temperature Sensor Configuration
« Reply #13 on: February 23, 2009, 05:52:05 pm »
What engine is that from?  Is it a two pin temp sensor?

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: Temperature Sensor Configuration
« Reply #14 on: February 23, 2009, 06:22:23 pm »
This is a Ford 2.0 liter Doch with EEC4 in a Sierra 92'. Engine code n9c.
The sensors are not bosch minitimer stlye plug, but 2 pin.

I saw the in the coolantfactor directory that the max resistance file is 5600 ohm.