It is currently Wed Feb 11, 2026 8:10 am
Board index » Talking About Stuff » Suzuki Talk



Post new topic Reply to topic  [ 20 posts ] 
Author Message

Offline

Joined: Thu Jun 30, 2011 10:33 am
Posts: 49
Location: Townsville

Post Posted: Wed Dec 12, 2012 9:05 am 
Reply with quote Top  
Hi all.

Couldn't find anything on this site (or others) about putting a megasquirt on these motors. I'm about to start the whole project, will be a while to get to a running engine as I have to transplant it into a Sierra first. And I have plenty of things I have to do to the Sierra before that happens (body work, sound deadening, reassemble the interior...) :( But I will either update this post, Or the thread, which ever is suitable, throughout the process. And I'm hoping, that by the end of it, with a few revisions, that it will be an easy to follow, almost step by step guide to installing a MS2 on a G13BB engine.

I'm not any authority on megasquirt, Suzuki's, or tuning. Just want to relay what I learn, and hope that it helps someone else.

Why am I doing this to a plain old Suzuki? Because I can. I like tinkering with stuff, I like electronics, I love learning new things. I've never done anything like this, closest I have done is rejetting carb's on my bike. So it's been an interesting learning curve.

I will be using a Megasquirt 2, v3 board, running MS/Extra firmware. Learn more at http://www.megasquirt.info/ Basically, the MS2 is an Engine management system (EMS) or an Engine control unit (ECU) that you assemble, install, and tune yourself. It has an 'auto tune' feature which is nice. It can also handle damn near any engine. MS systems are installed in a few record setting land speed record cars, also a lot of drag cars, jet boats, track cars.. It will run 99% of internal combustion engines. V10's, V12's, W16's.. Just the level of build/addons/extra's changes. Forced induction, launch control.. It has all the functions of the 'big' name brand ECU's, but at half the cost..
If you have an android device, you can also have a 'dash' or complete readout on the device, and can even make tuning changes from it. No wires needed. All done by Bluetooth :D (I have no affiliation, with MS or anyone else. Just like their systems)

Anywho. For the sake of anyone else's sanity, ill give up the info that has taken me dozens of hours trawling the Internet to find.

Ok, the motor. (this is from the 99 Jimny, there are a few versions of the G13BB, I wont go into them all here) 1.3ltr, SOHC, 4 cyl, twin coil running 2 spark plugs each in a wasted spark setup (both sets of spark plugs fire (1&3, 2&4), but only 1 plug is igniting the fuel, the other plug sparks on the exhaust stroke). 4 injectors. There is only 1 trigger wheel, at the back end of the camshaft (on other versions of this engine, there is also a crank sensor)

Now, the bit I had a lot of trouble with. The trigger wheel. For Injection and spark timing, the ECU needs to be able to tell where the engine is in the rotation, where the cylinders are in the stroke pattern. This is done with a trigger wheel and sensor, the wheel has teeth, or holes, that a sensor pics up, that indicate the different positions the engine is in, TDC, BDC, 15* past TDC etc.. These wheels can either be on the crankshaft, or on the cam, or sometimes both.
This simulates the 'points' system on older engines. More modern engines that still use a distributer will have 'electronic points' which act like the OLD points, but with modern sensors. Anyway..

On this engine this timing/triggering is done by a VR sensor (http://en.wikipedia.org/wiki/Variable_reluctance_sensor) and a toothed wheel attached to the end of the cam shaft, where the distributor is on the older engines.
The Suzuki trigger wheel is a strange config, total of 11 teeth. 3 pairs of 2 teeth close together, and 5 teeth spaced between them. This had me stumped. And I couldn't find any references to this type of trigger/tooth setup.

After hours and hours going through dozens and dozens of pages over about 3 or 4 days, I finally found this http://www.msextra.com/doc/ms2extra/MS2 ... Vitara.htm This is exactly what is on the G13BB, and apparently, the Vitara 2ltr, don't know the engine code for the Vitara. But that's not the point. The point is, Someone has already done the hard work in figuring out the tooth arrangement, and the wheel is natively recognized inside the
megasquirt code.
What this means is that it's essentially plug and play. Wire it all up, make the required changes to the ecu, select the right settings in the software and hey presto... IF it wasn't supported in this way. Then you would need to stuff around fitting other trigger wheels and sensors. Which can be a royal pain.

There are a few things that need to be done to the Megasquirt during the build to run this setup..

The G13bb uses High impedance (or High-Z) injectors. This is a good thing, LowZ injectors require extra circuits, and will generate a lot of electrical 'noise' that will mess with a lot of things. You don't need to make any modifications for this. Its just something you need to know :)
Depending on the source, These injectors flow between 170 and 190 cc/min. I THINK I have the 188cc/min injectors, so thats what im going with at the moment. May change this later on.

You will need to set the megasquirt up to control the idle control valve, or ICV, or IAC. The idle control valve on the g13bb is a or PWM valve.
Unfortunately, the IAC is a '3 wire', which isn't DIRECTLY supported by MS. BUT there is a simple circuit that you can build that will enable it to work.
Basically, 1 wire gets +12V, Another wire goes to ground VIA a resistor, the 3rd wire goes back to the MS to one of the IAC output pins. This page http://www.msextra.com/doc/ms2extra/MS2 ... .htm#Fidle
Explains what needs to be done, and how it works. Read the bit about "bosch 3 wire". The Jimny uses a Denso valve, but it works the same. Again, certain things are required to be done to the ecu during the build to run this PWM valve, and I won't go into it here.

You need to set it up as a VR sensor. NOT a Hall sensor setup. This is discussed in the build instructions so I won't go into it here.

With the ignition system running twin coils and a wasted spark, you need to do yet more modifications to the Megasquirt. The coils are what they call a "logic level", pretty much, they have a type of relay inside them, which only needs a small current/voltage to activate. "Normal" coils need a much greater current/voltage. With these 'logic level' coils, a very simple circuit needs to be built. The circuit required to run this setup is here http://www.msextra.com/doc/ms2extra/MS2 ... htm#5Vpull This will allow you to drive the 2 coils directly the same way the stock ECU does, firing one, then the other.

The engine has a MAP sensor (Manifold Absolute Pressure) which basically tells the ECU what load the engine is under, combined with other sensors, this is what tells the ECU how much fuel the engine needs. NOW there IS a way to use this sensor with the MS2. BUT the MS2 comes with a MAP sensor that you install into the ECU box. Im going to be using the MS2 sensor, until I get the car up and running well, THEN I will look into utilizing the stock sensor. Its pretty easy to wire in, but it needs to be calibrated, and if you get it wrong, it can cause all sorts of issues. So making the first start/run as simple as possible, Im leaving it until later.


Ok, So this is where I am up to at the moment. I have ordered the MS kit today. So I will begin the assembly once it gets here, and I will post the results :)

If I have missed anything, let me know, and ill do my best to get the info and post it up.


Last edited by Thruan on Fri Jan 04, 2013 4:03 pm, edited 1 time in total.
 Profile  

Offline
az supporter
az supporter

Joined: Sun Jun 25, 2006 11:30 pm
Posts: 2867
Location: here

Post Posted: Wed Dec 12, 2012 3:39 pm 
Reply with quote Top  
Man, that's some good tech.

Pity this wasn't posted up a couple of months ago, a mate of mine who is a gun ECU tuner has just moved from Townsville to Brisbane, I would have put you in touch with him.

_________________
greenzook89 wrote:
31zook wrote:
Makes me want something similar

 Profile  

Offline
az supporter
az supporter
User avatar

Joined: Tue Jan 09, 2007 10:30 pm
Posts: 7719
Location: Brisbane

Post Posted: Wed Dec 12, 2012 3:45 pm 
Reply with quote Top  
talk to JRzook and Damo.

both love their Megasquirt and electronics talk :D

 Profile  

Offline

Joined: Mon May 16, 2011 7:03 pm
Posts: 686
Location: Brinkworth, England

Post Posted: Wed Dec 12, 2012 10:09 pm 
Reply with quote Top  
I've yet to see a Jimny that didn't have a reflashable ECU as stock; the earlier models have a 16-bit 160-pin dual core processor.

 Profile WWW  

Offline

Joined: Thu Jun 30, 2011 10:33 am
Posts: 49
Location: Townsville

Post Posted: Thu Dec 13, 2012 5:47 pm 
Reply with quote Top  
Yeah but that's not even close to being as cool as an aftermarket system :p

 Profile  

Offline
User avatar

Joined: Thu Feb 26, 2009 10:30 pm
Posts: 12993
Location: Melbourne

Post Posted: Thu Dec 13, 2012 8:18 pm 
Reply with quote Top  
Get back to us on that when you're sorting cold start. :D

Steve.

 Profile  

Offline

Joined: Thu Jun 30, 2011 10:33 am
Posts: 49
Location: Townsville

Post Posted: Fri Dec 14, 2012 11:21 am 
Reply with quote Top  
Righto :)

 Profile  

Offline

Joined: Thu Jun 30, 2011 10:33 am
Posts: 49
Location: Townsville

Post Posted: Fri Jan 04, 2013 3:49 pm 
Reply with quote Top  
Righto. Small update.. And updated the first post with some extra info. And made it easier to read. Damn iphones..

Got the Megasquirt kit, and the Jimstim (it plugs into the megasquirt, and can simulate the basic functions of an engine, RPM, TPS, etc etc its to make sure the MS is working)

Built the Jimstim first.. Pretty basic, took me about 2 hours with a shit soldering iron..

Then started on the megasquirt, I bought a quality temp controlled soldering iron, HOLY hell what a difference. It makes soldering so damn easy a kid could do it.
Took me about 6.5 hours total time to complete the kit with the 2 modifications I needed (Ignition coil circuit, and PWM idle valve circuit) Wasn't in a rush, And only had a small work area, so had to keep stopping to find the right components I needed in the big pile of bags.

After testing I realised I had been working off a shit diagram for the ignition circuits, so had some componants wired backward.. so fixed that..

Now its sitting on my desk, LED's flashing away... Cant do anything now until the engine transplant is complete.. Bodywork is almost done, hopefully by next weekend ill have it finished. Then the interior goes back in.. THEN the engine!! YAY.

Oh, and If your using the Jimstim with this type of ignition circuit running, the IGN LED's WILL NOT LIGHT! I fought with this for about an hour and a half before realising that they are wired 'wrong' for this setup. They require a ground on the ECU side to light up. This setup provides 5v NOT a ground. You can use the IAC LED's to show the ignition circuits firing though.
You jump one side of the LED to a Ground pin on the Jimstim board, and then jump the IGN/SPR4 pin to the other side of the LED (last 4 pins in the 10 pin header are for these LED's)
This wont make much sense to anyone that doesn't have the boards infront of them, but it will make sense for those that do :)


Last edited by Thruan on Fri Jan 04, 2013 4:12 pm, edited 1 time in total.
 Profile  

Offline

Joined: Wed Sep 21, 2011 9:09 am
Posts: 177
Location: melbourne

Post Posted: Fri Jan 04, 2013 4:11 pm 
Reply with quote Top  
Rhinoman wrote:
I've yet to see a Jimny that didn't have a reflashable ECU as stock; the earlier models have a 16-bit 160-pin dual core processor.


Any more info on this rhinoman?

What sort of numbers are these reflashed G13bb engines producing?

 Profile  

Offline

Joined: Mon May 16, 2011 7:03 pm
Posts: 686
Location: Brinkworth, England

Post Posted: Sat Jan 05, 2013 12:23 am 
Reply with quote Top  
gregc wrote:
Rhinoman wrote:
I've yet to see a Jimny that didn't have a reflashable ECU as stock; the earlier models have a 16-bit 160-pin dual core processor.

Any more info on this rhinoman?
What sort of numbers are these reflashed G13bb engines producing?


You won't get much from a reflash alone; usually around 5%, a tunable ECU is only really worthwile if you are running other mods. In a stock Jimny ECU there are something like 110 maps and dozens of other parameters that can be changed to get a good tune.

 Profile WWW  

Offline

Joined: Thu Apr 04, 2013 7:56 pm
Posts: 4
Vehicle: jimny

Post Posted: Thu Apr 18, 2013 8:17 am 
Reply with quote Top  
Any updates?

 Profile  

Offline

Joined: Sat Jan 05, 2019 7:06 pm
Posts: 14
Vehicle: '82 sierra with g13bb ms2 ecu

Post Posted: Sat Jan 05, 2019 7:09 pm 
Reply with quote Top  
Updates? Im doing much the same build

 Profile  

Offline

Joined: Thu Jun 30, 2011 10:33 am
Posts: 49
Location: Townsville

Post Posted: Sat May 25, 2019 7:04 pm 
Reply with quote Top  
Hey guys.. I'm back. This project didn't end up going ahead. We had to move house on short notice, couldn't take the donar Jimny with us, and didn't have the time to pull the motor..
Ran the stock 1.3carb for the past few years, but it's just developed a death rattle, so looking into swapping in a g16b.. Toying with the idea of using the mega squirt to run the motor..
I've forgotten/lost so much knowledge/info over the years, not sure if I want to dive head first into it all again :)
How did you guys go?

 Profile  

Offline

Joined: Sat Jan 05, 2019 7:06 pm
Posts: 14
Vehicle: '82 sierra with g13bb ms2 ecu

Post Posted: Tue Jan 07, 2020 5:31 am 
Reply with quote Top  
lol i took me almost 12 months to see you reply thruan!
For those interested, i have a sierra with a transplanted stock g13bb engine, running a microsquirt (megasquirt) ecu. running, except having trouble tuning as O2 sensor is either dodgy or incorrectly calibrated..
been on hiatis for the last 12 months but about to get back into it. Will keep people updated in this forum because its the first thing that pops up when you google g13bb and megasquirt.
Happy to share my tune file once i iron out some kinks.
Although Id LOVE it if someone who has squirted a suzuki before can share their files for reference. swift, jimny, anything.
-Tom

 Profile  

Offline

Joined: Mon Aug 15, 2016 7:37 am
Posts: 10
Vehicle: 1988 US Samurai

Post Posted: Mon Sep 21, 2020 2:18 pm 
Reply with quote Top  
Majortob wrote:
lol i took me almost 12 months to see you reply thruan!
For those interested, i have a sierra with a transplanted stock g13bb engine, running a microsquirt (megasquirt) ecu. running, except having trouble tuning as O2 sensor is either dodgy or incorrectly calibrated..
been on hiatis for the last 12 months but about to get back into it. Will keep people updated in this forum because its the first thing that pops up when you google g13bb and megasquirt.
Happy to share my tune file once i iron out some kinks.
Although Id LOVE it if someone who has squirted a suzuki before can share their files for reference. swift, jimny, anything.
-Tom


I have a g13bb on Megasquirt. ...But i haven't done much tuning yet. I've only driven it around the neighborhood. I needed to rebuild the motor, i have a bad ring. I'd be happy to share my msq, but i doubt it has anything in that you haven't already figured out. Anyway I'll keep an eye on this thread to see how it goes for you!

 Profile  

Offline
newbie

Joined: Mon Jan 25, 2021 2:59 am
Posts: 2
Vehicle: 1986 Samurai

Post Posted: Mon Jan 25, 2021 3:11 am 
Reply with quote Top  
Bad Goat wrote:
Majortob wrote:
lol i took me almost 12 months to see you reply thruan!
For those interested, i have a sierra with a transplanted stock g13bb engine, running a microsquirt (megasquirt) ecu. running, except having trouble tuning as O2 sensor is either dodgy or incorrectly calibrated..
been on hiatis for the last 12 months but about to get back into it. Will keep people updated in this forum because its the first thing that pops up when you google g13bb and megasquirt.
Happy to share my tune file once i iron out some kinks.
Although Id LOVE it if someone who has squirted a suzuki before can share their files for reference. swift, jimny, anything.
-Tom


I have a g13bb on Megasquirt. ...But i haven't done much tuning yet. I've only driven it around the neighborhood. I needed to rebuild the motor, i have a bad ring. I'd be happy to share my msq, but i doubt it has anything in that you haven't already figured out. Anyway I'll keep an eye on this thread to see how it goes for you!

 Profile  

Offline
newbie

Joined: Mon Jan 25, 2021 2:59 am
Posts: 2
Vehicle: 1986 Samurai

Post Posted: Mon Jan 25, 2021 10:19 am 
Reply with quote Top  
Any progress Bad Goat?

 Profile  

Offline

Joined: Mon Aug 15, 2016 7:37 am
Posts: 10
Vehicle: 1988 US Samurai

Post Posted: Tue Jan 26, 2021 11:02 am 
Reply with quote Top  
I've got a good tune on it tune on it now. I still haven't rebuilt the motor though. Even with compression down at 170 it still has a good deal more mid-high range than original 1.3. Off the line power feels about the same though.


Edit* I am enjoying the easier cold weather starting !

 Profile  

Offline
newbie

Joined: Fri Nov 10, 2023 5:45 pm
Posts: 1
Vehicle: SJ500 1987 G13A w ITBs

Post Posted: Fri Nov 10, 2023 5:52 pm 
Reply with quote Top  
Bad Goat wrote:
I've got a good tune on it tune on it now. I still haven't rebuilt the motor though. Even with compression down at 170 it still has a good deal more mid-high range than original 1.3. Off the line power feels about the same though.


Edit* I am enjoying the easier cold weather starting !

Hi, I'm new here, I've a stock g13a with Yamaha R6 throttle bodies on and custom drive by wire ecu, all running on a MS3. I've been thinkering a lot with all the maps but still cant really figure out timings, that little engine wont knock even at 30 degrees it just feels lacking power. Would you mind sharing with me or us your ignition map?
Many thanks in advance (pun intended) :D

 Profile  

Offline
newbie
User avatar

Joined: Mon Apr 07, 2025 1:59 am
Posts: 1
Vehicle: 1998 Zuki Alto sh410. G13BB

Post Posted: Mon Jan 12, 2026 3:21 am 
Reply with quote Top  
sorry to bring back an old thread but i'm currently tuning a g13bb myself except ive used speeduino which doesn't have a native vitara option. Anyone actually know what to put down for the trigger pattern? cheers all

 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 

Jump to:  


Who is online

Users browsing this forum: Google [Bot] and 58 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Untitled Document


Untitled Document


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC + 9:30 hours