Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Shift Light now in Drag Tools


Guru

Status: Offline
Posts: 1233
Date:
Shift Light now in Drag Tools


Hi,

I have just released a new version of ecueditor which has a new piece of functionality in the drag tools screen for a Shift Light.

The shift light code uses the PAIR pin to drive a shift light and it allows you to set Launch Light RPM, Gear 1 Shift RPM, Gear 2 Shift RPM etc.

Obviously you will not be able to use the shift light if you are using the boost fuel or nitrous control with solenoid controled by the PAIR circuit.

I have not tested this functionality as i dont have a shift light on my bike but it should work in theory :)



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Senior Member

Status: Offline
Posts: 186
Date:

Would it be possible to use the "neutral" light instead, so this could

become a universal feature? Grounding pin 59 should turn on the

neutral green light, maybe it is possible to software control it.



__________________


Guru

Status: Offline
Posts: 1233
Date:

Could be possible but i dont know, would have to check the wiring diagram to see if the neutral light is directly controlled by the neutral switch or via the ecu?

__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Senior Member

Status: Offline
Posts: 186
Date:

I cheched it, the neutral light is connected by the switch to ground, while the same

wire enter into pin 59. If pin 59 could be sftware grounded, it could turn on

the light, being in parallel with the mechanic switch.



__________________


Guru

Status: Offline
Posts: 1233
Date:

i dont think this is possible, as pin 59 would be an input pin so the ecu detects when the engine is in neutral.

__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Veteran Member

Status: Offline
Posts: 88
Date:

I think also if the neutral wire were earthed when in gear the ECU will throw the GPS switch fault code and default to 6th gear map.

__________________


Senior Member

Status: Offline
Posts: 186
Date:

jkwool wrote:

i dont think this is possible, as pin 59 would be an input pin so the ecu detects when the engine is in neutral.


 

Ok, so what about using the FI light instead?



__________________


Guru

Status: Offline
Posts: 1233
Date:

This feature if for racers who need to be able to see the shift light while holding onto 400+ hp, i dont think the FI light would do the job ;)

__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Guru

Status: Offline
Posts: 1247
Date:

Great news Justin!

This will enable a few more wires to be removed from my bike, as well as any other conversion or non gauged race application bike.



__________________


Guru

Status: Offline
Posts: 1247
Date:

Just downloaded the new version with the shift light to take a look.

Looks good.

Justin,
How does the shiftlight work? Is it on above the threshold always?
Is neutral also Clutch in?

To use as a launch light, it would likely be best to have a window switch (on at 7500-7800 only for example), and woudl have to be activated with the clutch in.



__________________


Guru

Status: Offline
Posts: 1233
Date:

Shift light is always on above the threshold

hmm good idea about the window for launch, should be easy enough to make the light only come on when you are in the launch rpm window.

I will have to check if launch light is only active when clutch in, would be an easy change to make it work this way.

Thanks for the feedback ;)

__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Guru

Status: Offline
Posts: 1233
Date:

I have made the change to have a launch rpm window for the launch light and i can confirm that the launch light will only come on when in 1st gear with the clutch in. This is not released yet as i am in the middle of the changes for boost fuel module and will do a release with all the changes when finished.

__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Guru

Status: Offline
Posts: 1247
Date:

Great Justin.

This will actually also help with another potential issue that actually happens more often than it should in drag racing....not having the bike in 1st gear.

I've done it and have known of many others to have done it.

__________________


Guru

Status: Offline
Posts: 1233
Date:

Ha Ha Ha, yeah i could see how that could be an issue :)

__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Veteran Member

Status: Offline
Posts: 49
Date:

top stuff been waiting for this feature ,thankyou very much

__________________


Senior Member

Status: Offline
Posts: 109
Date:

This function could also be used to prevent too-soon a downshift with a paddle-shift gearbox.... Brilliant!

__________________


Guru

Status: Offline
Posts: 1247
Date:

Please post if you have successfully used the shiftlight function for a GEN2 hayabusa. Trying to ensure functionality to close out prior bug reports.

__________________


Senior Member

Status: Offline
Posts: 498
Date:

Food for thought on the Shift Light Function......

I have Not Personally been able to test this out yet(My Flash Box was Destroyed), But what if instead of using the Pair Valve Circuit, We use the EVAP Circuit instead?

The Reason I'm Pondering this is do to a Couple of Reasons? The ones that are already using the Pair Circuit for Boost or N2O Control will Not be able to use the Shift light Function. Plus, there seems to be a Problem with the Sift light being on the Pair circuit anyways?

Only Problem I For See, is I'm Not a 100% Sure Non-California Bikes have this Circuit? (I would think it's there, Just Might be Taped up in the Harness or Something seeings how Non-CA Bikes did Not have to have the EVAP Canister)

I Will look through some Wiring Diagrams and see if I can't find out More info on this.

Justin/John, whats your Guy's thoughts on this?



__________________
08 Busa AKA: }ToXSicK{


Guru

Status: Offline
Posts: 1247
Date:

If the EVAP hardware is installed in all of the bikes, it would be nice to have the extra output.

I would assume the same issues (if they exist) with teh evap circuit since it is driving a similar solenoid valve as compared to the PAIR.

What happened to your interface homie? Back over it with your truck?



__________________


Guru

Status: Offline
Posts: 1247
Date:

Just read what happened to the box....Maybe I should let my daughters (2 and 4) go at my bike with a hammer if I need it "fixed".



__________________


Senior Member

Status: Offline
Posts: 498
Date:

sportbikeryder wrote:

Just read what happened to the box....Maybe I should let my daughters (2 and 4) go at my bike with a hammer if I need it "fixed".


 Hahaha........ What Can I do? ashamed I Just looked at My Wife and Walked out!

Oh Well, I'm gonna buy the Log Box from Justin this week.

Back to the Shift light Problem, if it is just a Resistance Problem, Should be able to add a Resistor I'm thinking? Having the Output on the EVAP would be Very Nice though, For the one's that are using Pair already. smile Just need to see if Justin can Write it this way???



__________________
08 Busa AKA: }ToXSicK{


Guru

Status: Offline
Posts: 1247
Date:

I think the thing to do will be to identify the EVAP controls in the code, and then setup a simple output to test to see if it is even in the non CA models. If it is, then it opens up a whole new area for EE3.0 to be able to configure outputs based on, well, whatever input is desired with enough programming.

__________________


Guru

Status: Offline
Posts: 1233
Date:

hmm interesting, i have never really thought about the evap before, i have not got time right now to look at this but i will log it for future investigation ;)



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Senior Member

Status: Offline
Posts: 109
Date:

A couple of things to mention, the PAIR output 'pulls up' to about 8v with a 12v LED and +12v fed to it, so the LED is lit dimly all the time and gets brighter when fully pulled to ground by the PAIR output.

 

I have used a 5v+ supply (left over from deleted TOS, or you could pull it from the diag socket maybe) and a 5v LED with a 20k resistor bridge on the ground side of the LED to +12v so that the ground side of the LED sits at +5v unless grounded by the PAIR output to prevent the LED from glowing. Apart from that little wiring tweak the shiftlight works great and I hope to use it to do 'optimum' auto up-shifts when I've got the other bits configured.

I haven't tried the 'launch' light settings yet, but it did occur to me that conditionally 'first gear AND clutch in' might be a good idea, and the same would go for the two-step limiter, as 'clutch-in only' activation would prevent an effective throttle blip on downshifts for smoother shifting. Unles this has already been implemented and I've missed it, because I haven't read every last post TBH.

The other thing that occurred to me was what sort of output the lambda heater was? Is it just pulled to ground in parallel with the pump relay output (since most engines use the pump live to feed the lambda heater) or is it a separate, configurable output that could be put to better use?

smile



-- Edited by Chipwizard on Thursday 17th of May 2012 09:17:11 PM

__________________


Guru

Status: Offline
Posts: 1247
Date:

I have noticed the same thing in initial testing (leakage voltage through the PAIR grounding circuit). I haven't really looked into it yet, but it does make the LED glow very dim when "off"



__________________


Guru

Status: Offline
Posts: 1247
Date:

I'm not getting a ground activation at all for the pair when the shiftlight is activated. Tried it with an LED and then put a relay in (higher resistance) ad still no luck. If I manually ground the relay, the light works just fine

__________________


Guru

Status: Offline
Posts: 1247
Date:

Just for reference, I have one side of the LED (Or relay coil) powered with +12V and the ground is connected to the PAIR pin (pin44).
With just the LED, there is a dim glow as noted by Chipwizard. Doesn't seem to pull to ground though on activation.

__________________


Senior Member

Status: Offline
Posts: 109
Date:

sportbikeryder wrote:

Just for reference, I have one side of the LED (Or relay coil) powered with +12V and the ground is connected to the PAIR pin (pin44).
With just the LED, there is a dim glow as noted by Chipwizard. Doesn't seem to pull to ground though on activation.


 Maybe try starting with a fresh file, shift light works fine on mine.



__________________


Guru

Status: Offline
Posts: 1247
Date:

I'll try it. Seems odd.

I understand the LED dim glowing, the relay should take care of that.

I suppose it it possible the PAIR circuit is somehow damaged as well....I do have another ECU I could try too.

do you have your PAIR output active or disabled in the advanced screen?



-- Edited by sportbikeryder on Monday 28th of May 2012 05:51:08 PM

__________________


Guru

Status: Offline
Posts: 546
Date:

John have you tried turning off the boost fuel , although the boost control is not active in your bin it may still interfere with the shiftlight

Just make sure you have a current file saved to flash back in after incase reactivation of boost fuel reverts to the generic map



-- Edited by Maj750 on Monday 28th of May 2012 09:51:06 PM

__________________


Guru

Status: Offline
Posts: 1247
Date:

I'll go out and try a few things this evening.

A few combinations with the pair active or not. Probably even try it again with the pair locked on. Boostfuel active / not, etc.

I save every change I ever make so I can always revert back.

__________________


Guru

Status: Offline
Posts: 1247
Date:

with the pair active and the boost fuel active as normal, the shiftlight function seems to work, but the launch function is not working.

This is usable for me, provided I use the 2 step or setup an antilag strategy so I know where to launch.

I will double check the clutch action with engine data next time I have the bike running.

__________________


Guru

Status: Offline
Posts: 1247
Date:

Anyone with input or suggestions on getting the launchlight to function would be greatly appreciated. 2step functions great but not easy to build boost with



__________________


Guru

Status: Offline
Posts: 1233
Date:

Hey John, i just checked the code that i wrote for the shift light/launch light 

Gear = 1

And CLUTCH = 1

And RPM >= Launch Max RPM

And RPM <= Launch Min RPM

Do you have your clutch switch hooked up?



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Guru

Status: Offline
Posts: 1247
Date:

Yeah. All of the above should be satisfied. 2step works off of the clutxh switch. Ill check into it later this week.


__________________


Guru

Status: Offline
Posts: 1247
Date:

Does anyone have a shiftlight programmed that has the launch light working as expected?

Or just the shiftlight that is willing to program in a launch light to test this?

__________________


Guru

Status: Offline
Posts: 1247
Date:

Guess I'm the only guy that races with a launch light...




-- Edited by sportbikeryder on Tuesday 12th of June 2012 02:01:47 AM

__________________


Guru

Status: Offline
Posts: 1247
Date:

jkwool wrote:

Hey John, i just checked the code that i wrote for the shift light/launch light 

Gear = 1

And CLUTCH = 1

And RPM >= Launch Max RPM

And RPM <= Launch Min RPM

Do you have your clutch switch hooked up?


 Justin,

    Where is this code located? I searched adn searched on bitbucket and can't seem to find it, other than legacy versions in the workspace directory. It is not included as part of  "ecueditor / BusaECUeditor / ecu.c / dragtools.c"  although I would expect it to be. This only includes slew rate control and 2-step code portions.

 

I found dragtools code located int eh workspace directory that appears to be sound here:  "ecueditor / Workspace / ecueditor / DragTools / DragTools.c"  , although this code does not appear to have the 2-step and slew rate control in it.  

The code locacted here: "ecueditor / Workspace / ecueditor / ShiftLight / ShiftLight.c" appears to be the original shiftloght code with launch being only a single value rather than a window switch.

Maybe I am overlooking where the code is located?

John

 
 


__________________


Senior Member

Status: Offline
Posts: 109
Date:

I do rolling starts so I don't use the launch light but the shift output works perfectly for me.

If there's some sort of conflict going on how about using the redundant lambda heater output? Assuming it isn't just hardware paired to the fuel pump relay output of course....

__________________


Guru

Status: Offline
Posts: 1247
Date:

Chip, any chance you could program it adn test to see if it is working? Just trying to see if it is just me or a potential coding issue.

__________________


Guru

Status: Offline
Posts: 1233
Date:

John

This code is in the ShfitLight.c file under the workspace->ecueidtor->shiftlight folder

 

#pragma SECTION P SHIFTLIGHTCODE

void ShiftLight(void)

{

if(ECU_GPS == 1

&& (CLUTCH & 1) == 1

&& ECU_RPM >= launchRpm)

{// Gear 1 + Clutch In => Launch Light

PORT1 = PORT1 | PAIR;

}

else if(ECU_GPS == 1

&& ECU_RPM >= gear1ShiftRpm)

{// Gear 1 Shift Light

PORT1 = PORT1 | PAIR;

}

else if(ECU_GPS == 2

&& ECU_RPM >= gear2ShiftRpm)

{// Gear 2 Shift Light

PORT1 = PORT1 | PAIR;

}

else if(ECU_GPS == 3

&& ECU_RPM >= gear3ShiftRpm)

{// Gear 3 Shift Light

PORT1 = PORT1 | PAIR;

}

else if(ECU_GPS == 4

&& ECU_RPM >= gear4ShiftRpm)

{// Gear 4 Shift Light

PORT1 = PORT1 | PAIR;

}

else if(ECU_GPS == 5

&& ECU_RPM >= gear5ShiftRpm)

{// Gear 5 Shift Light

PORT1 = PORT1 | PAIR;

}

else

{// Not over Shift or Launch Light RPM -> Turn off Port 1

PORT1 = PORT1 & (0xFF - PAIR);

}

}



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Guru

Status: Offline
Posts: 1247
Date:

Justin, I saw that code, but it appears (to my untrained programming eye) that this is an older version. (original from 8-16-2011) It does not contain the variable reference for the max launch RPM. variable LAUNCH_MAX_RPM


The code located at Workspace/ecueditor/DragTools/DragTools.c appears to contain the updated information (per our discussion in august, and code is dated 8-21-2011), seems the max launch RPM may be written as a variable, but perhaps not called for in the call during the code execution rather dragtools may reference the earlier version with no window in launch that you posted above. 



  
        if(SHIFTLIGHT_ACTIVE == 1)
        {
                //Shift Light Code
                if(ECU_GPS == 1
                        && (CLUTCH & 1) == 1
                        && ECU_RPM >= LAUNCH_MIN_RPM
                        && ECU_RPM <= LAUNCH_MAX_RPM)
                {// Gear 1 + Clutch In => Launch Light
                        PORT1 = PORT1 | PAIR;
                }
                else if(ECU_GPS == 1
                        && ECU_RPM >= GEAR1_SHIFT_RPM)
                {// Gear 1 Shift Light
                        PORT1 = PORT1 | PAIR;
                }
                else if(ECU_GPS == 2
                        && ECU_RPM >= GEAR2_SHIFT_RPM)
                {// Gear 2 Shift Light
                        PORT1 = PORT1 | PAIR;
                }
                else if(ECU_GPS == 3
                        && ECU_RPM >= GEAR3_SHIFT_RPM)
                {// Gear 3 Shift Light
                        PORT1 = PORT1 | PAIR;
                }
                else if(ECU_GPS == 4
                        && ECU_RPM >= GEAR4_SHIFT_RPM)
                {// Gear 4 Shift Light
                        PORT1 = PORT1 | PAIR;
                }
                else if(ECU_GPS == 5
                        && ECU_RPM >= GEAR5_SHIFT_RPM)
                {// Gear 5 Shift Light
                        PORT1 = PORT1 | PAIR;
                }
                else
                {// Not over Shift or Launch Light RPM -> Turn off Port 1
                        PORT1 = PORT1 & (0xFF - PAIR); 
                }



-- Edited by sportbikeryder on Thursday 14th of June 2012 01:16:13 PM



-- Edited by sportbikeryder on Thursday 14th of June 2012 01:18:50 PM

__________________


Guru

Status: Offline
Posts: 1233
Date:

Hi John, you are correct, the code is in dragtools.c and this is what is implemented in ecueditor, the one in ShiftLight.c was an earlier version. i checked the code locations being set for the LAUNCH_MAX_RPM variable in the vb code and it seems to be correct...

Private Sub NUD_LaunchRPMMax_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NUD_LaunchRPMMax.ValueChanged

        If loading = False Then

            WriteFlashWord(&H5A014, Int(NUD_LaunchRPMMax.Value * 2.56))

        End If

    End Sub



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Senior Member

Status: Offline
Posts: 109
Date:

I just tested this with launch light set to come on at 2000 and off at 2400 rpm (so as not to annoy the neighbours too much) and it did work but at much higher rpms, maybe 7-8000 rpm.

I Just blipped the throttle as I didn't want to hold high revs on long to see the actual rpms given that it's late evening here, but if you want me to test the actual rpms I can do that in the morning to see if it's just a divisible thing.

The 'shift' light works at the correct rpms, curiously.

Cheers



-- Edited by Chipwizard on Thursday 14th of June 2012 08:49:07 PM

__________________


Guru

Status: Offline
Posts: 1233
Date:

from memory i think the RPM may be calculated differently below a certain RPM so if possible it would be good to do the test at RPM that are likely to be used for the launch light i.e. > 5000. 

Thanks for testing :)



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Senior Member

Status: Offline
Posts: 109
Date:

OK. I'll test it again in the morning when noise is not a problem and try to work out what what the relationship is then.

It might be an idea to remove the launch light rpm options below whatever speed the constants change...



__________________


Guru

Status: Offline
Posts: 1233
Date:

ok great thanks, and yes a good idea ;)



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Senior Member

Status: Offline
Posts: 109
Date:

I managed to test this this morning and it half-works.

The 'conditionally 1st gear and clutch in' part works fine but the rpms that it lights up at is always 9000 rpm, regardless what the launch light rpm settings are.

Hope this helps....

I'll be pulling my motor out tonight so if anything else needs testing I will be able to do it up to tonight but not after for a week or ten days maybe when I get it back together.

__________________


Guru

Status: Offline
Posts: 1233
Date:

ok great info, that is something i can chase down :) 

An additional test that would give me some more info is if someone could load the drag tools and not make any changes to the shiflight settings and see if it the default value works?



__________________

site_logo_small.png

www.WoolichRacing.comTune your bike to the Limit with our Advanced ECU Flashing Products



Guru

Status: Offline
Posts: 1247
Date:

Sounds good guys.

I thought about the "stock" .bin trial, but for me that is impossible (my setup wouldn't even think about operating without almost all of the boxes checked and significant changes to the maps...)


Justin, Perhaps it is the clutch in part that is throwing it off.

If it is not too difficult, perhaps making a temporary release that eliminates the clutch in call for the launch RPM's would be beneficial for testing.


I will try a very low setting and see if mine works at all this evening.

I really need to look at how to code and compile to make the simple changes with this ...

__________________
1 2  >  Last»  | Page of 2  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard