Loop and Race button

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

Post Reply
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Loop and Race button

Post by Manu »

Hello,

Is it possible to assign a physical switch entry to a loop using bitwise and any PORTx that hold an switch entry variable ?
I guess that I can do bitwise with let say JS11 and activate Loop1 when JS11 is switched.

The purpose is to use a single switch to put engine in race configuration. This race configuration will depend on user choices, but shall active ALS, Dual Carto and all possible strategies than can be triggered using loop1.

Any toughts ?

Best regards,
Manu
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
dontz125
Super MS/Extra'er
Posts: 4223
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Loop and Race button

Post by dontz125 »

I don't see why not. I think you'll need to set at least one of your selections to activate on JS11, to force it to be an input; if for whatever reason it's defined as an output, ground-switching JS11 won't actually accomplish anything. Now you can set LOOP1 as a ProgOut going HIGH on [portmj] AND [128] Hysteresis [128].
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Loop and Race button

Post by Manu »

Hi Don,
dontz125 wrote:I think you'll need to set at least one of your selections to activate on JS11, to force it to be an input
I didn't think about that. i'll give a try soon. there is also a possibility to use an roto-actor hooked up to an analog input and use loops to catch the positon ;-)

Best regards,
Manu
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
dontz125
Super MS/Extra'er
Posts: 4223
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Loop and Race button

Post by dontz125 »

... "roto-actor"? Anything like a potentiometer / variable resistor?

If I read you correctly, you're talking about an adjusting knob that will activate more and more functions as moves into the 'RACE' position, correct? That would be neat!

(You might want to use a rotary switch with a bank of resistors, or at least a pot with detents, so it 'clicks' into position.)
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: Loop and Race button

Post by Manu »

You have fully understood :P
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
Post Reply