Page 1 of 2

possible stupid question ?

Posted: Sun Mar 16, 2008 2:12 am
by pommie02
In megatune 2.8
how do I alter the tacho ( rev counter)
I need to make the max revs 11000.

Posted: Sun Mar 16, 2008 11:55 am
by old guy
You need to change your Megatune ini. to look like this. If you will note the number at the end of the line change where your guage warning colors will change.

gammaEnrichGauge = gammaEnrich, "Gamma Enrichment", "%", 50, 150, -1, -1, 151, 151, 0, 0
mapGauge = map, "Engine MAP", "kPa", 0, 150, 0, 0, 130, 140, 1, 0
mafGauge = maf, "MAF Air flow", "g/sec", 0, 650, 0, 200, 480, 550, 0, 0
barometerGauge = barometer, "Barometer", "kPa", 60, 120, 0, 20, 200, 245, 1, 0
calcMapGauge = calcMAP, "Estimated MAP", "kPa", 0, 255, 0, 20, 200, 245, 1, 0
pulseWidth1Gauge = pulseWidth1, "Pulse Width 1", "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
pulseWidth2Gauge = pulseWidth2, "Pulse Width 2", "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
tachometer = rpm, "Engine Speed", "RPM", 0, 11000, 300, 500, 9000,10000, 0, 0
throttleGauge = throttle, "Throttle Position", "%", 0, 100, -1, 1, 90, 100, 0, 0
; timmingErrGauge = timingErr, "Timing Error", "degrees",-10, 10, -10, -5, 5, 10, 1, 1
deltaTGauge = deltaT, "Timing Delta", "uS", 0, 25000, 0, 0,25000, 25000, 0, 0
veBucketGauge = veTuneValue, "VE Value", "%", 0, 120, -1, -1, 999, 999, 0, 0
veGauge = veCurr1, "VE Current", "%", 0, 120, -1, -1, 999, 999, 0, 0
voltMeter = batteryVoltage, "Battery Voltage", "volts", 7, 21, 9, 10, 16, 17, 2, 2
warmupEnrichGauge = warmupEnrich, "Warmup Enrichment", "%", 100, 150, -1, -1, 101, 105, 0, 0

Posted: Sun Mar 16, 2008 1:11 pm
by pommie02
Thanks...
I can see this is going to be a steep learning curve

Posted: Sun Mar 16, 2008 1:21 pm
by Bernard Fife
pommie02,

Actually, to change the tach, you only need to chaneg the line:

Code: Select all

   tachometer        = rpm,           "Engine Speed",       "RPM",     0,  8000,    300,   500, 5000, 6000, 0, 0
to:

Code: Select all

   tachometer        = rpm,           "Engine Speed",       "RPM",     0,  11000,    300,   500, 9000, 10000, 0, 0
The file you change will be something like: 'C:\program files\MegaSquirt\car1\mtCfg\megasquirt-II.ini' or 'C:\program files\MegaSquirt\microsquirt\mtCfg\megasquirt-II.ini'

You can do this using notepad or wordpad (which come with windows).

There's more here: http://www.megamanual.com/mt28.htm#installgauge

Lance.

Posted: Sun Mar 16, 2008 9:24 pm
by 24c
pommie02 wrote:Thanks...
I can see this is going to be a steep learning curve
As Lance says you only have to change the line ...

I saw the help file heading "Gauge Configurations" too, but if you scroll through the xxx-II.ini in your active file you will see it. I also found it easier to use the find function in Notepad, putting "tacho" in the search box and hitting "Find Next"

I think it is the second hit, AFAIR and then all you do is alter the values, save the file and when you start MegaTune again it's done.

PS I ended up with 10,500 -11,000 redline and it was a non issue. Gotta learn how to change the colours next. :D

Posted: Thu Mar 20, 2008 8:15 pm
by pommie02
Do I have to download anything else apart from megatune ?
I can make the file active but cant find any file to change....
in the car file i can open the note pad and make my changes.
all i want to do is change the tacho !!!!!
if this is the easy part i cant wait to tune my bike

Posted: Thu Mar 20, 2008 8:24 pm
by Bernard Fife
pommie02,

There were some problems is a very recent release of MegaTune that has caused some problems activating files (that particular release has been pulled).

If this was mine, I would uninstall MegaTune (click on the 'C:\Program Files\MegaSquirt\MegaTune2.25\unins000.exe' file in the MegaTune folder), then reinstall the version from here: http://www.megamanual.com/files/softwar ... _setup.exe.

If you have already modified the INI file, you can save it somewhere like the desktop, the move it to the project's mtCfg folder (:\Program Files\MegaSquirt\car1\mtCfg\) after re-instralling MegaTune. You don't need to 'activate' it after doing that. All activating does is move the file to the project folder and rename it by removing the numbers off the end (i.e. megasquirt-II.ini.2.8 becomes megasquirt-II.ini).

Lance.

Posted: Thu Mar 20, 2008 10:57 pm
by pommie02
Thanks Lance
I will give it a go

Posted: Fri Mar 21, 2008 1:54 am
by pommie02
I keep getting a shell execute 31 error...
do i need to connect to the microsquirt first ?.
i want to set the basics before i connect the ecu.
i have uninstalled twice now and i still cant modify the tacho...I cant even find that file unknown file.

Posted: Fri Mar 21, 2008 3:09 am
by newtyres1
Pommie,

You and Dave have a connection, I am a friend of Dave's, do you want me to come around and help get it sorted, if so, just PM me. It could take 5 days over the internet or 1/2 hr in real life. The "shell execute 31 error" does not sound good, I could bring another laptop to check against.

Ian.