Flex Fuel Gauges for MegaTune
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Flex Fuel Gauges for MegaTune
Yesterday we got our 79 CJ5 to run flex fuel, and I can say first-hand that MegaSquirt is very impressive. The Jeep never ran this well with its old carb. Now it performs like a late model, fuel injected car, whether on gasoline, E85, or somewhere in between.
Thanks in advance for help!
Evan
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
63Vette,Has anyone coded a fuel composition gauge based on the GM sensor's PWM (50 - 150 Hz) signal?
This is a very good idea. Unfortunately, I just had a quick look and I don't see that MegaSquirt returns either the fuel sensor frequency or the fuel composition, and without these we can't make a gauge.
However, I suspect we can convince Al to add these to the variables passed back to MegaSquirt, then it will be easy to make gauges (I will add them to the default INI files).
Al is out of town (and out of range of internet access) this week, but I'll remind him about this next week.
And that's cool that the Jeep runs so well, by the way!
Lance.
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
I just had a closer look, and it appears the E85 fuel correction is in the variables (it just wasn't in the first place I looked).
The variable is:
Code: Select all
fuelCorrection = scalar, S16, 68, "%", 1.000, 0.0 ; Percent alcohol in fuel.Code: Select all
e85Gauge = fuelCorrection,"E85 Fuel Correction", "%", 100, 200, 99, 99, 164, 170, 0, 0 Code: Select all
entry = fuelCorrection, "E85", int, "%d"If you could test this and confirm that it works as esxpected, that would be great (I will also test it on the bench when I get a chance).
Lance.
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
For the fuel composition gauge add:
[GaugeConfigurations]:
Code: Select all
ethanolGas = fuelComposition, "Ethanol Percentage","%", 0, 100, -1, -1, 85, 101, 0, 0Code: Select all
fuelComposition = { (fuelCorrection - 100)*1.587 }, % ; works with default sensor valuesCode: Select all
entry = fuelComposition, "Ethanol%", int, "%d"-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
I meant to mention (and you probably already know) you can add these gauges to your front page using the instructions here:
http://www.megamanual.com/megatune.htm#installgauge
or you can right-cick on any gauge at time MegaTune is running and select either of the ethanol gauges to replace the one you have clicked on.
Lance.
I recently built a 14:1 small block for my Corvette so it's super important that I'm mindful of the ethanol percentage when I fill up. I have access to E98 (for those unfamiliar with this term, its basically straight ethanol with a tad of gasoline mandated by Uncle Sam so we're not tempted to drink it) so I can raise the alcohol percentage if detonation becomes an issue after a "bad tank" (my last tank of E85 was actually "E65"). A return line to the tank after the pressure regulator also means that I can circulate fuel and get a reading without firing off the engine. That's the plan at least...
Thanks again,
Evan
-
78Spit1500Fed
- Site Admin
- Posts: 90
- Joined: Thu Jul 29, 2004 4:36 am
- Location: Terre Haute, Indiana
- Contact:
-
Bernard Fife
- Super Squirter
- Posts: 1009
- Joined: Mon Feb 16, 2004 3:15 pm
Yeah, I wish we had even E85 around here - it'll come eventually, I suppose (maybe in time for the turbos I plan for my car!)
No, not even close!Lance, you are a god.
Lance.
