How to MegaSquirt Your Z32 Nissan 300ZX

Application(s): 1990 to 1996 Nissan 300ZX VG30DE and VG30DETT motors with the OEM distributorless ignition.

Level of control:  Full Standalone EMS– Fuel and Ignition Control

The cam angle sensor has often been a bit of an issue for MegaSquirt, but now with MS3’s new V1.1 code, you don’t have to disassemble the CAS for an alternate trigger wheel – you can use all stock hardware!

ECU Modifications

We recommend the MegaSquirt-III for its support of the stock cam angle sensor.

Using the MS-III PCBv3.0 or V3.57 ECU with MS3X

  • In step 22, install the stepper IAC jumpers (all of our assembled MS3 units are by default configured this way).
  • Build the ECU up to trigger for inverted VR output. On a V3.0, wire TachSelect to VRIN and TSEL to VROUTINV. On a V3.57, put main board JP1 in the 1-2 position and J1 in the 5-6 position.

That’s it!

 

Wiring

Usually, the MS3 uses pin 32 for the cam input signal. Because of the high frequency of the stock CAS, you’ll be using PT4 (pin 31) instead.

CAS pin out

PinPurpose
ALow Resolution Signal (MS Pin 24)
BHigh Resolution Signal (MS3X pin 31)
C12 volt power
DGround

You will also need to connect 1K ohm, 1/4 watt resistors from TPS VREF (pin 26) to both the low resolution signal and the high resolution signal to provide a pull-up in the wiring harness.

For the fuel and spark outputs, use the following pins. You can wire the MS3X outputs to the stock ignition module; it will not drive the coils directly.

MS3X injector pinMS3X spark pinLetterCylinder
1914A1
1633B2
1315C3
1034D4
735E5
436F6

These engines use PWM idle control and boost control, both of which can be done using the MS3X medium current outputs.

TunerStudio Configuration for MS-III

Under the ignition setup menu, set the following.

  • Spark mode: Nissan RB25 (We’ve confirmed the VG30DE / DETT CAS has the same pattern)
  • Trigger Angle / Offset: 0 (adjust as needed if your timing doesn’t line up)
  • Ignition input capture: Rising edge
  • Spark output: Going High / Inverted if using stock ignition module
  • Number of coils: Coil on plug
  • Spark hardware in use: MS3X spark
  • Cam input: MS3X

If you use someone else’s .msq file we do recommend you check the firmware version the .msq file was built on as you cannot always use a file built on one firmware version with an ECU running a different version– it’s best to use the .msq files with the same version of the firmware that the file was built on.  Alternately you can manually copy the settings over from the borrowed file.

Suggested parts

As stated above, we recommend a MegaSquirt-III V3.0 or V3.57 to have full control over the engine. You will be able to use your existing sensors except for the MAP sensor which is built into the MegaSquirt.

ECU options:

Other recommended parts