Donations towards server fund so far this month.

 
£0.00 / £100.00 per month
Page:
Home > Help Needed / General Tech Chat > Megasquirt Tacho / Rev Output

dan187

User Avatar

774 Posts
Member #: 6724
Post Whore

Wootton Bassett

I'm going to be using Megasquirt 1 to directly drive the EDIS coil packs.

Which tacho setup are people using?

Looking at the MSextra site
http://www.msextra.com/doc/ms1extra/MS_Ext...al.htm#tachoout

I think I need the bottom setup, which is for rev counters that were fed from the coils -ve. Is this right?



using only spark A and B

1275 N/A Sprite, 998 T2 Turbo Mayfair
1275 EFi Turbo


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Essentially, yes, that should work.

Providing your rev counter is the original type driven off the coil LV side.

As you say, you will only have spark A and B in that diagram.

There are other ways of doing it - well certainly in MS2-Extra, so I presume MS1-Extra too - like programming one of the CPU's spare ports to send the signal direct.

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

The alternative is to get a rev counter out of an MPi mini and just connect a single coil ouput.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


dan187

User Avatar

774 Posts
Member #: 6724
Post Whore

Wootton Bassett

Rod, do you have a web link to programming one of the CPU's spare ports to send the signal direct?

This is what I was looking for when i found the above. I couldn't find any other info.

I would rather do that if possible. Sounds a bit neater.


Also, (on a slightly related topic) what dwell setting have you guys successfully run when driving EDIS coils from Megasquirt?

1275 N/A Sprite, 998 T2 Turbo Mayfair
1275 EFi Turbo


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol

You can do it from within whichever tuning software you're using, at least I think that's what Rod is referring to.

It comes under the Misc menus as tacho output


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Dan,

I assume it's in here in MS1-Extra...

(MS2-Extra is so much easier...)

Codebase and output Functions

"When running ignition you must choose ONLY ONE code type and select as many spark outputs as you have coils
A distributor based setup must have SparkA ONLY;

A 4cyl wasted spark setup must have SparkA, SparkB ONLY, so LED18 MUST be set to anything other than a Spark output, e.g. Warmup. Output3/SparkD MUST be set to output3, pin10 shift / Spark E MUST be set to Shift light and Knocking / Spark F MUST be set to Knock input even if they are not going to be used for those functions."

In MS2-Extra, D15 is the logical one to use, when you load the MS1-Extra code hopefully D15 will become available for tacho.

Then you use the circuit above the one you posted to make it work.

Re. the coilpack settings, as I mentioned in another thread.....


"Spark Output Inverted Choosing spark output inverted YES or NO is VERY IMPORTANT. This is determined by the way you drive your coil(s) When the spark coils are directly driven from the ECU (VB921 FETs are used) you will choose Inverted = YES. Get it right or you will risk damaging components as well as getting wildly inaccurate timing."

The best settings are in the MS2-Extra manual, I don't understand why they are not obvious in the MS1 version......

I'll post up my settings next time I'm out in the garage to read them......

Schrödinger's cat - so which one am I ???


dan187

User Avatar

774 Posts
Member #: 6724
Post Whore

Wootton Bassett

Ah ok cheers Carl, found it in tuner studio.

It lets me pick an output pin.

What is the output like? is it suitable to connect directly to a standard -ve fed mini tacho?

1275 N/A Sprite, 998 T2 Turbo Mayfair
1275 EFi Turbo


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol

Well, it didnt work with my tacho, but you may be lucky.

I will say that my tacho did work with MegaJolt's tacho output so i'm not really sure where the difference is.


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Posts are a bit out of order......

If you use the CPU pinout direct, you need the circuit that replicates a coil (ie, including the transistor that protects the CPU) to provide the same voltage spike as a real coil would.

It's the one above the diode solution in the Extra manual.

Hope that makes sense......

Edited by Rod S on 17th Nov, 2010.

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

On 17th Nov, 2010 dan187 said:
Also, (on a slightly related topic) what dwell setting have you guys successfully run when driving EDIS coils from Megasquirt?


I started at 3.5mSec, blew a coil up so now run 2.8mSec.

Edited by Paul S on 17th Nov, 2010.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


dan187

User Avatar

774 Posts
Member #: 6724
Post Whore

Wootton Bassett

ah ok Rod,

like so



So if I set tacho to come from output 3. Then I should get a pulse from pin 15 to drive the transistor?

1275 N/A Sprite, 998 T2 Turbo Mayfair
1275 EFi Turbo


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Essentially yes....

I'm running a bit blind as I use the MS2-Extra software but the principle is the same - set the output ports so the output that was the middle LED (D15) becomes a tach signal and then put it through a transistor (which isolates the CPU from any damage) and an inductor (like a relay coil) to mimic what the rev counter expects.

By using the CPU output direct rather than the diodes off the coilpack drives avoids any possible problems with interference or external faults on the coilpack wiring.

Schrödinger's cat - so which one am I ???


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol




On 17th Nov, 2010 Rod S said:
Posts are a bit out of order......

If you use the CPU pinout direct, you need the circuit that replicates a coil (ie, including the transistor that protects the CPU) to provide the same voltage spike as a real coil would.

It's the one above the diode solution in the Extra manual.

Hope that makes sense......


Interested to know what the difference is between the MS2 Extra output from the CPU and the output from MegaJolt, surely they are the same?


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

On 17th Nov, 2010 Carl S said:

Interested to know what the difference is between the MS2 Extra output from the CPU and the output from MegaJolt, surely they are the same?


I wouldn't think there is a difference Carl.

The code is simply telling that CPU pin to become a pulsed output with one pulse per 1/2rev (it can also be set to 1 pulse per rev) instead of its normal duty as a warmup telltale light.

The way you set it up is a very different menu for MS2 in TunerStudio or Megatunix but the end result should be the same.

I assume you have yours built now ???

If so, run it slow on the JimStim and watch the middle LED - it should show the RPM pulses just like the two outer LEDs now show the two halves of the coilpack being fired alternately in resonse to those ports now being programmed as Spark A and Spark B.

If it flashes in line with RPM pulses, it suggests something is wrong with the transistor/coil circuit (the use of a relay for the coil/inductor is a bit naff but should work), if it isn't flashing but is still indicating warmup, the code isn't set right.

I haven't actually wired mine up for this yet as I had another use in mind for D15/PM5 (it's programmable for lots of other uses too....) but everything else I've swapped around in the Extra code does what it should.

I'll take the laptop out later and reset mine (it's just showing warmup at the moment) and see if the LED starts to flash as I would expect.

(edit - typo)

Edited by Rod S on 18th Nov, 2010.

Schrödinger's cat - so which one am I ???


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol

Well the reason I ask is because my tacho did work with the MJ tacho signal, but it doesn't work with the MS output, which is why i'm scratching my head over it, hence why I wondered if there was a difference.

I think the pin out on mine is set to the old FIDLE pin, but I may switch it to D15, as like yours, it's currently just used to show WUE.

Maybe the FIDLE pin is unsuitable for use?

P.S I've had the MS unit built for quite a while now, I just havn't installed it as I was getting ignition issues. I will have another go at getting it running this weekend.


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

On 18th Nov, 2010 Carl S said:
Maybe the FIDLE pin is unsuitable for use?

The Fidle (PM2) is listed in the table as available for tacho or programmable for whatever else - it's just another PM* port on the CPU. The only difference is it doesn't have the LED that PM3,4,5 have to give you a simple look see if it's doing what you want. Have you gone direct to PM2 or have you come off the Fidle out ??? The existing FIdle circuitry "may" invert the signal relative to the CPU port - I'll have a look at the schematics later.

On 18th Nov, 2010 Carl S said:
P.S I've had the MS unit built for quite a while now, I just havn't installed it as I was getting ignition issues. I will have another go at getting it running this weekend.


Out of interest, what were the ignition issues - may help to know for Dan when he's setting his up.

Schrödinger's cat - so which one am I ???


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol

I was getting an extra missing tooth appearing on the tooth logger. I believe it's to do with the VR sensor's polarity but I tried switching it around to no avail. It would either run and present the extra tooth, or not run at all with the polarity reversed.

I was however guessing wildly what my actual missing tooth offset was as it's not precisely 90 degrees. That and a combination of not always fully reseting the MS unit when making the changes probably gave me missleading results, so i'll have another crack with a more methodical approach.

I was using the FIDLE pin on the DB37 plug so maybe the FIDLE circuitry was interfering with the signal. I'll try another pin for the tacho signal to confirm it.

Edit - Typos.

Edited by Carl S on 18th Nov, 2010.


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Re the missing tooth, it may be the VR pot settings - on mine they are very sensitive and have to be different on the car's real VR sensor compared to the JimStim simulation.

For the tach signal, did you add the extra circuitry when you used the DB37 output or just send it direct ???
I've looked at the V3.0 schematic and although it doesn't invert (compared to the recommended circuit) it does have a 22V zener clamp to prevent HV spikes - a conventional tacho needs the HV spikes, hence the use of an inductive relay coil in the suggested circuit...

Schrödinger's cat - so which one am I ???


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol

I had a fiddle around with the VR pots but they didn't make much difference, if any. I read the MS manual about how to adjust them, but it just talks about the actual function of what the pots are for, rather than how to get settings which are right for the VR sensor. Maybe i'm missing something here.

I'll open up the MS unit tonight and have a look to see if I installed any of the FIDLE circuitry. If it was optional on the MS build manual then I highly doubt it, as I knew before I built it that I wouldn't need the FIDLE functionality. What you're saying about it makes sense though, so maybe I installed that zener diode as part of the circuit by accident? Does that zener serve any other purpose?


Brett

User Avatar

9502 Posts
Member #: 1023
Post Whore

Doncaster, South Yorkshire

Carl did you get to the bottom of this ive been trying to do the same as you. I built the extra circuit external to ms (inside an old relay) with everything connected as per circuit diagram no tacho but i happened by accedent to bridge a wire whist messing about with it and i got a tacho signal perfect

but after ive looked what i did basically i had one side of the relay coil to +ve the other to fidle and tacho input now this gave a good stable reading but obviously missing the protective transistor
you mention about the zener built into ms do you think thats enough to protect from the voltage spikes or should i try again?

Yes i moved to the darkside *happy*

Instagram @jdm_brett


Carl S
Forum Mod

User Avatar

1927 Posts
Member #: 1761
Stalker

Bristol

No sorry Brett, the MS is still out of the mini at the moment, and i'm also 200 miles from the car so can't do a great deal at the moment. The extra tooth issue is crushing my progress but I have a few ideas to try when I get home to Devon again.

Make sure the polarity of the diodes are correct, that's all I can think of really.


Brett

User Avatar

9502 Posts
Member #: 1023
Post Whore

Doncaster, South Yorkshire

Just think in it over( im at work ) i could us an ignitor chip for now wired up as a coil driver i dont think the transisters im using are working as they should (or more likily wired up wrong)
it basicaly the same circuit as the coil drivers anyway

Yes i moved to the darkside *happy*

Instagram @jdm_brett

Home > Help Needed / General Tech Chat > Megasquirt Tacho / Rev Output
Users viewing this thread: none. (+ 1 Guests)  
To post messages you must be logged in!
Username: Password:
Page: