THEDUB~3
MegaSquirt Relay Board Wire Coloring
  Label Wire Color Wire Gauge     Comments
Injector pairing 1+4 and 3+2 for alternating squirts
  Inj2 Light Green 18 Cylinder 1
  Inj2 Dark Green 18 Cylinder 4
  Inj1 Light Blue 18 Cylinder 3
  Inj1 Dark Blue 18 Cylinder 2
FP 2 Conductor 16 Red to FP, black to ground or ground pump at pump location
  Fidle Blue 18  
S1 SAW wire for EDIS if used V2.2 board
  S2      
S3
  S4      
S5 SAW wire for EDIS if used V3 board
  Vref Yellow 20 (Tps pin 2 German) (Mexican Top)
Tps Orange 20 (Tps pin 3 German) (Mexican Middle)
  Tps Ret Blk 20 (Tps pin 1 German) (Mexican Bottom)
Tach Grey 18 PIP wire for EDIS if used, otherwise this is the coil tach wire
  MAT Orange 20  
MAT Ret Black 20
  CLT Yellow 20  
CLT Ret Black 20
  02 White 18 Brown from LC-1
  Inj 12v Red 18  
 
  12v BATT Red 12 Direct to battery
12v Switch Red 18 Use a coil or power that is live for run and crank
  Engine GND Black 12 Direct to battery, if you are getting noise logs try a chassis ground
4 cylinder EDIS module pinout
Signal EDIS Module Terminal
Pin Color
  PIP (EDIS output signal)   1 Grey "Tach" on relay board
IDM (diagnostic signal to ECU) 2 Can be used as a tach signal, may get a jumpy signal with the key on
             and the motor not running do to the pulse it sends to the factory ecu
SAW (ECU spark control signal) 3 White "S1" on relay board for V2.2 or "S5" for V3
  IGN GND (signal return)   4   N/C
VRS - (crank sensor negative) 5 Red
  VRS +(crank sensor positive) 6 Green  
VRS shield (crank sensor shield) 7 Black
  VPWR (ignition switched 12 volts) 8 Red This power also goes to the coil pack
PWR GND 9 Black
  COIL 1 (coil drive)   10 Light Green Twisted pair to coil pack
CTO (clean tach out) 11 To dash tach, some modules do not have the output
  COIL 2 (coil drive)   12 Dark Green Twisted pair to coil pack