Megasquirt 3 for Dummies

All boost related things here. Turbos, SuperChargers, FMUs, Megasquirt, et al.
User avatar
Yoshi
Site Admin
Posts: 9091
Joined: Thu Feb 26, 2009 7:47 pm
AntiSpam: No
Location: North VA
Contact:

Megasquirt 3 for Dummies

Postby Yoshi » Mon Mar 19, 2012 10:52 pm

I got a lot of feedback from the last one so I decided to make a writeup for the MS3. This will be written from the M50 point of view and side note that it's a turbo motor. Shouldn't make a difference.

MS3 vs MS3x
The difference is simple. The MS3 processor has the USB port and SD card reader on it and it's a much faster processor than the older models. The MS3x is an extra card (on top of the processor) that gives you tons of outputs. If you want to run sequential or even just spark, I would recommend it. In fact, if you run an MS1/2 now and don't want the MS3x card, don't really bother going MS3. In short, get MS3x or just don't bother.

Why Go MS3?
If you're reading this, I'm not going to sway you to get an MS. You know enough to make your decision. If not, pm me? The big advantages of the MS3 is the full sequential fuel/spark, SD logging, USB cable, TONS of outputs, faster/bigger fuel calculations, and more resolution for your tables. If you have an MS1/2 setup now and you don't want most of this, stick with what you got.

Basics
As always, I advocate getting the stim (http://www.diyautotune.com/catalog/mega ... -p-33.html) and for good measure the adapter so you don't have to use 9v batteries (http://www.diyautotune.com/catalog/mega ... p-168.html). Yes this is $80 you don't NEED to spend but you can fiddle with your msq, verify you didn't fry your MS, and other things. There is also the MS3X stim but if you get yours prebuilt, I wouldn't bother. My opinion.

For the love of GOD buy one premade. http://www.diyautotune.com/catalog/mega ... p-435.html Yea it's $650 but you save yourself the time and effort of soldering it. DIYautotune will warranty it if there are any defects and have great customer support. Spend the damn money!

I also recommend a starter harness. Many people make an adapter for the stock ECU connector so they can go back to stock but why not redo the whole harness while you're in there? The rest of this article will assume you are making your own full harness and not messing with the stock one. There's too many variants and I'm far too lazy to go into it.

Other hardware
Sensors! Your stock sensors will all work with the MS3 easily. The stock coolant temperature sensor simply requires calibration in tuner studio (MS3 doesn't use megatune anymore). I don't have the calibration as I used a GM sensor (http://www.diyautotune.com/catalog/gm-c ... -p-58.html)

Also, we need an idle air temperature sensor (IAT) since our stock system didn't have one we can use. http://www.diyautotune.com/catalog/gm-o ... -p-62.html

If we want to have spark output and use the stock BMW M50 coils, we will need coil drivers. You can make these out of bip373 chips and 330ohm resistors (one per cylinder) http://www.diyautotune.com/catalog/bosc ... p-230.html ($9 each) OR if you break them and can't solder chips to save your life like me, you can buy 2 of the 4 cylinder driver boxes DIY makes (http://www.diyautotune.com/catalog/quad ... p-481.html). If you don't want to worry about coil drivers, you can get LS2 coils as they don't need the drivers. http://www.megamanual.com/seq/coils.htm . The coils are AC Delco D585

For an O2 sensor, I suggest the Innovate LC-1. You can tune with a narrow band but it's like threading a needle with your mouth. It won't work and people will look at you funny. http://www.diyautotune.com/catalog/inno ... -p-41.html

The last thing you will need is a 10k resistor! The BMW stock crank sensor for M50s (not sure about M20s) requires a 10k resistor in line with the crank signal. Without it, your car will crank/start but not rev very far.



Wiring
I never did get the hang of the stock harness enough to be able to make a plug and play harness out of the stock ECU connector. Basically, the megasquirt takes in all the sensors and spits out spark and fuel. The only other thing you need is power for the megasquirt and anything else. Below is my relay diagram for my car.

Image

Main relay - The red dot means it's always receiving 12v. The 6 pin from the c101 gives a signal when the key is in the on/run positions. Otherwise, pin 85 grounds when you turn the key on giving the MS full power.

Fuel pump relay - This relay will be hot all the time (like all the others) but only receives power when the megasquirt is on. This powers the fuel pump (pin 13 on the c101).

O2/Coil relays - These parasite off of the fuel pump output pin. This means, they will only trip when the fuel pump is on and thus only when the car is running (aside from a priming pulse). This will keep your O2 sensor from being on for no reason and keep your coils from over charging. I recommend keeping these two separate relays as the coils pull so much power that they will interfere with other signals. You want a clean O2 signal, why not give it its own relay? The stock harness does it.

Grounds - This will trip many people. Do not ground to the chassis and do not ground things where convenient. Ground everything to a ground block and ground that to the engine block. This will prevent grounding loops. MS3 is great and has grounds back to the ECU. Use them! These will keep all of your sensors grounding together and stable.

General wiring - I repurposed a stock M50 harness to keep the stock wiring colors. Do what you need to do but remember to shield what needs to be shielded and put that 10k resistor for the crank sensor.

Starting Settings
Note that my tune is not 100% but my car does run.

Image
Required fuel will be your own value based on your injectors.
For sequential we want 1 squirt per cycle (lol).
The rest is self explanatory. M20s/M50s are firing order 153624

Image
These are my cranking settings. Cranking PW are based off of a percentage of required fuel so your mileage will vary.

Image
Here is the biggy. Copy everything exactly. minus what I say below.
Skip pulses is simply how many full rotations to do before the engine starts injecting fuel. 3-4 is fine.
Ignition input will always be rising edge.
Spark output will ALWAYS be "Going High (Inverted)"
M20s/M50s are Single/Dual wheels (respectively) with 2 missing teeth. hence the 60 and 2
Tooth #1 angle will vary. M50s/M20s are ~84 degrees while the S52 and I think M52 use 324. Realistically, a timing light on your #1 cylinder and a friend should nail this exactly for you.
"Second trigger active on" and "Level for phase 1" I've seen multiple ways. They can just be rising edge. Both seem to work on my motor so I'm not sure on this.
Cranking dwell could probably be lower. ~5ms I'd say. Cranking advance is fine at 3 though.
Max dwell should be as low as you can get away with. I've seen 3-4.
Max spark duration is fine at 1

All of the rest of the MS settings will be up to you. I don't have any good base maps to share and my setup is an S52 bottom, M50 NV top, Dual intake cams, and low comp pistons so you wouldn't want to go with mine.




Troubleshooting/Tuning
Tunerstudio is an awesome tool. When you're trying to verify your cam/crank settings, crack open the composite logger and check for desyncs. The Megamanual will have an idea of what your signals should look like. The key is to get an rpm signal while cranking and no descyns while the motor is running or cranking. Tunerstudio can load logs of the composite logger (logs cam/crank syncs) but it requires the pay version. Megalogviewer cannot open the trigger/tooth/composite logs! and you HAVE to pay for tuner studio to review your logs in tunerstudio. I was annoyed but it's worth it.


Pricing
Stim/adapter - $80
MS3x prebuilt - $650
Harnesses - $105
IAT/CLT sensors - $41
Spark boxes - $180
LC-1 - $200

Total: $1256

Please let me know if there is any clarification needed or corrections. This is what currently works for me.
Image
Status: HG repair. 488wtq though!
User avatar
M20_fever
Größter Vorsitzender
Posts: 11026
Joined: Fri Feb 27, 2009 1:28 pm
AntiSpam: No
Location: Northern IL

Re: Megasquirt 3 for Dummies

Postby M20_fever » Mon Mar 19, 2012 11:15 pm

So glad your doing this. Might want to mention if you use GM coils you don't need the external drivers, and the GM truck coils are the most powerful ones of the bunch.

+1 on the stim and adapter, it let me get so many little issues figured out without having to do anything with the car. I'll be ordering up a universal harness from DIY as well.
Image
Midwestern Councel C Prepared class champion 2012
North Suburban Sports Car Club C Prepared class champion 2012
HSAX Instructor

GET YOUR E3P GEAR HERE: http://www.cafepress.com/e3pgearshop
User avatar
Yoshi
Site Admin
Posts: 9091
Joined: Thu Feb 26, 2009 7:47 pm
AntiSpam: No
Location: North VA
Contact:

Re: Megasquirt 3 for Dummies

Postby Yoshi » Mon Mar 19, 2012 11:17 pm

yea I couldn't find a link to a good set. Does DIY sell them? I don't know the specifics on them.
Image
Status: HG repair. 488wtq though!
toointoxicated62
I <3 E30's
Posts: 379
Joined: Sun Aug 29, 2010 5:26 pm
AntiSpam: No

Re: Megasquirt 3 for Dummies

Postby toointoxicated62 » Tue Mar 20, 2012 12:17 am

You mention not worth going ms3 unless you go ms3x yet you link to the assembled ms3 unit. This is the link for the assembled ms3x unit: http://www.diyautotune.com/catalog/mega ... p-435.html

Also in regards to the 10K resistor in series with the crank sensor, from my understanding you don't always need it. The reason for installing it is to cut down on noise?


One thing people can learn from me if you do end up getting an ms3x v3 be super duper careful with your jumpers. I blew my MS3 cpu because 14v went on a 5v pin. Ooopsie haha -dizzy-



Also why do you guys hate adapters? lol That's how my setup will be, i will be going full sequential with LS2 truck coils after i get my ms3 working.
Image
User avatar
Yoshi
Site Admin
Posts: 9091
Joined: Thu Feb 26, 2009 7:47 pm
AntiSpam: No
Location: North VA
Contact:

Re: Megasquirt 3 for Dummies

Postby Yoshi » Tue Mar 20, 2012 12:28 am

hehe my bad. fixed the ms3x prebuilt link.

It's not always needed but I haven't seen an M50 install that hasn't. So I'm going to tell people to do it right off the bat.

I figure, if you buy prebuilt, you shouldn't need to mess with jumpers.

I don't hate adapters, I just don't like not having complete control. It's not like you're ever really going back stock except in a handful of situations. Got a link for the truck coils?
Image
Status: HG repair. 488wtq though!
toointoxicated62
I <3 E30's
Posts: 379
Joined: Sun Aug 29, 2010 5:26 pm
AntiSpam: No

Re: Megasquirt 3 for Dummies

Postby toointoxicated62 » Tue Mar 20, 2012 1:33 am

You can find the info on the coils here: http://www.megamanual.com/seq/coils.htm
The coils are AC Delco D585
Image
User avatar
M20_fever
Größter Vorsitzender
Posts: 11026
Joined: Fri Feb 27, 2009 1:28 pm
AntiSpam: No
Location: Northern IL

Re: Megasquirt 3 for Dummies

Postby M20_fever » Tue Mar 20, 2012 1:44 am

Yep, those are the good ones!
Image
Midwestern Councel C Prepared class champion 2012
North Suburban Sports Car Club C Prepared class champion 2012
HSAX Instructor

GET YOUR E3P GEAR HERE: http://www.cafepress.com/e3pgearshop
User avatar
Yoshi
Site Admin
Posts: 9091
Joined: Thu Feb 26, 2009 7:47 pm
AntiSpam: No
Location: North VA
Contact:

Re: Megasquirt 3 for Dummies

Postby Yoshi » Tue Mar 20, 2012 1:52 am

posted on a bunch of forums. w00t!
Image
Status: HG repair. 488wtq though!
User avatar
M20_fever
Größter Vorsitzender
Posts: 11026
Joined: Fri Feb 27, 2009 1:28 pm
AntiSpam: No
Location: Northern IL

Re: Megasquirt 3 for Dummies

Postby M20_fever » Tue Mar 20, 2012 2:01 am

I don't see any e3p watermarks on the pics...
Image
Midwestern Councel C Prepared class champion 2012
North Suburban Sports Car Club C Prepared class champion 2012
HSAX Instructor

GET YOUR E3P GEAR HERE: http://www.cafepress.com/e3pgearshop
User avatar
Yoshi
Site Admin
Posts: 9091
Joined: Thu Feb 26, 2009 7:47 pm
AntiSpam: No
Location: North VA
Contact:

Re: Megasquirt 3 for Dummies

Postby Yoshi » Tue Mar 20, 2012 2:03 am

ctrl F5
Image
Status: HG repair. 488wtq though!
User avatar
M20_fever
Größter Vorsitzender
Posts: 11026
Joined: Fri Feb 27, 2009 1:28 pm
AntiSpam: No
Location: Northern IL

Re: Megasquirt 3 for Dummies

Postby M20_fever » Tue Mar 20, 2012 2:10 am

Thats better!
Image
Midwestern Councel C Prepared class champion 2012
North Suburban Sports Car Club C Prepared class champion 2012
HSAX Instructor

GET YOUR E3P GEAR HERE: http://www.cafepress.com/e3pgearshop
User avatar
ss45466
I <3 E30's
Posts: 645
Joined: Tue Feb 01, 2011 2:50 pm
AntiSpam: No
Location: S.F. NM
Contact:

Re: Megasquirt 3 for Dummies

Postby ss45466 » Tue Mar 20, 2012 12:41 pm

Awesome writeup!

Plan on going ms3 in the future...
User avatar
Yoshi
Site Admin
Posts: 9091
Joined: Thu Feb 26, 2009 7:47 pm
AntiSpam: No
Location: North VA
Contact:

Re: Megasquirt 3 for Dummies

Postby Yoshi » Tue Mar 20, 2012 1:21 pm

This time around, for me, it was much easier. I put in the main bullet points that saved me tons of time in the article itself. Mainly grounds, 10k resistor, and the coil outputs. I thought about the LS2 coils but they don't fit like the factory ones you know? Plus the M52 coils I use look much sexier than the M50 ones.

Also with my relay wiring, things went a lot smoother than previous installs I've done. This makes the first MS3 install but about 8th MS install I've completed. Man if I had known all this stuff when I first started. It's so common sense meow.
Image
Status: HG repair. 488wtq though!
User avatar
M20_fever
Größter Vorsitzender
Posts: 11026
Joined: Fri Feb 27, 2009 1:28 pm
AntiSpam: No
Location: Northern IL

Re: Megasquirt 3 for Dummies

Postby M20_fever » Thu Oct 31, 2013 2:15 am

Bumping this since i'm using it again. Hope to have the e30 running on MS3x soonish!
Image
Midwestern Councel C Prepared class champion 2012
North Suburban Sports Car Club C Prepared class champion 2012
HSAX Instructor

GET YOUR E3P GEAR HERE: http://www.cafepress.com/e3pgearshop
User avatar
M20_fever
Größter Vorsitzender
Posts: 11026
Joined: Fri Feb 27, 2009 1:28 pm
AntiSpam: No
Location: Northern IL

Re: Megasquirt 3 for Dummies

Postby M20_fever » Tue Nov 05, 2013 3:52 am

Yoshi, you said in the first post
M20s/M50s are dual wheels with 2 missing teeth. hence the 60 and 2
but I think this is wrong. 60/2 is referring to how many teeth there are and how many missing teeth there are, no?

I have mine set to "single wheel with missing tooth", is that wrong?
Image
Midwestern Councel C Prepared class champion 2012
North Suburban Sports Car Club C Prepared class champion 2012
HSAX Instructor

GET YOUR E3P GEAR HERE: http://www.cafepress.com/e3pgearshop

Return to “Forced Induction”

Who is online

Users browsing this forum: No registered users and 4 guests