|
|
|
|
|
How to MegaSquirt your Mazda MiataUpdated 2/12/2008 --Updated with release info on 1996-1997 MSPNP Also-- if you haven't already, please read the 'disclaimer' at the top of the parent page here. This documentation is for using the MegaSquirt-N-Spark Extra firmware version 029v or later. Email me if you find anything that needs to be updated. Preface-- For the DIY'er, the article below will get you there.For those of you interested in a very polished Plug-N-Play solution check out our new MegaSquirtPNP for the 1990-1997 Miata. www.megasquirtpnp.com is the informational site, and they are available here. |
Fuel Only InstallationSkip the Spark output section below as well as the ignition and dwell settings. You should be able to share the CMP and CKP CAS signals with the stock ECU to get your TACH signal to trigger the MegaSquirt so you can take control of the fuel injection and leave ignition control to the stock ECU for now. This is a great way to 'get your feet wet' -- learn the basics of installing and tuning the MegaSquirt EMS, and then when you're ready it will be pretty easy to add in ignition control as well by following the Spark Output section below. For fuel only control though you just need to wire up the rest of the sensors (IAT, CLT, O2, TPS if applicable) and make sure you are getting good readings from them and a good TACH signal on the MegaSquirt. At this point you've still taken control of nothing, you've just hooked all of the MegaSquirt INPUTS. Now comes the fun parts... wire up the injectors! If you use new injector connectors and new wiring from the MegaSquirt it will be easy to swap from factory ECU control of the injectors to MegaSquirt control and back if you need to while you work out your tuning. The PCBv3 wiring diagram for all of the sensors and injectors is here. The PCB2.2 wiring diagram is here. |
Decision time-- use the stock ignitors or use dual BIP373 coil drivers. I'm going to document both options for you here, but I'd recommend using the stock ignitors as it's simpler, and they will properly trigger your tachometer.
Only use one method or the other for spark output, don't try to combine the two!
|
Parts Needed for PCBv3 Output Mod using factory ignitors: (2)
270 to 330 ohm 1/4w Resistors Next use two 270 to 330 ohm resistors as pictured below, along with two bits of wire to bring the signals out to the DB37. This will condition the board to use the stock ignitors and coil packs. Take each resistor and cut off all but about ¼ of an inch lead on each side, hook both ends and loop them around the pins that were already soldered. The picture below shows where they go (Note: In this picture they are marked as 1K resistors). The resistor goes from the 5v side of each resistor to the negative leg of the respective LED. This is then brought over to the db37 with two lengths of wire (one for each). The top resistor goes to IGN and the bottom resistor goes to IAC2B. When wiring up your ECU later: Spark Output A will come out on pin36, and Spark Output B will come out on pin31.
NOTE-- If you're modding up an MS-I PCBv2.2 ECU you can use the documentation at http://megasquirt.sourceforge.net/extra/setup-neon.html to use your stock ignitors. The above info is for the PCBv3.0 ECU. |
| Parts Needed for PCBv3 Output Mod if using
BIP373's: (1) BIP373 & (1) 330ohm 1/4w
Resistor
(Kit available here)
FOLLOW THE
NEON OUTPUT MODS" exactly on the Extra pages - that's all!! Then take spark output A to the ignitor trigger wire (coming off the Factory ECU) for cylinders 1 & 4, and attach spark output B to the ignitor trigger wire for cylinders 2 & 3. |
IF USING THE STOCK IGNITORS:
When the MS is powered off, it's spark triggers are grounded. So you
MUST make sure the MS is powered on if the coilpacks/ignitors are also powered on! During installation, it's common to have the MS attached to the ignitors, and have the ignition key "on," but not have the MS powered up yet.
So I make sure I do power and grounds first to the MS, and attach the spark
outputs LAST before I am ready to start the car.
You'll know you're doing it right if the "power transistor" (a.k.a. the ignitor) is not too hot to the touch.
IF USING THE BIP373 IGNITORS:
In MegaTune's Ignition Settings, 'Spark Output Inverted' must be set to YES. And you should enable Dwell Control. Skipping either of these will cook your BIP373's, and possibly your coils. (more info on MegaTune setup below).
Most of my 'how to' articles focus on the ignition system control, that's because the rest of the sensors and injectors are pretty much the same for every car out there, with only minor differences that are well covered in the MegaManual. The tricky part is taking control of the stock ignition system so that's what we focus on covering for you here. For everything else you'll find the MegaManual at www.megasquirt.info will cover you very well.
You need to use a timing light to calibrate the MS's timing to the Miata's timing. To do this, run "fixed angle" of 10-15 degrees and adjust the "trigger angle" until the timing light flashes while the motor is on the same 10-15 degree mark on the crankshaft, this needs to be spot-on. This way, whatever timing Megasquirt is commanding is actually happening.
Here are some example settings for an early 90's Miata that I got from
'Aussie Driver' on the
www.miataturbo.net forums. These should get you very close if not
right on.....

NOTE: The above 'Spark Settings' page has Spark Output Inverted set to NO. Based on the 199-1995 cars when using the mods described on this page. If you are using different ignition modifications that what is described on this page these settings may need to be different. Proper dwell settings are very important as well. Again, if you're using the ignition mods described in this page, the dwell settings below should work well for you.
Dwell Control: Dwell Control
Cranking Dwell: 8 ms
Running Dwell: 5 ms
These coils charge faster and need slightly less dwell than the 1.6 coils.
Dwell Control: Dwell Control
Cranking Dwell: 7.5 ms
Running Dwell: 4.5 ms
Here are 'Aussie Driver's fuel and ignition maps setup for an NA car. These should only be used as base maps and tuning will be required for your car! Do not just load these and go for a WOT run!
Miata Ignition Advance Map in .vex format
These settings were carefully selected on a vehicle using a scope, and daily driven for a couple of weeks. They should work pretty well for you. If you're using a different transistor the 'Idle Valve Frequency' remains the same as that's tied to your IAC valve's needs, the 'Cranking DC' and the two 'Idle duty at temp (dc)' settings will be different. I'll tell you though, setting these with a scope is easy, setting them by guessing numbers can drive you crazy. The good news is if you're using a TIP120 the settings below should just plug in and work perfectly for you.

Be sure to disconnect your coils / ignitors before upgrading firmware. If you don't the MS will hold the lines high, and your coils or ignitors will blow up. After flashing the firmware, configure all of the important ignition settings and then you can reconnect the coils / ignitors.
This is as simple as unplugging the ignitor(s), flashing the firmware, reloading your .msq file, and then (with the power off) plugging your ignitor(s) back in.
______________________________________
Check out our 91 Miata Turbo project car at this link.
|
Click Here if you have questions or would like to contact us!
|
Page Views since 02/01/2005: