4L80E code

A forum for discussing applications and implementations of the MegaShift transmission controller code for the GPIO from B&G. This can control up to 8-speeds and 6 shift solenoids (plus a 16x9 table for controlling a PWM line pressure valve). It has manual and fully automatic modes (16x9 load x speed table), with under and over rev-limit protection, and full data logging of all inputs and outputs (among many other abilities). A TransStim to test your completed board is also available.
gui67
Posts: 134
Joined: Tue Oct 05, 2010 11:58 am
Location: Strasbourg, France

Re: 4L80E code

Post by gui67 »

Thank you Lance,
I will try it this week-end: unfortunately, my car is 60km from where I live at the moment so I cannot test it whenever I want.

I will lower the setting pulse/km on the speedo, in order not to have a too high frequency. That is not a problem
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: 4L80E code

Post by Bernard Fife »

Guillaume,

Thanks for testing this when you get a chance. I know it's not much fun when the car is so far away!

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
gui67
Posts: 134
Joined: Tue Oct 05, 2010 11:58 am
Location: Strasbourg, France

Re: 4L80E code

Post by gui67 »

So I tested the new code:
the metric conversion seems to work: the speeds on tunerstudio is correct.

The output for the speedo now sends a signal: the speedometer needle is moving, but the speed is not correct: it was moving between 30 and 50km/h, even when I am stopped. this was first done with the initial settings of 16000pulses per mile.
I then changed to ~2000 pulses /mile and put the same setting in TS for Megasquirt. I don't know if the problem is from the speedo or from megashift output.

The temperature seems also to be in °F instead of °C in tunerstudio. the problem is that the unit is not clearly defined: only deg, we don't know if it is celsius or farenheit

Guillaume
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: 4L80E code

Post by Bernard Fife »

Guillaume,

I re-checked on the scope, and the signal looks fine - the code isn't generating any odd signals that I can see. It goes low if the speed is zero.

However some people have reported that the speedo shows a speed when stopped, presumably due to noise. If this was mine, the first thing I would try is putting a 10K Ohm resistor in the line from the GPIO speedo output to your speedometer. This may help quiet the noise that you are seeing.

If that doesn't work, I can try a fix in the code: right now, the speedo output switches all VSS pulses. If these pulses are noise, they still switch the speedo output. I will move the speedo output to incorporate the filtering done on the speedo for the next code version, but you might try the resistor first - that will eliminate some of the other potential issues.

I will edit the most recent INI's to show degF or degC. These will be here: http://www.msgpio.com/manuals/mshift/files/ini/ in an hour or so for 2.105 and 4.003 (look for today's date on the INI).

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
gui67
Posts: 134
Joined: Tue Oct 05, 2010 11:58 am
Location: Strasbourg, France

Re: 4L80E code

Post by gui67 »

So if there is noise that is filtered, the speed could be right on tunerstudio, but a false speed could be sent to the speedometer.
I will try the 10kOhm resistor between the speedo output on megashifft and the autometer speedo.

On my engine VR sensor, I also added a resistor inline (I think 10 or 15kOhm) (with a 3.57 board), would this be a solution on the VSS input?
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: 4L80E code

Post by Bernard Fife »

Guillaume,

Yes, exactly. The resistor would help us know if the noise is in the VSS and is being filtered by the MShift code, or if it is in the wire from the GPIO to the speedometer (in which case the MShift code can't do much).

You can try a resistor on the VSS - it won't normally do any harm, and in the unlikely case where the resistance is too high, you won't get any signal at all (which is pretty easy to spot!).

I have put the modified INI's on the web site, and I will move the speedo switching to incorporate the VSS filtering for the next release (likely out tomorrow).

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: 4L80E code

Post by Bernard Fife »

Guillaume,

The 2.106 code with the speedo output filtering change is here: http://www.msgpio.com/manuals/mshift/V2code.html

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
gui67
Posts: 134
Joined: Tue Oct 05, 2010 11:58 am
Location: Strasbourg, France

Re: 4L80E code

Post by gui67 »

Wow, you are very fast. I will test it and also take some resistors to the car in order to test both solutions.

I also remembered something else in tunerstudio:
the tunerstudio gauge current gear shows 0 while in neutral or park , -1 in reverse but always 1 in 1 2 3 or 4th gear. (not position lever)
I added the gauge manual gear that is correct and which shows the position of the lever.

Guillaume
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: 4L80E code

Post by Bernard Fife »

Guillaume,

Is this on the bench or in the vehicle? If it's on the bench, then it is likely that you need to disable the rpm checking (under 'General Settings/Rev Limits') as this will often prevent shifting on the test bench because the rpm isn't appropriately related to the gear and speed.

However, if it is doing this in the vehicle, could you post your MSQ and I will have a look.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
gui67
Posts: 134
Joined: Tue Oct 05, 2010 11:58 am
Location: Strasbourg, France

Re: 4L80E code

Post by gui67 »

Lance,
it was in the car: the transmission is shifting, but the current gear stays on 1.
I attached the msq.
Guillaume
Post Reply