Bookmark this site!
Miata Turbo Forum - Discuss how to turbo your Mazda Miata.

Go Back   Miata Turbo Forum - Home of the turbo Mazda Miata. > Beginner's Luck > Useful Saved Posts

Useful Saved Posts Useful info, FAQs, anything you don't want to get purged.

Remove advertisements today by clicking here and subscribing. Only $3.50 per month.

Reply
 
LinkBack Thread Tools
Old 10-28-2007, 01:59 AM   #1
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default How to make and install your own Diy MS

So you're ready to join the club?

let's start with what to buy.


For this write-up I'm using the v3.0 board with gives you all the upgrade options.

I order all my parts through diyautotune.com, a forum sponsor. You can source elsewhere, but don't expect a nicely labeled well thought out package.

Required:

(1) MegaSquirt-I Programmable EFI System PCB3.0 - UnAssembled Kit
this is the main kit, it comes with the board, case, DB37 connector to build your harness and all the components you need to build a MS.

(1) MegaSquirt Tuning Cable (DB9 Straight Thru)
required to communicate with your software.

get a serial - USB adapter if your laptop does not have a serial out. USB to Serial Adapter.

(1) PCBv3 and v2.2 -- Pullup Resistors 'ModKit'
Extra resistors needed to complete the "Mods"
(1) MegaSquirt Wiring Bundle - 23" Long
Wire kit to build your DB37 harness. Ms-I kit provides the connector and hood to use.

or pre-built 18" MegaSquirt Pigtail Harness
Optional:

(1) MSPNP IAT Sensor Kit - Steel Bung
Required sensor to remove the AFM/MAF. The kit has a bung to weld to pipes, extra wire and contact to insert into the AFM/MAF harness for easy install.
(1) PCBv3 and v2.2 -- Boost Control Mod-Kit
Mod kit for Boost Control feature.
(1) PCBv3 and v2.2 -- Relay Control 'ModKit'
Mod kit for Fan control
(1) PCBv3 -- PWM IAC Valve Control (TIP120) 'Mod-Kit' (Stand Alone Only)
Mod kit to control the idle valve
Recommended:

(1) Lead Bending Tool
helps bend leads for easy installation.
(1) MegaSquirt Stimulator v2.2 - UnAssembled Kit
Used to communicate with your laptop without the need of a harness in the car, lets you test your build and flash firmware.
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by cjernigan; 02-06-2008 at 01:12 PM.
Braineack is online now   Reply With Quote
Old 10-28-2007, 01:59 AM   #2
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

Building the MS:

I've taken the liberty to remove from the component map what you don't need to install.

But please refer to www.megamanual.com for the step by step instructions.



Be sure to jump:
D1 & D2
XG1 to XG2
TachSelect to OPTIN
TSEL to OPTOUT

You'll notice I've removed R7 and left the hole vacant, only do this if doing a parallel install with plans to share the stock CLT sensor with the MS. If doing a standalone install leave R7 installed.

Mod your tach input and spark output like this:










****NOTE**** I built my harness different than I posted above, notice my spark outputs are crossed, do not follow that unless you have good reason to.


To eliminate noise/interference on the tach input we install a .1µF capacitor on that circuit as a filter. This eliminates random misses and allows you to use Hi-Res code successfully.

Solder the capacitor between JS8 and Ground, you can see this in the diagram below.




__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by cjernigan; 02-06-2008 at 01:07 PM.
Braineack is online now   Reply With Quote
Old 10-28-2007, 01:59 AM   #3
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

Let's start with the harnesses.

If you're going to boomslang or wire straight to the ECU you'll wanna use these pinouts:


Fans for 94-95 is 1L (B/G) i mislabeled the diagram...





The IAC-- I/Os on the MS are connected to these DB37 pins:

IAC1A -DB37 pin 25
IAC1B -DB37 pin 27
IAC2A -DB37 pin 29
IAC2B -DB37 pin 31

Just in case you need to know this for a CAS install in an NB or for whatever reason, this is the CAS pinout:
CKP- Pin 24
CMP- Pin 25



You'll build your DB37 connector like this:





There are three options to install the MS:

First, being a boomslang. This allows you to plug your MS wiring in between the ecu and factory wiring so the installation can be completely reversable without damage to the factory harness.

to build yours you'll need to follow parts:

(1) 64 Pin Male connector (174518-7)
(1) 26 Pin Female connector (174516-6)
(1) 22 Pin Female connector (174515-6)
(32) .040" Contacts (175061-1)
(16) .070" Contacts (173631-6)

96-97 add:
(16) .040" Contacts (175061-1)
(1) 16 Pin Female connector (174514-6)

all part numbers are tyco / amp, and can be purchased at places like onlinecomponents.com. See tycoelectronics.com for more vendors and availability. this should run you $20-$30.

TRY www.newark.com for no minimum purchase amount.

example:















Option #2

the second option is running standalone. However you won't be able to run the a/c so you'll only want to do it this way if you dont got it. If you want to keep your A/C, you'll need to follow the directions in this thread. (ed. 19may08- JP) You'll also need to mod your MS for idle control and fan control.

The only part you'll need to make your harness is the 64 pin connector. Wire the db37 harness directly to the connector and then just plug it in the factory harness.

The following diagram shows a 1k ohm resistor being placed across 12v and pin 2I. This is required on '94-95 miata's in order for the tachometer on the dash to work. Without this resistor the tach will simply not be functional.








The 3rd option is wiring the DB37 harness directly into the factory harness. An option here is wiring switch for the igniter and injector paths so you can have either the MS or oem ecu control them at will.


thanks Joe
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by cjernigan; 03-01-2008 at 07:13 PM.
Braineack is online now   Reply With Quote
Old 10-31-2007, 11:53 PM   #4
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

To utilize A/C with your standalone unit!!!

Follow Joe's writeup here: http://www.miataturbo.net/forum/t20954-post256739/




Fans mod:


If you need something to trigger to ground at a certain temp, pick up the fan mod kit...You'll build it in the proto area. If you are running EBC make room for it.









Another easy method would be utilizing what you already get in the kit. Since we don't install Q4, we can use that transistor to drive the circuit.

Simply swap Q7 for Q4, and run JS0 into the top leg of R27. And jump the flat side of the middle LED to your harness. That's it.
Attached Images
 
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by Braineack; 12-06-2007 at 01:41 PM.
Braineack is online now   Reply With Quote
Old 11-20-2007, 11:16 AM   #5
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

EBC:




If you aren't using the idle mod, then use the spot for Q16 on the heat sink, as you only need that for MSII.




The IAC outputs are right behind MOV1, use which you need, I'm using 1B




Connect JS2 through the Proto section for access on the top of the board.




Route the ground and JS2 leads around the components





If you have both the idle mod and EBC, considering drilling a hole in the case to act as a heatsink





or you can pick up a heatsink at Radio Shack and put it in the proto area



UPDATE: You must use an insulator on the FET if you are mounting it to the heatsink or case.



Good Boost Solenoid:
http://airinc.thomasnet.com/Item?cid...7&assetid=spec
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by Braineack; 12-06-2007 at 01:41 PM.
Braineack is online now   Reply With Quote
Old 11-23-2007, 11:25 PM   #6
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

Installation:

AIT (air intake temp):

The easiest thing to do here will be to wire directly into the AFM/MAF harness, polarity doesn’t matter. Buy your AIT kit from DIYAUTOTUNE.com, buy the MSPNP kit, it will provide a bung for your pipes and contacts to stick into the stock harness.

1.6L (RED/GRN)



1.8L (RED/BLK)




Fuel Pump:


FUEL PUMP 1.6L only:

It's the purple wire (FP). Tap it into the light green wire off this harness under the dash:



It’s just under the driver side to the left of the clutch pedal.



BOOST SOLENOID:

Connect red wire to the little blue +12v connector near the driver headlight (it has a cap on it, when you pull it off it’s just a little spade), or any or switched +12volt source. But this is the easiest to use as you’ll most likely be mounting it there anyways.

Connect the ground to the Green/white (IAC – B) wire in the MS harness or whatever pin you built it on.



The boost goes into the port with only one nipple. The exhaust to the wastegate is on the side with the little exhaust “filter”.
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by Braineack; 12-06-2007 at 01:42 PM.
Braineack is online now   Reply With Quote
Old 11-24-2007, 01:21 PM   #7
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

Software:

This guide requires the following software:

MegaTune: http://www.megasquirtpnp.com/downloa...tup_021108.exe
Hi-Res Code: http://boostedmiata.com/MS/msq/hr_10g.zip
EasyTherm: http://www.megamanual.com/files/soft...ll_Install.zip


Step 1:

Install the Megatune software onto your laptop.

Run the installation software for MegaTune allow the software to install to the default location.

Extract hr_10g.zip. Run copy-ini.bat.

Step 2:

Create your Firmware file (only necessary if you're running parallel).
  1. Open EasyTherm
  2. Change the 'Code Version' (towards the bottom on the RHS of the screen) to "Custom"
  3. Change the port to your port (COM 1 or what-ever it is) on the bottom of the screen
  4. Change the 'Coolant and Air Temp' settings to your desired settings;
90-93: Use Rx7 defaults for the CLT and GM defaults for the AIT.

Piggyback with R7 installed: Use 1280 for CLT and 1450 for AIT for the bias.
Piggyback without R7: Use 2625 for CLT and 1450 for AIT for the bias.
Piggyback without R7 or R4 (recommended for piggyback sharing the sensors): Use 2625 for CLT and 3475 for AIT for the bias.
Standalone: Bias will be 2490 for each.

If 94-95: Use Rx7 defaults for the CLT and GM defaults for the AIT.

If piggyback with R7 installed: Use 910 for CLT and 1450 for AIT for the bias.
If piggyback without R7: Use 1450 for CLT and 1450 for AIT for the bias.
If standalone: The bias will be 2490 for each.

CLT Values:
deg F
-4 16150
104 1150
176 330

If 96-97: Resistance scale pending.

If piggyback with R7: Use 790 for CLT and xxxx for AIT for the bias.
If piggyback without R7: Use 1544 for CLT and xxxx for AIT for the bias.
If standalone: The bias will be 2490 for each.

If 99-00: (ECU CLT BIAS 1544; just my notes ignore)

If piggyback with R7: Use 790 for CLT and xxxx for AIT for the bias.
If piggyback without R7: Use 1544 for CLT and xxxx for AIT for the bias.
If standalone: The bias will be 2490 for each.

CLT values
Celsius temps
0 6000
40 1100
80 320
  1. Once you have changed the settings, click on the "Write .inc and .s19 Files" button on the bottom of the EasyTherm screen
  2. The file that you want to write to is the 'msns-extra.s19' file in the C:\EFI\ folder in the hr_10g file that you unzipped to earlier.
Let’s flash that file

IF YOU ARENT USING A STIM, UNPLUG YOUR COILS/IGNITORS!
  1. Put a jumper on the boot pin on the MS motherboard and power up the Stim/ Ignition to ON.
  2. Click "upload to MS" Choose the 'msns-extra_mod.s19' file in C:\EFI\ (Don't touch a thing on your computer after this or it will freeze)
  3. It will write about 1775 lines, if it doesn’t do it again from step 2.
  4. Unpower the MS and remove the boot jumper.
  5. Once this has finished you will need to copy the "airdenfactor.inc", the "matfactor.inc" and the "thermfactor.inc" files from Program Files > EasyTherm into Program Files > Megasquirt > MegaTune2.25 > mtCfg
  6. Once that is all done, open MegaTune, check that the commuincations is going through the same COM port as before, and if you see the guages in MegaTune giving some readings you can now download your .msq onto the ECU and you're good to go.
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by Joe Perez; 09-17-2008 at 12:06 AM. Reason: Fixed MSnS-E ldownload link
Braineack is online now   Reply With Quote
Old 11-26-2007, 10:13 PM   #8
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

Setting up Megatune:

Open megatune

Go to file > Configurator > car1 >settings > Code_variant

Make sure MSNS_EXTRA "James Murray and Phil Ringwood's MSnS extensions" is selected


Go to > Lamda_sensor

select:
AEM_LINEAR "AEM Gauge AEM-30-42xx"
or
LC-1 Linear 0-5v 10:20 AFR


IF 4-BAR MAP SENSOR

Go to > MAP_Sensor

Select 400kPa


I also like to uncheck Celsius and kPa.

File > Save

Exit.



Go to c:\program files\megasquirt\car1\mtcfg\custom.ini

Change this:




to this:




you can shange the settings to whatever you'd like, this allows autotune to pretty have tune in all situations. If for example you gave it a 100-255 MAP, it would only tune in boost...


At this point you need to load a base map, here are a few to get you started:

x
x
x
x



Configuring your map:

The first thing you have to do it match the ignition timing!

MS has no idea what your timing is. But if you tell it is all good then it will believe you.

Start and idle the car and open up Spark > Spark Settings.

To adjust the timing you adjust the trigger angle, that’s it.



First change the -10 to a 10. This is the fixed angle. You’re telling Megasquirt that you only want a static 10°. You never want it to give you any other timing.



Use a timing light and verify the timing is correct. If it’s not a match, change the trigger angle a few points and try again.



Once your timing light indicates 10°, change the 10 back to a -10. You are now telling Megasquirt to change the timing based on the preloaded map I gave you. If you go back out with a timing light you should see it changed to the 15-18° range.


You’re now ready to tune this baby up.
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.

Last edited by Braineack; 12-06-2007 at 01:46 PM.
Braineack is online now   Reply With Quote
Old 11-26-2007, 10:33 PM   #9
Not my hamster.
 
Saml01's Avatar
 
Join Date: Jul 2007
Location: Brooklyn, NY
Posts: 3,689
Feedback: 6 / 100%
Default

You should also mention to remove the "Trigger Angle Addition" which is by default added to the DIYAutoTune Map.
__________________
97 M Edition|Garrett T25G @ 14 psi|Begi Manifold/Downpipe|Megasquirt 1V3|RX7 460cc Injectors|Toyota COPs|LC1|TurboXS RFL|18x12x3 Ebay IC|Enthuza 2.5" Catback|Sport Brakes|Mishi Rad|ACT XTSS
Saml01 is offline   Reply With Quote
Old 11-30-2007, 09:11 PM   #10
Elite Member
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 1,569
Feedback: 1 / 100%
Default

Um, but you don't HAVE to leave in the stock ECU? All it runs is AC and Alt, right? Since I dropped my AC, couldn't I figure out something to run the alternator and save the 2 lbs of the OEM ecu?
AbeFM is offline   Reply With Quote
Old 12-01-2007, 12:52 AM   #11
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

see option number 2 for the harness....
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.
Braineack is online now   Reply With Quote
Old 12-01-2007, 05:52 PM   #12
Elite Member
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 1,569
Feedback: 1 / 100%
Default

Quote:
Originally Posted by Braineack View Post
see option number 2 for the harness....
Thanks, ok, I missed that. Like I said, I'm not too worried about AC, but I (think?) on my 2000 the alternator is run by the OEM ECU - but the MS won't support it, will it? I wonder what it does, anyway? I could probably just make a voltage monitoring box to run the alt, anyway.
AbeFM is offline   Reply With Quote
Old 12-01-2007, 05:54 PM   #13
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

must keep the factory ait connected, it's on the alternator circuit, iirc. but anything to fake the singal shoudl keep things happy.
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.
Braineack is online now   Reply With Quote
Old 12-01-2007, 10:00 PM   #14
Woot Woot
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Middle Tennesee & Alaska
Posts: 7,449
Feedback: 12 / 100%
Default

Abe. You really need to run MS in parallel with your stock ECU. You'll still control fuel and spark standalone, but leave the other stuff up to the stock ECU. No reason to make things difficult.
__________________
'99 MSI AEM UEGO 550cc Inj - T3-60 - BEGI S5 Mani - Tial 38mm WG - ACT HD - HDHCDD M2- Koni Sports - 525/350 GCs - RB 1.125
MSPNP FAQ - DoItYourself Megasquirt How-To - Megamanual - Factory Wiring Diagrams - AEM/MS Calibration
DIY Turbo Miata FAQ
cjernigan is offline   Reply With Quote
Old 12-01-2007, 10:26 PM   #15
Elite Member
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 1,569
Feedback: 1 / 100%
Default

Quote:
Originally Posted by cjernigan View Post
Abe. You really need to run MS in parallel with your stock ECU. You'll still control fuel and spark standalone, but leave the other stuff up to the stock ECU. No reason to make things difficult.
It just seems silly to me to have this whole computer there just to turn a switch off and on - especially when you have to fake it out to get it to do it.

I guess it's just... 'how it's done', but still...

Does it do anything else in the '99 besides leave the CEL on all the time and run the alternator?
AbeFM is offline   Reply With Quote
Old 12-01-2007, 10:28 PM   #16
Celebrating Kwanzaa Since 1966
 
Braineack's Avatar
 
Join Date: May 2005
Location: Arlington Va
Posts: 16,916
Feedback: 17 / 100%
Default

if you do nothing with the o2s and leave the MAF, you shoudl get no CELs. IF you remove the MAF and take the nessecary steps to fake both signals, AIT is fine it's the MAF signal we are debating, then you should be CEL free.
__________________

DIY TURBO FAQ | DIY MEGASQUIRT HOW TO | USEFUL SAVED POSTS

Sometimes it takes time to digest information, assimilate and understand it well. Sometimes it's ingested without digestion.
Braineack is online now   Reply With Quote
Old 12-01-2007, 10:38 PM   #17
Elite Member
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 1,569
Feedback: 1 / 100%
Default

Quote:
Originally Posted by Braineack View Post
if you do nothing with the o2s and leave the MAF, you shoudl get no CELs. IF you remove the MAF and take the nessecary steps to fake both signals, AIT is fine it's the MAF signal we are debating, then you should be CEL free.
That's another reason I want a stand alone - so I can get rid of things like my rear-o2 sensor simulator (the NB's method for check it's there is relatively advanced). What I'm curious about is what good does it do me to keep the computer, not how hard is it to do. I'm appreciating the input, though - don't take it as an argument.
AbeFM is offline   Reply With Quote
Old 12-01-2007, 11:27 PM   #18
Woot Woot
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Middle Tennesee & Alaska
Posts: 7,449
Feedback: 12 / 100%
Default

To go full standalone on the '99 with A/C you will have to do a few things.
Buy an NA alternator, they are internally regulated and will solve the alternator circuit problem. Then you can remove the stock IAT all together. Then you will have to build a custom circuit to control your A/C. The MSPNP has this custom circuit. You will want to take control of the intake butterfly's aka VICS or w/e it is. You can do that with the shift light output most likely. They are simply on or off.
The emmissions circuit can be removed completely, egr doesn't matter, mine is blocked off. The