Expanded Megasquirt Coolant Temperature Range

A forum for discussing the creation, modification, and loading of embedded code for B&G MS-I/MS-II.
Forum rules
Read the manual to see if your question is answered there before posting. Many users will not reply if the answer is already available in the manual.

If your question is about troubleshooting, configuration, or tuning, you MUST include your processor type (MS-I or MS-II) and code version in your post. If your question is about PCB assembly or modifications, you must also include the main board version number (1.01, 2.2 or 3.0).

If you have questions about MS1/Extra or MS2/Extra code configuration or tuning, please post them at www.msextra.com Such questions posted here will be moved to: a temporary MSextra sub-forum, where they will be removed after 7 days

The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
msoultan
Helpful Squirter
Posts: 58
Joined: Sun Jun 27, 2004 11:04 am
Location: Long Beach, CA - USA

Expanded Megasquirt Coolant Temperature Range

Post by msoultan »

Hey everyone,
I've been working with Lance to put provisions into MegaTune so that the aircooled folks will now be able work with temperatures greater than 350. These changes also include some modifications to the MEGASQUIRT-II.INI file to take advantage of these changes in the SETTINGS.INI file used with MegaTune. These changes allow people to use their stock cylinder head temperature sensor (i.e. L-Jet temp sensor II) to control the MegaSquirt. This wasn't possible before because the temperature range of a head temp sensor is much higher than the coolant sensor and wasn't allowed by the MSII and the MS2/Extra INI files. I have also informed the other tuning software authors of the changes (i.e. MegaTunix, TunerStudio, etc) if they might be interested in updating their software to handle the updates as well. Here is a listing of the new temp ranges and limits that are being used in the INI files:
CELSIUS (Expanded/Normal):
Low limit: -40C/-40C
High limit: 300C/150C
Low danger: 65C/10C
Low warning: 93C/65C
High warning: 162C/93C
High danger: 176C/104C

FAHRENHEIT (Expanded/Normal):
Low Limit: -40F/-40F
High limit: 600F/300F
Low danger: 150F/50F
Low warning: 200F/150F
High warning: 325F/200F
High danger: 350F/220F

Lance has already updated the latest B&G MSII code (starting from version 2.888) with the new temperature ranges. I am working with the MS2/Extra developers and hopefully will have it added in the next 2.1.0 betas. I have been testing these changes for the past year or so in my own custom modified INI files and they've worked great; I just never had the time to coordinate all of the MegaTune and INI changes until now.

USAGE
To use the expanded coolant temperature range, you will need to do three things:

1. Download the new SETTINGS.INI file to your current project's mtCfg folder - this file will work with all of the MegaSquirt II software variants. Here is where you can get the latest SETTINGS.INI file (the MegaTune installation package is already updated with the latest SETTINGS.INI file as well):

http://www.megamanual.com/files/ini/settings.ini

Save that file in your current project's mtCfg folder and then run the MegaTune Configurator. Enable the "Expanded Coolant Temperature Range" setting and then save and close the Configurator. This is the setting that you will enable:

Code: Select all

;------------------------------------------------------------------------------
; This setting allows for expanded coolant temperature ranges for gauges
; and inputs - for example -40F to 600F instead of -40F to 200F.  This is
; useful for air-cooled vehicles.  This setting only adjusts the temperature
; displays and input limits used by MegaTune.  You will still need to
; upload the appropriate coolant lookup table that is specific to your
; coolant sensor if it is different from the stock GM sensor.  Works with
; MegaSquirt-II only

#unset EXPANDED_CLT_TEMP "Expanded Coolant Temperature Range"

2. Download the latest MEGASQIRT-II.INI for your version of MegaSquirt and also copy it to your current project's mtCfg folder.

B&G MS-II users
Download the latest MEGASQUIRT-II.INI file here:

http://www.megamanual.com/files/ini/

MS2/Extra users
As of writing this message, the feature has not been added to the MS2/Extra code yet. If you would like to follow along in the development process of this feature, please visit the following thread:

http://www.msextra.com/viewtopic.php?f=91&t=29875

If/When it is added to the MS2/Extra INI, I will update this thread.


3. Unless you are using a standard GM sensor, the last part of the process is uploading a new coolant lookup table to the MegaSquirt. This can be done in two ways. You can either use MegaTune's Table Generator under Tools | Calibrate Thermistor Tables (currently limited to 350F), or you can create your own coolant lookup file using my coolant lookup generator and then compile that directly into the code. Here is the thread for my custom CLTFACTER.INC generator:

viewtopic.php?f=38&t=33787

and here is the direct download:

http://www.megamanual.com/files/softwar ... erator.zip


After that, load up MegaTune or any other tuning software that supports these modifications and enjoy your new temperature range!

Let me know if you have any questions.

Thanks!
Mike
grippo
Site Admin
Posts: 286
Joined: Mon Feb 16, 2004 6:55 pm

Re: Expanded Megasquirt Coolant Temperature Range

Post by grippo »

Mike, Lance,

I really appreciate your doing this - its nice to have a new capability like this, and even nicer for me that it could be done through the ini file alone.
raularrese
MegaSquirt Newbie
Posts: 5
Joined: Sun Dec 21, 2008 6:41 pm

Re: Expanded Megasquirt Coolant Temperature Range

Post by raularrese »

excellent post, thanks all my questions answered
Post Reply