On/off outputs question (MS3 pre-1.4 beta 10 released)

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
ekam99
Helpful MS/Extra'er
Posts: 72
Joined: Fri Oct 10, 2014 8:51 pm

On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by ekam99 »

Hello,

Not sure if this is firmware issue or TS issue. In programmable on/off outputs, "Active value on/off" on top looks to be reversed. I made it: Power on value - "off" and Active value - "off" to make one of my output (sparkG if matters) to be active when condition is met and to be off on power up.

Also, it's probably sound like a request for a feature. As of right now, both first and additional condition seem to be independent. Could they be made dependent? (second after first,or by additional choice)
For example, I put as a first condition 'rpm', and as a second one - 'seconds'. Right now, timing starts always from the power up the MS. Could it be made , that timing starts when first condition is met?

Thanks
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by jsmcortina »

:msq:
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
ekam99
Helpful MS/Extra'er
Posts: 72
Joined: Fri Oct 10, 2014 8:51 pm

Re: On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by ekam99 »

Sorry about that. I made a quick video on the issue.
I have my CEL and LED connected to SparkG and inj_J outputs respectively. They are illuminated, when the outputs are active (sparkG gives 5 volt, inj_J gives ground)

http://youtu.be/rDsLZXqmgVk

At the beginning, I thought that the logic of the spark output is reversed, but having "off" in both Active On and Power On values should lead to CEL being illuminated all the time.
The msq attached shows in-phase illumination. (off-on inj_J settings, off-off sparkG settings)
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by jsmcortina »

ekam99 wrote:Sorry about that. I made a quick video on the issue.
I have my CEL and LED connected to SparkG and inj_J outputs respectively. They are illuminated, when the outputs are active (sparkG gives 5 volt, inj_J gives ground)
This is correct and expected behaviour.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
ekam99
Helpful MS/Extra'er
Posts: 72
Joined: Fri Oct 10, 2014 8:51 pm

Re: On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by ekam99 »

jsmcortina wrote:
ekam99 wrote:Sorry about that. I made a quick video on the issue.
I have my CEL and LED connected to SparkG and inj_J outputs respectively. They are illuminated, when the outputs are active (sparkG gives 5 volt, inj_J gives ground)
This is correct and expected behaviour.

James
I must have said IF.

I have my CEL and LED connected to SparkG and inj_J outputs respectively. They are illuminated, IF the outputs are active (sparkG gives 5 volt, inj_J gives ground)

What do you think about the issue?
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by jsmcortina »

What issue? I'm not following.

The Spk outputs are active high.
The Inj outputs are active low.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
ekam99
Helpful MS/Extra'er
Posts: 72
Joined: Fri Oct 10, 2014 8:51 pm

Re: On/off outputs question (MS3 pre-1.4 beta 10 released)

Post by ekam99 »

jsmcortina wrote:What issue? I'm not following.

The Spk outputs are active high.
The Inj outputs are active low.

James
And this is exactly what I am saying. So, the wiring on both LED and CEL is made so they are illuminated, once connected outputs are active.

BUT
Inj output (LED) behaves as it should (Power on value = off, Active = on). With the same settings SparkG is reversed, being illuminated once you turn the key on. And it shows normal behavior (in-phase with LED) when Power on value = off, Active = off
Definitely a confusion here..
Post Reply