Mega Squirt MS2 V3 Mazda CAS
Mega Squirt MS2 V3 Mazda CAS
Mega Squirt MS2 V3 Mazda CAS
Overview
Modify the Megasquirt hardware to accept the signals from the CAS o Jumper for VR Sensor tach input circuit o Build second VR conditioner circuit o Add pull-up resistors to the LEDs o Connect outputs from the LEDs to pins on the harness connector o Connect the VR circuit in/out to pins on the harness connector to pass through CAS signal Wire up the CAS to the Megasquirt Wire up your coil-packs to the Megasquirt Install the CAS and configure your Megasquirt using Megatune Ignition Timing notes
Preliminary checks:
When your Megasquirt was built, did you install both the Hall/Optical/Negative coil trigger AND the VR Circuits? o To use the Mazda CAS, we need the VR Circuit components to be in place. If they arent installed well you need to install them See V3 Assembly guide on Megasquirt.info (step 51) o R48 guide says 10K; schematic says 100K (as does my diyautotune.com kit). Ive installed 100K Is your Megasquirt set-up with the VR Sensor as the tach input circuit? If not, follow the steps below: o Using the Mazda CAS, we need to jumper MS to use the VR sensor tach input, rather than the alternative Hall/Optical/Neg coil circuit. First of all, if your board is jumpered for Hall/Opto/Negative coil tach input then you will need to remove these jumpers: Remove XG1 to XG2 (near the 40pin socket) Remove OPTOIN to TACHSELECT (near the db37 connector) Remove TSEL to OPTOOUT (near the centre) Now you need to jumper the following on the underside of the PCB to select the VR circuit VRIN to TACHSELECT (near db37 connector) TSEL to VROUTINV (near the centre)
ADDITIONAL COMPONENTS:
0.1 uF cap o This may be required if your tach signal is noisy. o Connect from G+ to ground (G+ is a crank signal wire, which plugs in to VR2) 3 additional 4.7K resistors o These are required as pull-up resistors. o Connect between the negative side of each LED and a +5v source.
Below that is the circuit diagram to show how everything connects. Construct the circuit as per the diagram in the proto area of the v3 board and install the pull-up resistors for each LED. Here you can see my attempt at building the circuit. It is not the neatest thing to look at on the underside, but so long as you ensure you have not missed any links, or accidentally bridged anything, you will be fine. Double check surrounding areas for accidental bridging!
VR2OUT TO CPU:
If using MS2Extra 1.x firmware, connect OUT2 (VR2OUT) from the LM1812 circuit to JP4, which is on the CPU (U1) with a jumper wire. (pictured on right) --------------- OR -------------- If using MS2Extra 2.x firmware, connect OUT2 (VR2OUT) from the LM1812 circuit to JS10 (CPU Pin 17) with a jumper wire. This pin is about halfway up on the side closer to the longer DB37 connector and probably easiest to do on the underside of the board.
Connect VR2 (VR2IN) to IAC2B (CAS 2 Tooth Wheel Signal IN) Connect LM1815 Ground to IGN
(Take this from as close to the LM1815 as possible. IGN is next to the DB37 pins on the top end of the board)
Connect IAC2A to the point between LED D14 and Q6 (Leading IGN) Connect IAC1B to the point between LED D15 and Q7 (Trailing Coil Select) Connect IAC1A to the point between LED D16 and Q8 (Trailing IGN)
LEADING o +12V IGN SWITCHED: Tan wire o GND: Runs through mount o IGt-L: Red Wire TRAILING o +12V IGN SWITCHED: Tan wire o GND: Runs through mount o IGt-T trigger: Red Wire o IGs-T select: White Wire Leading coil-pack ignition trigger o IGt-L from coil-pack connects to PIN29 on the DB37 plug Trailing coil-pack ignition trigger o IGt-T from coil-pack connects to PIN25 on the DB37 plug Trailing coil-pack coil-select trigger o IGs-T from coil-pack connects to PIN27 on the DB37 plug
Harness Connections
You have probably seen this diagram before, or something quite like it. Note that the coils are wired up differently to other diagrams so if you have been following this guide, use this diagram, if not then double check that you are wiring things up appropriately for your setup. Depending on how you have connected jumpers, the output pins will differ and so long as the right signals make it to the right devices, everything will be ok. This is not necessarily the best way to do it.
- Trigger Offset does not do anything when in wheel decoder mode. I have left mine set to 60, however this does not affect anything. - Skip Pulses can remain at 3. - If you have wired TSEL to VROUTINV, then set Ignition Input Capture to Falling Edge. - If you have wired TSEL to VROUT, then set Ignition Input Capture to Leading Edge. - For Spark mode, you want Toothed wheel - Spark output should be set to Going Low - Number of coils should be set to Wasted spark - Spark A output pin should be set to D14 if you have been following this guide. Basic Setup -> Trigger Wheel Settings
- Dual Wheel - 24 Teeth - Tooth #1 Angle BTDC 5 Adjusting this number is equivalent to turning the CAS. This value is only read when the MS is powered on at first though, so we recommend you set this value then turn the CAS to line up the timing. - Wheel Speed Cam wheel - Second trigger active on Rising edge
Ensure Rotary Mode is set to Rotary on. All of the numbers in here I have copied from other peoples setups I have no real scientific measurements or understanding behind them at this stage. If anyone would like to provide more info to be included, please let me know! Installing and setting up the CAS With your ignition off and CAS out of the engine, rotate the engine clockwise by hand until you line up the first pulley mark with the timing mark on the front cover. Align the matching marks on the CAS housing and driven gear before sliding it into the engine and connect the harness. Go back to Basic Setup -> More Ignition Settings and use the following settings: Fixed Advance: Fixed timing Timing for Fixed Advance (degrees): -5 (The Leading mark is placed 5 degrees AFTER top dead centre) Now start the car. Using a timing light running off either Leading coil output, rotate the CAS so that the Leading mark on the pulley lines up with the mark on the pulley. Turn off the ignition. Looking at an uncovered CAS, it should be sitting around about here when the Leading pulley-mark lines up with the timing mark on the front cover. Switch the Fixed Advance back to Use Table Your CAS, engine and MS are now all synced