This is an account of my recent efforts to get a Megasquirt full standalone ECU powering my KA-T. I will try my very best to make sure it is complete and accurate, but you should not blindly follow it as a comprehensive step-by-step guide.
I bought a fully assembled Megasquirt 1 version 3.0 from Matt at DIYautotune.com. I highly recommend buying from him. He has experience with squirting 240s, and was ALWAYS a great help to me as I had various troubles along the way. Some slight modifications need to be made to his fully assembled boards. You can pay an extra $20 for him to do it. See this article here, for more info on that: http://www.diyautotune.com/tec...x.htm
I suggest you read that all the way through, as it will get you well on your way. THE INFORMATION I AM PROVIDING HERE IS MEANT AS A SUPPLEMENT TO THE INFORMATION PROVIDED IN THAT ARTICLE.
Now, on to the wiring. I suggest you get yourself a copy of the FSM and look at the foldout section.
For wiring up the idle control valve:
For idle control I am using the stock a/c FICD valve, and it seems to work just fine. You need to locate the wire going from it to the ECU. It is green with a blue stripe and it goes to pin 45. You need to connect that to a relay, and then connect the relay to ground. Ground it far, far away from everything else. Then give the + coil side of the relay 12v and connect the -ve coil side to the Fidle pin on the megasquirt. Now go to your engine harness. The plug you want is one of the ones on the front of the engine, specifically the one that is ziptied to the valvecover breather line. You can verify that you have the right one by checking where the wires go. If they go under the manifold, to the valves on the back, you have the right one. Splice the brown wire in with the blue/green wire (only the end leading to the valve). This will provide the valve with constant power when the key is on.
Guess what, the stock ecu controls the tach!
That's right folks. If you want to use your stock tach you need to wire up a little circuit. See this picture taken from the MS manual: http://www.msextra.com/manuals...o.GIF
Where it has the 1-10k resistor, I used a 1200 ohm one and it worked for me. I also used a different transistor (one I had laying around) so it might be slightly different for others.
Ignition:
For some reason the stock coil and transistor don't seem to want to work with MS. I ended up using a MSD blaster SS coil. Note that since the VB921 in MS has current limiting capabilities, you won't need a ballast resistor. MSD states that the optimal dwell time for this coil is 3.50 ms.
Using the stock temperature sensor:
You can easily use the stock sensor, but you need to calibrate MS to read it with Easytherm. Search it up and follow their instructions. Or, if you don't/can't remove it and test it, use these numbers (what I got with mine):
-4 F 5190 ohm
86 F 480 ohm
210 F 207 ohm
The SCV system:
If you haven't removed those stupid butterflies from the intake manifold, you need to ground the solenoid that controls them. Grey wire, pin 25.
I think that about covers it. Do all of the stuff in that article from DIYautotune.com, then do what I have said, and you should be well on your way.
I will add more information as I go along/think of it.
Now comes the tuning. Have fun.
Modified by ZiG at 7:08 PM 9/14/2007
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 7:39 PM 9/14/2007
I'll probably be ordering my MS within the next 3 weeks. I'm going to go with the MS-2 pcb 3.0.
have you gotten your idle problems sorted out yet?
And when you get a chance could you link your msq? i've been doing a mixture of calculating settings mathematically and randomly guessing. so if i could actually look at a semi working tune that would be awesome
it's mostly the ignition settings i'm not really sure about.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 10:16 PM 9/14/2007
Today there was a meet for the local 240sx club, and I managed to make it down there. Everyone was pretty impressed. What really amused me though, was that there is another guy with a 'squirted 240 (though he paid a shop to do it all) and he couldn't believe that I had managed to get mine to start the first time, every time. haha.
Yeah about the tune.. I don't currently have anywhere to host it. I put it here for now: http://files-upload.com/files/...7.msq
If you know somewhere I can upload it for free/for ever, please let me know. Otherwise I guess people can just give me their email and ask me.
About that tune: I got the base VE and spark tables from another guy on KA-T.org. They seemed very reasonable so I just loaded them up and went. Idle is pretty much a perfect 14.5:1 AFR, and it gets pretty rich under boost (hey, better that than too lean). The spark map is pretty tame, but again, it's always good to start on the conservative side. It's perfectly driveable for me as it is. I've just been driving around with autotune turned on, and this has been the result of a few hours worth of fine tuning. My setup is as follows:
SR t25
SR 370CC injectors cleaned & flowtested (didn't need to be balanced)
knocksense MS knock light (Highly recommended)
innovate LC1 wideband with in-dash gauge
And I think that's all that's relevant.
Ok everyone: go start squirting.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 4:14 AM 9/15/2007
There's a book I've been reading recently called "How to Tune and Modify Engine Management Systems" by Jeff Hartman. I got it on ebay for $3 shipped.
The book runs through everything about how the ECU actually works, the sensors involved, and how it controls all this to make the engine run.
I learned alot from it and i'm sure it will help with the tuning of the megasquirt.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 4:29 PM 9/15/2007
I'll email you the file.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 8:03 PM 9/15/2007
SO i renamed it to a .txt which is kinda nice because you can open it and see whats in the msq. Just remember to rename it to open in Megatune.
There's Zig's current tune.
http://www.geocities.com/kraze...g.txt
to use this in megatune rename the extension to .msq
Here's the ignition map from zig
http://www.geocities.com/kraze...p.txt
rename the extension on the ignition table to .vex
Hope this helps anyone looking at the megasquirt system. I'm planning on doing MS2.. and will probably order everything next week. So expect updates as i attempt to build and tune everything.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 9:36 PM 9/15/2007
Keep me updated!
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: WDRacing at 7:12 AM 9/16/2007
WD
Post Title:
Posted by: 180sx at 12:35 PM 9/18/2007
On My buddies 93 we just used the ignition wire as our main power for everything(coil/fuel inj/cas/ms itself ).
What and how did you relay off components?
We started with megafire coil but after destroying vb921 realized its suppose to be used with msd or cdi box only. Went back to oem coil 4 now.
Post Title: Re: (180sx)
Posted by: ZiG at 4:25 PM 9/18/2007
The VB921 is a high current transistor that should be able to drive most coils.. You DID make sure you were triggering off the -ve terminal, and in Megatune you have 'Spark output inverted' set to YES, right?
Post Title: Re: (ZiG)
Posted by: 180sx at 1:41 PM 9/19/2007
this is from the post:
""
BLASTER SS COIL SPECIFICATIONS
Primary Resistance: .355 ohms
Peak Current: 300mA
Secondary Resistance: 6.2K ohms
Spark Duration: 180uS
Maximum Voltage: 48,000 volts
Primary Inductance:
6mH
reply:
Your coil is designed for use with an MSD box .
Most coils have 3 to 4 times as much resistance as your present coil .
It will put out less spark power than your stock coil unless
it is driven by a CDI type ignition box like this :
Multi-Spark CDI Ignition
Your VB921 will drive the white wire on this box or an MSD box ,
(wiring is identical in both units) .
"""
Vb is somewhat being re manufactured so its hard to find in Canada. And Usa shipping is 8x the chip.
But i looked around and this coil my buddy has I so far only seen used with conjunction to megafire ignition moduals. So i am waiting for few more vb's and than going with oem coil 4now. Gotta get this project outta the garage already.
Post Title: Re: (180sx)
Posted by: ZiG at 4:44 PM 9/19/2007
Squirted: megasquirt200709141747.msq
Stock ignition: ZiG_stockignmap.txt
Post Title: Re: (BoostsFed)
Posted by: eazye2000 at 8:56 PM 9/19/2007
| Quote, originally posted by BoostsFed » |
| ZiG megasquirt files on my server: Squirted: megasquirt200709141747.msq Stock ignition: ZiG_stockignmap.txt |
Thanks man!
A little update: I don't like using the AC Fidle solenoid for idle control. It idles either just a little too low (still smooth but I worry about low oil pressure) or it idles at like 1100 RPM. Which I suppose is porbably fine, but I'm going for perfect here.
On that note I have finished modding it for a PWM IAC and I'll hook that up tomorrow or something. It should be noted that if you really want to, you can bypass idle in megasquirt altogether, all you would have to do is wire up the AC Fidle solenoid to be on whenever the key is, and then fine tune it with the idle speed screw. The lazy man's approach. Or perhaps the approach of the ambitious man that decided to squirt in the first place, but got annoyed at the project and decided that as far as idle goes, close enough is good enough. haha.
Post Title: Re: (ZiG)
Posted by: krazydriver at 8:20 PM 9/22/2007
Now i did get the kit, not the pre-assembled. But hopefully i should have the Megasquirt itself assembled within a week. Then i'll just order the various sensors i need and dig into the wiring harness.
I've been researching all the firmware options, and made my final decision that i'll be running the MS2 extra firmware. which is currently in the 1.02 release.
It has some really cool stuff in development for it like 16x16 tables, boost control(MS1-E has this already), and some other stuff.
I'm planning on doing the same as Zig and reusing as much of the factory harness as possible. But if i get ambitious i may go through it later and completely redo the whole harness.
Post Title: Re: (krazydriver)
Posted by: ZiG at 8:52 PM 9/22/2007
And good choice with the ms2/extra. When they develop it a little more I'll probably switch to it too.
The only sensor you'll need is the iat. And remember to put it in the cold pipe. 
Where did you buy it from?
Post Title: Re: (ZiG)
Posted by: krazydriver at 5:59 AM 9/23/2007
i got the kit from diyautotune.com also. They seemed really helpful in talking with them.
probably Wednesday everything will arrive in the mail. So hopefully i can find the time to get it built, then i can worry about getting it into my car.
Post Title: Re: (krazydriver)
Posted by: ZiG at 7:52 AM 9/23/2007
I hope for your sake that your s13 isn't your only transportation. It is for me, and rigind my *** on the bus to school (engineering student) for 2 weeks REALLY sucked. But I guess I had a lot of problems I had to figure out, so hopefully the things I learned will help others to finish it faster.
Good luck and keep us posted.
*shudder* stupid bus.
Post Title: Re: (ZiG)
Posted by: 480sx at 11:52 AM 9/23/2007
I was able to get my car running and idling great with a slightly different setup. Also, from everything iv read MS2 is much more difficult to get running than MS1. Even on the MS support forums, i wasnt able to find a single person who ran MS2 successfully on a KA. Just keep that in mind when your choosing between the two.
My setup, like ZiG's was to let MS directly control the coil through the Hall Optical CAS. I was able to get my timing dialed in at a trigger offset value of 72. This will be different for some people, depending on how you have your Dizzy turned, however 72 is enough to get your car running. Some people have said that its 108 or something. While i cant contest this, all i know is that my car ran and held timing dead on at 72.
I however went with the path of least resistance and kept the stock ECU to control idle, tach, AC, ect. I butchered the wiring harness in doing so. However, i cant see any possible way of not doing so if your installing MS.
The main problem i had was tuning startup/cranking pulse widths. I had a great tune after about a week of having my car running and saved over it, and was never able to get it back to that point. I should have just scraped everything i had done and started fresh but i got frustrated of having my DD down for 3 months and went with Enthalpy..
Another issue, the main reason i switched to a stockish ecu, i left my key on one night and somehow fried the VB just by doing so. That was just kinda the straw that broke the camels back.
Oh, and using the MS Dwell calculator, a blaster 2/3 coil has an optimal dwell time of 2. Matt said this was a little low and i could try to crank it up, but with the dwell set at 2 i had no issues. If you want to crank the dwell up higher, open the MS case while its sitting at an idle for a while, and put your finger over the VB unit. If its to hot to touch, your dwell is to high.
I recently picked up a front wrecked 240 and plan on using MS for it(track car? as long as the frames strait!) , so we will see how that goes.
Post Title: Re: (480sx)
Posted by: krazydriver at 4:44 AM 9/27/2007
Stimulator is finished, Megasquirt board will have power, serial, and most of the clock circuits finished by this afternoon. So it's going really well. I'm going to wire it in initially just using the factory wiring. Then over the winter, while the s13 is off the road i'll make my own wiring harness then swap it out in the spring.
found a great amount of info on MS2/MS2extra with the KA from a guy called KApower on the forums.
here's his success thread.
http://msruns.com/viewtopic.php?t=22422
the awesome part is the guy has put a great deal of work into documenting his project so he has diagrams and everything for setting up the board.
just as a note to anyone looking at megasquirt or any other tuning, the great guys at Injected Performance have a deal running on widebands so take a look
http://forums.nicoclub.com/zerothread?id=281562
Post Title: Re: (krazydriver)
Posted by: ZiG at 8:16 AM 9/27/2007
Yeah I saw that guy on the ms success stories.. Not much applied to me though, and he wouldn't answer PMs. 
Post Title: Re: (krazydriver)
Posted by: 480sx at 4:30 PM 9/27/2007
His thread has a bit of decent info on it, but its not all that helpful.
The one thing i found interesting was the fact that he adressed the number of squirts per cycle issue. I had the same issue when i ran two squirts, changed it out to 4 and it fixed the issue much as that guy said.
ZIG how many squirts do you run? Did you have the same issue with it stumbling off idle with two?
Post Title: Re: (480sx)
Posted by: ZiG at 5:18 PM 9/27/2007
I'm going to a dyno with a guy that's tuned many, many megasquirted cars, this coming tuesday. It should be awesome.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 3:48 PM 10/2/2007
| Quote, originally posted by ZiG » |
Using the stock temperature sensor: You can easily use the stock sensor, but you need to calibrate MS to read it with Easytherm. Search it up and follow their instructions. Or, if you don't/can't remove it and test it, use these numbers (what I got with mine): -4 F 5190 ohm |
Zig you might want to take a look at this.
FSM states these readout for the factory CLT.
68* F 2.1 - 2.9 K ohms
122* F 680 - 1000 ohms
176* F 300 - 330 ohms
I bought myself a new one from one of the sponsors and got 17,500 ohms at 12* F. So.... your sensor appears to be a bit off
on the other hand i'm hoping to have my MS2 finished this week and probably start the wiring redo weekend. So far everything is looking good with the stim and megatune.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 6:20 PM 10/2/2007
In any case, after 1.5 hours of dyno work:

Modified by ZiG at 9:48 PM 10/2/2007
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 6:14 PM 10/3/2007
Megasquirt LIVES
Tonight i finished building my MS2. Honestly the DIY kit is worth the savings from getting a prebuilt. It only took me a week to put it together. i'd have to say that the 6-8 hours assembly is just about right, and if you have the time it's definitely worth it.
Passed all stim/megatune testing and everything looks great. I've got 3 more mods to do to the board then it's good to go(tach input pullup, tacho out circuit, and a relay control circuit)
btw this is what i'm planning on doing for timing. I'm going to mess with the dizzy and trigger angle until the values in the bin is the actual measurable timing.
If tomorrow isn't too crazy i think I'm going to put my LC-1 in, and just use the narrow band output for the factory ECU for now. Then hopefully this weekend i can start on the wiring harness modifications.
Modified by krazydriver at 9:29 PM 10/3/2007
Modified by krazydriver at 9:31 PM 10/3/2007
Modified by krazydriver at 10:39 PM 3/30/2008
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 7:03 PM 10/3/2007
What the hell is that skin? is that megatune? looks COOL!
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 7:19 PM 10/3/2007
I used to use it solely for the skins, but it has alot of other nice features that allow you to run multiple desktops simultaneously, keyboard shortcuts etc.
Take a look at it. it's pretty cool. There's THOUSANDS of skins online and the program allows you to make your own if you want
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 8:56 PM 10/3/2007
..Also nice to have in linux.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 7:59 PM 10/5/2007
i was just wondering how you'd wired up the power to the megasquirt. I was planning on taking the switched power from the factory EFI relay, then running that into a fusebox then from there distribute power to everything as seen in this picture.
i was planning on just running the thermo fast idle for now. just so i won't have to interface anything else with the megasquirt.
Did you have to add any relays to get everything to work? or should i be good doing it this way?
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: krazydriver at 5:48 AM 10/6/2007
On a side note though one of the diagrams in the FSM shows that an air regulator gets power when the fuel pump is on. I'm not positive but it looks to be the IACV air regulator. So maybe i won't need to run power and ground to it?
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 2:54 PM 10/6/2007
I modded the ecu relay and the power to the injectors as shown in that diagram, and the MS itself still gets power from the 2 wires that power the stock ECU.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 2:56 PM 10/6/2007
I'm going to take a bunch of pics of how i wired everything, so expect updates with pics tomorrow/wednesday.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 7:55 PM 10/8/2007
Using stock coil or what?
('cause if you are, you'll have to bypass the power transistor if you havent already. And even then, might be iffy.)
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 7:22 PM 10/9/2007
alright here's how i wired the megasquirt power and grounds. I ran a completely separate relay as shown below. I'd like to leave as much of the factory wiring as possible, at least until megasquirt proves it can make my car run. At that stage i'll be revising the below drawing because i'll be powering the fast idle thermo switch and (if i don't remove them) the solenoid for the butterflies.
right click and view image to clear it up
Megasquirt and the LC-1 share a ground point. I'll probably leave the rest of the sensors on the factory ground lines, and i'll get up some actual pics of the wiring madness tomorrow.
For sensor wiring just follow the megasquirt external wiring diagram i posted further up.
To remove the constant 12v to the injectors
To cut the constant 12 volts to the injectors just go down right next to the battery and the washer fluid filler. You'll see a grey connector. Unplug it and from the cold side(if your worried you can just unplug the battery) i just removed the connector for the red wire.
I'm going to be using the thermo switch fast idle which only needs 12v and a ground to work. Currently it will be receiving both of these through the factory harness... so it should be fine.
If i can get some cover over my car, or if it doesn't rain tomorrow. I think i'll be able to do all the sensor wiring. Most of which will just be extending the factory ecu sensor wires so that they'll reach to where megasquirt is mounted. if the wiring goes well maybe i'll post up a first startup (or failed startup) vid.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 8:01 PM 10/9/2007
I look forward to seeing the end result!
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 6:11 PM 10/10/2007
I'd been testing while i wired so i knew power worked, i'd done the output test for coil and injectors. So i fired up megatune and switched it to realtime.
Calibrated the TPS, and made sure everything looked like a reading i should be getting.
Turn the key.... crank sputter
Try it again.... crank sputter
3rd time Crank VROOM!!!! SHE LIVES!!!!
won't idle so i have to keep blipping the gas to keep it running...
then i realized that the hose to the MAP sensor had popped off the fitting as the map is reading atmospheric. All other sensors look fine, tach readout is great
Turn it off fix the map hose, she fires right back up. Still won't idle(not really sure if the fast idle i wired up is working or not). I screwed with the trigger angle some more, i'd started at 78, moving to 86 allowed me to let the car fall below 1000 RPM before it starts missing, so i just gotta tune the ignition somemore. But my laptop battery died...
oh well more fun for tomorrow.
And here follows pics of my wiring job, it still needs to get bundled and ziptied out of the way.
I apologize for the crappy pics but all i had available was my cellphone camera... so they are what they are.




and here's the msq i was using.
http://www.geocities.com/kraze...7.txt
Unfortunately i can only host on geocities at the moment, so i had to rename it to a txt. So you'll need to change the extension to .msq. Because i'm running the MS2/extra code you'll also need to download this version of megatune to open it.
http://msextra.com/ms2extra/fi...r.exe
So for today i'm done, tomorrow i'll definitely have some time to screw with it and hopefully get a decent idle going.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 6:48 PM 10/10/2007
just ziptie the iat sensor somewhere for now. On a turbo car it needs to go in the coldpipe because the air is a different temperature due to the compression and intercooler, but on a n/a car having it ziptied in the engine bay somewhere in the general area of the airbox will be just fine. Actually I had to do that with the iat sensor in my Firebird when I installed a CAI. heh.
As for your trigger angle, have you checked it with a timing light yet? Just set megatune to hold 20* btdc and then adjust the trigger angle until you see 20* with your timing light.
As for your idle.. do you have the iacv hooked up yet? Or are you just trying to use the thermal fidle valve?
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 7:20 PM 10/10/2007
Once i can get it to hold a steady RPM, or idle properly i'll bust out the timing light on it.
I was gonna just jam the IAT up the hole where the resonator on the intake plugged in, but i got lazy and wanted to see if the car would start. That might be part of my problem because without the sensor attached it's accounting for a 170* intake temp, while the actual temp was about 55. I'll put it in tomorrow and see if it makes a difference.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 7:47 PM 10/10/2007
the thermal valve will stay open until it has had power through it long enough to shut. so once it's warm, it would die. It heats up pretty quick too. Leave it unhooked to stay open longer.
My landlord bitched at me for working on the car so much in the parkade, so i have to take it easy for a while. As a result, I still havent wired my iacv up. Alls I have to do is splice in the diode and connect the wire to the lead coming off the ms, so maybe I'll go do it in the middle of the night.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 4:07 PM 10/11/2007
The fast idle thermo valve works great, car starts up and idles around 1150~1200 after a couple minutes valve shuts off and idle drops to ~800.
If it's dry enough tomorrow, i'll put the timing light on it and make sure my trigger angle is set right.
at the moment idle AFR is 13~13.5:1 so i'll have to screw with that some to get the idle straightened out before i move onto the other bins.
Post Title:
Posted by: dwada at 12:28 PM 10/18/2007
Thanks
Post Title: Re: (dwada)
Posted by: ZiG at 2:31 PM 10/18/2007

Wheres your MSQ, id like to look it over and see if mines different.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: ZiG at 4:53 PM 10/18/2007
uhh i'll have to find hosting again..
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: 480sx at 6:23 PM 10/18/2007
Quote, originally posted by MS Forums »
the simple false trigger prevention method will not allow my engine to start. It just kicked back and would never quite catch. I put my poor starter through a beating!
I ended up configuring the Advanced false trigger prevention time mask setting to 10-30%. The defualt 50% time mask would also not allow my engine to start.
Jsmcortina wrote "I need to look into this - the "simple" mode was supposed to be a copy of the built-in settings on all MS1 variants, that seems to work for everyone. I must have made an error somewhere."
There is some info on Advanced trigger options. simple mode does not allow my Nissan CAS equipped vehicle to start. I do believe others had problems with simple mode aswell.
Only MS2 has the false trigger setting so that would explain why people aren't running into it with ms1. that and megatune defaults the false trigger to simple. Try this out and let us know if it works!! if that's the solution i should be all set to install my MS2 next weekend.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: krazydriver at 12:56 PM 10/20/2007
Trigger angle is not working for me. I can't change it to adjust the timing... so i've actually had to subtract from across my timing table to force the timing to where it should be. i'd read something that said that could be caused by the spark output being set wrong.... so i set mine to spark output going low(normal)...DO NOT TRY THIS!!!!
I was worried it wasn't right so i kept a finger on the vb921 and as soon as i felt it getting warm i shut the car off.. but i managed to fry my blaster SS.
so now it's gonna be a couple of days before i can get another one.
then maybe i'll just load up a beta firmware and see if the trigger angle works.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 4:23 PM 10/20/2007
| Quote, originally posted by ZiG » |
| D'OH! That sucks. Yeah it has to be set to inverted.. And changing your trigger angle and NOT having your timing change? That's messed up. |
well i'd read on the msefi forums where someone had it set wrong and that was the cause so that's why i tried it
atleast a friend of mine had a spare coil i could use.
480, when i'd first started my car it was set at 78. But 20* at idle was really about *43. My lungs are starting to clear up so i screwed around with it for much longer today, and found with the trigger angle around 105(? i think) that my timing would match.
It almost seems that i have to cycle the power to megasquirt BEFORE the trigger angle changes.... which kinda negates the whole trigger wizard... exactly like my problem has been.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 480sx at 8:32 PM 10/20/2007
Oh and instead of subtracting from your whole table, I suggest you just change the trim angle number, which has the same net effect.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: krazydriver at 6:05 AM 10/21/2007
| Quote, originally posted by 480sx » |
| Do you have your dizzy fully advanced? Towards the firewall is where it needs to be. |
I've tried that. Timing is dead on with the trigger angle set to 0 then. But the car won't start because it tries sparking WAY to early.
| Quote, originally posted by ZiG » |
| Oh and instead of subtracting from your whole table, I suggest you just change the trim angle number, which has the same net effect. |
that's what i finally got working last night. I had a friend who came over and helped me for awhile when he dropped of his spare coil. Previously I've been on my own, which kinda makes checking the timing while tweaking stuff very difficult to do.
At the end of last night we had the timing dead on, and the idle is going fine. Car is tuned so i can rev up to 4k and everything looks fine. So i'm gonna take it for a datalog drive and just have logviewer revise my VE tables as it sees fit.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 480sx at 9:25 AM 10/21/2007
Car starts and runs fine now. I'm probably going to take it for a test drive today.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 12:38 PM 10/21/2007
Pretty much needs some leaning across the board. Also i drove it to my friends house and let it cool down before i drove home... and realized i really need some kind of controlled fast idle for warmup. The thermo valve just isn't cutting it.
I'm in his driveway revving the engine till it warms up... kinda pathetic.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: MAGILLA at 4:40 PM 10/22/2007
| Quote, originally posted by krazydriver » |
| well i got in about an hour total of datalogged test drives yesterday. So my work is cut out for me this afternoon reviewing and changing what i need to. Pretty much needs some leaning across the board. Also i drove it to my friends house and let it cool down before i drove home... and realized i really need some kind of controlled fast idle for warmup. The thermo valve just isn't cutting it. I'm in his driveway revving the engine till it warms up... kinda pathetic. |
Hey man Good job
on the whole thing. You 480 and zig have done well to even go the mega squirt route, because there is so little support for 240's. I have been meaning to install a MS II, but i never have the time. The biggest thing is I can't afford to be without a car. It is good to see that when I do start I will have a few people to ask ?s
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 480sx at 9:00 PM 10/22/2007
What about startups? I could never get past the cold start up kick backs. Were you able to rotate your dizzy to a less advanced position, and set your trigger angle up enough to eliminate that problem? Whats your trigger angle set at i guess would answer my question too..
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: krazydriver at 10:46 AM 10/28/2007
This works fine for me as far as a good starting spark, and my timing is dead on once the car is started.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: 2projects2many at 5:44 PM 4/17/2008
| Quote, originally posted by 2projects2many » |
| I wired 12v to the b/w wire, have a 1/4w resistor coming from another 12v source to the white wire going to pin 24, and than I have a black wire going to ground. |
Ok, you say 1/4 watt..
| Quote, originally posted by 2projects2many » |
| I wired 12v to the b/w wire, have a 1/4w resistor coming from another 12v source to the white wire going to pin 24, and than I have a black wire going to ground. |
PS. is the shield the negative wire that needs to go to ground, or the other blk wire?
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: krazydriver at 8:19 PM 4/18/2008
Have you checked your MS with a stimulator? That might be worth doing.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 2projects2many at 8:55 PM 4/18/2008
Kinda simply, but did you make sure you changed the tach input setting in megasquirt?
Should be set on basic trigger, Input capture set to falling edge. It should be piccking some kind of signal up.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: ZiG at 12:18 AM 4/19/2008
i'm not really familiar with ms1 extra. I'll look over the megamanual and see if i can find anything to help you though.
Alright here's what some searching found.
| Quote, originally posted by DIYAUTOTUNE » |
| Using the MS-I PCBv3 with MSnS-E firmware * This is assuming you are starting with an ECU built up like I build my assembled MS130-C MegaSquirt-I PCB3.0 units. If you are building your unit up from a kit you can implement these changes during assembly. * Heatshrink wrap this wire/resistor assembly. * Use this wire/resistor combo to jumper the 'top' (top as in when you facing the silkscreen side of the PCB, with the text so that you can read it normally) lead of R26 to IGBTIN on the opposite side of the PCB. |
So did you do this already? because that would definitely screw up trying to get a distributor reading.
Other thing i can find is this picture of the ignition settings. I would think you need to turn distributor on, turn all the other top code settings off. then set whatever pin you've got wired for the spark output as spark output A.
Just make sure prior to setting this that you set spark output to inverted. i had it set wrong and accidentally burnt out a blaster coil last year.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 2projects2many at 6:41 AM 4/19/2008
Single Coil Direct Drive Output for a V3.0 PCB
These instructions are only suitable for single and twin spark outputs, for more than 2 sparks see the mutiple output section
V3.0 PCB ONLY
Very Important: Set Spark Out Inverted = YES and set the Dwell to around 6.0mS for cranking 3.5mS for Running and 0.1mS for the Minimum Time as a starting point! Also set LED17 as SparkA output in Codebase and Output Functions!! Read the Software manual for more info!!
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: 2projects2many at 7:05 AM 4/19/2008
c12,c30 removed
jumpered optin to tachselect
jumpered tsel to optout
installed 1k resistor from r26 to igbin
r57 not installed
had D1 removed and jumpered.
What I hadn't done:
Jumpered xg1 to xg2
The ms test good on stim, but still no rpm signal on car??
Anymore ideas guys?
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: 2projects2many at 3:15 PM 4/19/2008
key on not cranking = .386 vt
cranking = .386- 1.4 vt (fluctuating)
Now I'm confused- the fluctuation in the volts tells me a signal is coming to the ms, yet when in megatune- it shows no signal.
Like I said above- with stim- it shows rpms- so that makes me think that I have the board right, yet no signal.
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: eazye2000 at 5:57 PM 4/19/2008
You are a bigger man than I. I wouldn't have kept with it this long.
Post Title: Re: My experiences with Megasquirt (eazye2000)
Posted by: krazydriver at 11:30 AM 4/21/2008
If all the MS settings are okay and the board itself is okay and tested out fine on the stim.... Something has got to be wrong somewhere in the car.
I would double and triple check the shielding, power and both sensor returns on the distributor. Just to make sure everything there is good.
Slim chance, but it might be possible that the sensor got damaged if you accidentally connected wiring wrong or something. but idk....
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 2projects2many at 5:07 PM 4/21/2008
And what you said earlier.
| Quote, originally posted by 2projects2many » |
| OK, so I have hooked up the shield wire to ground, so I have the shield wire going to ground & the smaller black wire going to ground. I have 12v going in on blk/wht wire and another 12v (with resistor) going to the white wire going to pin 24 on ms. |
That little black wire should be wrapped on the end and not connected to ANYTHING! Grounding it when it shouldn't be might be screwing with the signal.
Post Title: Re: My experiences with Megasquirt (krazydriver)
Posted by: 2projects2many at 6:36 PM 4/21/2008
| Quote, originally posted by 480sx » |
| Have you tried grounding the thick black wire and disconnecting the thin one? Its been a while since i did the MS thing, but the idea of the big(black) wire being a signal wire just isnt sitting right with me. Im pretty sure you have that mixed up. |
Actually 480, I had both grounded at one point or another- are you saying that you believe the smaller wire would be the second ring output? To me that would seem odd if the the main signal is larger. I don't know, but right now my voltage is down to about 10- so I'm charging the battery because besides that being just to low and barely cranking the engine- I think that may be the problem because the the dizzy isn't getting 12 vt or better and the signal is too weak.
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: ZiG at 7:00 PM 4/21/2008
Also with as cheap as you can score a second s13 dizzy you should have a second one to make sure that your problem isnt just simply a damaged CAS.
EDIT - Zig man, its so much easier, cleaner, more reliable to just rewire your whole engine bay. You condense what was originally 2 pounds of wire down to 10-15 strands that YOU know how they were run, how to trace them if there ever is a problem.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: ZiG at 7:14 PM 4/21/2008
| Quote, originally posted by 480sx » |
| What were saying, is that we believe that the smaller of the two wires is a secondary signal wire that is not used for MS. When this wire is grounded or hooked up to anything but a stock ecu, it may interfere with the distributor. Its just an electrical unit, hooking it up incorrectly can cause it to stop sending a recognizable CAS signal, or possibly fry your dizzy. Also with as cheap as you can score a second s13 dizzy you should have a second one to make sure that your problem isnt just simply a damaged CAS. EDIT - Zig man, its so much easier, cleaner, more reliable to just rewire your whole engine bay. You condense what was originally 2 pounds of wire down to 10-15 strands that YOU know how they were run, how to trace them if there ever is a problem. |
I'm going to let it charge overnight, and tomorrow, I'll remove the little wire from ground, and connect the large one right beside the white wire, and verify my 12vt input again on the blk/wht and the see what I get. I'm also going to see if I can find anything on testing the pickup sensor to check and see if it I may have fried it.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: 2projects2many at 7:31 PM 4/21/2008
| Quote, originally posted by ZiG » |
| This is why when I did it, I got an ECU pinout diagram and an ECU wiring diagram. It's a lot easier if you do it right at the stock ecu harness end and then just leave everything else alone. |
That's what I did Zig, just cut the stock ecu harness connector off and tapped everything there. Where did you mount your ms? I'm not sure if I can squeeze all this into the factory ecu location. The glovebox was my initial thought, but after cutting a hole in that for the wiring, it would bind when opening and closing.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: krazydriver at 7:33 PM 4/21/2008
| Quote, originally posted by 480sx » |
| Zig man, its so much easier, cleaner, more reliable to just rewire your whole engine bay. You condense what was originally 2 pounds of wire down to 10-15 strands that YOU know how they were run, how to trace them if there ever is a problem. |
^ i'll have to take some pics tomorrow, i just did that over the weekend. Clean as hell. I'll also show you how much factory stuff came out.
2projects,
The ground from the CAS is black with like silver dashes down it, this wire actually is NOT with the normal CAS wiring. It ties into a shared ground with the TPS and the CLT.
The power is black with a solid white line, white line is the signal and the other small black don't connect.
If you cut and taped everything from the factory ECU i would verify that all the grounds are properly regrounded. But as was mentioned checking or swapping the CAS would probably be good.
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: ZiG at 8:05 PM 4/21/2008

| Quote, originally posted by ZiG » |
Actually the glove box works perfect if you leave a bit of slack in the wire and make sure you cut a big hole in the side. ![]() |
I did cut a hole- just not that big. I have the slack- so I'll probably go back with that. Thanks for the suggestion.
Post Title: Re: My experiences with Megasquirt (ZiG)
Posted by: 480sx at 10:08 PM 4/21/2008
| Quote, originally posted by ZiG » |
| I know you havent really liked/approved of my setup from the getgo, but there it is. |
What? Where did you get that from man..
Anyone with the balls to try MS and the skills to get it running is alright in my book. All i ever said was that i felt like you should have gone with MS2 i believe. I dont even think i said your setup was probably acquired through food stamp trades..
I mounted the case with zip ties up to the blower motor on the far left hand side of the passengers foot well. It was a pretty ideal spot, you could easily get to the com port and it was out of the way.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: 2projects2many at 6:19 AM 4/22/2008
| Quote, originally posted by 480sx » |
| I dont even think i said your setup was probably acquired through food stamp trades.. |
Now dat some funny $hit!
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: 2projects2many at 3:46 PM 4/22/2008
Make sure you have that right first.
So, your saying that you were able to get a cranking signal, then you changed your setup and now you cant get one.. It sounds like you might have had it right, then you messed it up. Are you sure your battery was fully charged when you got your 98 cranking rpms?
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: 2projects2many at 6:23 PM 4/22/2008
http://www.megamanual.com/index.html
This is how everyone else gets theirs to work. It gives you pretty much everything you need to know. Anything thats not KA specific has already been gone over and explained on this forum. You can also join the forum specifically for Megasquirt that has quite a few members.
http://www.msefi.com/index.php
Also, have you gone through and followed every procedure in the two part section of the mega manual for setup and tuning?
It sounds like you rotated your dizzy to far. Rotate it back the way you had it and you will probably pick a signal back up. You need to set your crank angle, so the MS knows where the engine is on its firing sequence.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: 2projects2many at 7:47 PM 4/24/2008
| Quote, originally posted by 480sx » |
| How many times have you read the mega manual and understood it? http://www.megamanual.com/index.html This is how everyone else gets theirs to work. It gives you pretty much everything you need to know. Anything thats not KA specific has already been gone over and explained on this forum. You can also join the forum specifically for Megasquirt that has quite a few members. http://www.msefi.com/index.php Also, have you gone through and followed every procedure in the two part section of the mega manual for setup and tuning? It sounds like you rotated your dizzy to far. Rotate it back the way you had it and you will probably pick a signal back up. You need to set your crank angle, so the MS knows where the engine is on its firing sequence. |
480sx, I read over 2-3x, but I can't say that I have it memorized. Additionally, regardless of how I rotate the distributor- there's always should be a signal- rotating it simply tells the computer when the engine is in position to send an ignition charge (thus explains "ignition timing") I'm not new to cars, nor their systems- just new to controllable fuel inj/ignition. I appreciate the ideas and info you've given. What confuses me is that I change out a diode and nothing- I short said diode out and than it works. I get out to recheck timing (adjust distributor) to see if I can get the spark on time & than no signal. There's either a problem on the board, bad connection in the pins/wiring, or possibly a bad distributor. I get another ordered for this weekend, and check it out.
Post Title: Re: My experiences with Megasquirt (2projects2many)
Posted by: 480sx at 9:34 PM 4/24/2008
Still it makes sense to try put everything back the way you had it when you picked up a cas signal and try again.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: 2projects2many at 6:34 PM 4/28/2008
Man can you just start another thread with a list of your problems so we can get this clutter out of this thread? This was meant to be a thread so people who had no idea about MS could come and read our stories, not listen to us try to trouble shoot random problems.
Post Title: Re: My experiences with Megasquirt (480sx)
Posted by: 2projects2many at 8:07 PM 4/28/2008
http://www.msextra.com/manuals...o.GIF
This was posted in the very first post in this thread, but the guys' car was a 91-94, and I know things changed in that generation a bit.
My god... I haven't posted in like 4 months... good to be back!
All input is appreciated by myself and of course whoever else squirts a SOHC.
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: ZiG at 5:42 PM 6/9/2008
So, if it's to be hooked up without the resistor/transistor circuit, it's just having the IGN OUT wire go straight to the tach? I'm kinda afraid to fry the tach if the signal's too strong without resistors...
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: ZiG at 7:41 PM 6/9/2008
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: sil80drifter at 10:39 PM 6/11/2008
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: ZiG at 10:48 PM 6/11/2008
So I'll take my positive coil wire and splice it off to the tach, but put in the resistor/transistor circuit in order for the tach to read correctly?
Or should I get the tach signal from another source, such as one of the wires that goes to the MSII? Such as pin 24 or pin 36?
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: ZiG at 11:46 AM 6/12/2008
Just wire it up exactly as I've shown and it'll be fine. You have to go into megatune and fine the 'tacho output pin' setting and look at it. It will say blah blah js0, blah blah make sure this pin isn't already in use, etc. Then enable it. Then open the case and find JS0 (it's on the bottom of the PCB). Now solder a wire from that spot to an unused pin on the plug for the harness. Since I bought the premade pigtail, I just soldered the wire to one of the iacv stepper motor wires since it's not in use. Then you connect that wire to the transistor circuit and to the wire leading to the tach, which you can just cut off the stock ecu plug and then it's right there.
Post Title: Re: A little input on the tach, please? (ZiG)
Posted by: sil80drifter at 1:11 PM 6/12/2008
I could technically splice off the resistor circuit off of the Negative Coil terminal and into the stock tachometer, right?
Your suggestion was mostly just so that I keep everything wired from the MS, correct?
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: sil80drifter at 2:17 PM 6/12/2008

sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: ZiG at 3:11 PM 6/12/2008
Oh, of course if you do it this way, and use a rev limiter or launch control, etc, your tach will go nucking futs whenever the limiter engages.
Seriously, I really think you should just wire it up the proper way, with the dedicated pin on the ms and the transistor circuit.
Post Title: Re: A little input on the tach, please? (ZiG)
Posted by: sil80drifter at 6:11 AM 6/13/2008
sil80
Post Title: Re: A little input on the tach, please? (sil80drifter)
Posted by: ZiG at 1:40 PM 6/13/2008
I just got my car to start and it appears I fried my ignition driver transistor. I am wondering if this could be the problem.

Post Title: Re: A little input on the tach, please? (Edub1)
Posted by: ZiG at 9:48 PM 11/28/2008
maybe you fried it because you didn't set the correct spark output inverted/not inverted setting.
Post Title: Re: A little input on the tach, please? (ZiG)
Posted by: Edub1 at 8:45 AM 11/29/2008
Post Title: Re: A little input on the tach, please? (Edub1)
Posted by: ZiG at 11:48 AM 11/29/2008
< Contact Us - NICO
>
Visit G37Driver.com for Infiniti G37 Information
NICOclub's Nissan forums and Infiniti forums and all affiliated sites are the property of HDS Holdings, Inc.
They are independent publications and are not affiliated with or endorsed by Nissan Motor Company or Nissan North America.
Information © Copyright © 2000-2009 by NICOclub
All rights reserved. Material may not be copied or reprinted without written permission.
Visit 370zclub.org for Nissan 370z Information