Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

How To: Custom Thermistor Tables

Old Jun 20, 2017 | 01:51 PM
  #1  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default How To: Custom Thermistor Tables

Came across this when curly was trying to use an AEM temperature sensor, that wasn't the standard built in temperature sensor.

Turns out megasquirt has the ability to do one custom table, but the values need to be saved in a lookup table for ADC value and temperature. So some simple math, yet time consuming.

Well I found the program that was used to generate the GM curve that we all use, and was able to generate a new .inc file.

Some links and pictures.

Tools: Index of /megasquirt/tools/win32_bin (gentherm2.exe is what we need)



That command generated the .inc file for a 2490Ohm pickup, using 3 resistance/temp pairs to generate the curve.

Then, unlock your calibrations, and go to calibrate thermistor tables, and select Custom #1 Temperature Sensor, and custom inc file.



Browse to your file, select it, and write to controller.

Here are 2 .inc files. One for a 2.2k pullup AEM temp sensor, and the other for the 2.49k pullup AEM temp sensor.
2.49k AEM
2.2k AEM
Old Jun 20, 2017 | 03:26 PM
  #2  
curly's Avatar
Cpt. Slow
iTrader: (25)
 
Joined: Oct 2005
Posts: 15,197
Total Cats: 1,398
From: Oregon City, OR
Default

Thank you so much for going through the annoying process, I'll be trying this out in a few minutes.
Old Jun 20, 2017 | 04:01 PM
  #3  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Side note. We just found out this only works in 1.5.0+ firmware.
Old Jun 21, 2017 | 09:10 AM
  #4  
DNMakinson's Avatar
Elite Member
iTrader: (3)
 
Joined: Jan 2013
Posts: 5,030
Total Cats: 861
From: Seneca, SC
Default

I may be missing something. Is it not possible to input sets of (3) values in TS and it generates the curve. That's what I did a few years back with my CLT probe. Put it in a chamber and read the resistance at -40, 70, and 250*, or something close to that and plugged numbers into TS and burned to MS.

Or is this in lieu of the above process when one has a published table of values? Still, one should be able to simply choose (3) sets from the table and enter them.
Old Jun 21, 2017 | 09:14 AM
  #5  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

I think you are right. But I'm not totally sure. I may be just overcomplicating things
Old Dec 12, 2020 | 11:05 PM
  #6  
Djovani_jr's Avatar
Newb
 
Joined: Apr 2020
Posts: 8
Total Cats: 0
From: Sakhalin Island
Question

Originally Posted by aidandj
Came across this when curly was trying to use an AEM temperature sensor, that wasn't the standard built in temperature sensor.

Turns out megasquirt has the ability to do one custom table, but the values need to be saved in a lookup table for ADC value and temperature. So some simple math, yet time consuming.

Well I found the program that was used to generate the GM curve that we all use, and was able to generate a new .inc file.

Some links and pictures.

Tools: Index of /megasquirt/tools/win32_bin (gentherm2.exe is what we need)



That command generated the .inc file for a 2490Ohm pickup, using 3 resistance/temp pairs to generate the curve.

Then, unlock your calibrations, and go to calibrate thermistor tables, and select Custom #1 Temperature Sensor, and custom inc file.



Browse to your file, select it, and write to controller.

Here are 2 .inc files. One for a 2.2k pullup AEM temp sensor, and the other for the 2.49k pullup AEM temp sensor.
2.49k AEM
2.2k AEM
Hi.
I downloaded gentherm2.exe.
I can't figure out how to use it. I start the application, some process happens and the window closes ...
Where do I need to enter 3 points, where does the new file appear?
Old Dec 14, 2020 | 12:14 PM
  #7  
irodd's Avatar
Junior Member
iTrader: (4)
 
Joined: Apr 2014
Posts: 173
Total Cats: 16
From: Toronto, Canada
Default





Thread Tools
Search this Thread

All times are GMT -4. The time now is 06:40 AM.