Haltech E6X Install Guide

Maxx Mazda

Resident Asshole
Contributor
:
Completely Stock P5
E6X Installation Guide BJ Protege
Nick Holinski
This is meant to be a comprehensive guide on setting up the Haltech E6X for use on the BJ series Protege. May work with other models as well, however the ECU pin outs given are specific to the Protege. After seeing far too many other guides out there for the Haltech system that set it up incorrectly, I decided to put all of my notes down so that other users will be able to run this setup.

This guide will require you to have a fairly detailed understanding of first, how the Haltech works, and also how the FS' fuel and ignition systems function as they come from the factory. Please understand this is not "Haltech for Dummies" and you will need a good understanding of your car, as well as solid mechanical ability. If this isn't you, have a shop do this for you. This guide is designed to set you up running wasted spark sequential injection. I've spent a total of 3 years with the Haltech now, and learned lots about it. The manual is where I got all of my information, you will benefit from reading it in it's entirety.

Although there is a preset on the Haltech for the FS engine, it is reccomended that in addition to the Haltech and basic sensor pack, you also purchase the stepper motor for idle control, 3 bar MAP sensor, boost control solenoid, RA-10 reluctor adapter (for a much cleaner trigger signal, this makes initial setup and tuning FAR easier) as well as exhaust cam gear and cam position sensor (CMP sensor) from a 2001 Mazda 626. You will notice that this gear only has ONE home signalling device, instead of 3. I will show you how to set up idle control using the stock IAC valve, however the stepper motor is still reccomended. Obviously a wideband O2 sensor is a must, and you will retain ONE stock O2 sensor for the operation of the Haltech in closed loop mode. It is also reccomended that you have the Protege shop manual and wiring diagram. This will make your life much easier. Of course, any wires that are left open should be capped with heat shrink. I'm not going to tell you how to read a manual, you need to be familiar with wire colors (B/Y = black with yellow stripes for example.) Also, after cutting a wire, there are generally two sides. The harness side (out to the car or sensors) and the ECU side. Pretty self explanitory.

I reccomend solder and heat shrink for ALL electrical connections. Do not use crimp connectors! These come loose easily! Take your time and connect everything properly. Begin by disconnecting your battery! Then, select a location for the ECU. I mounted mine under the center console, forward of the cupholders. It fits well there, and is isolated from vibration. Also, it is easily grounded, and the PC comm cable can be run freely to a location of your choice. Next, install your intake temp and coolant temp sensors. I put the coolant temp sensor in the water neck near the stock sensor, and the intake temp sensor I put directly in the intake manifold. It's important to have it as close to the cylinder head as you can get it, to achieve the most accurate reading. (After any methanol sprayers, etc.) This would also be a good time to install a nipple for the Idle stepper motor in the manifold. You will need a second nipple PRIOR to the throttle body as well. (Once again, if you do not know how to do this, STOP and have a shop do it for you. I'm not going to show you how to remove / install the intake manifold!) Skip the last step if using the stock IAC valve. Next, mount your MAP sensor and boost control solenoid. I mounted both on the firewall, close to the intake manifold. Connect the vacuum lines to each as per the manual. Remove the passenger side kick panel and expose the stock ECU and harness. Run your Haltech free leads down to this area, this is where most of the focus will be. There is also a spot to run your wires to the engine bay once the time comes.

I can not stress enough how important it is that you understand the various inputs and outputs of the Haltech. I will show you how to run and tune the car with this manual, and briefly touch on some "special" features that can be utilized by the outputs, etc. but the Haltech manual is very detailed in this respect, and due to the differences of equipment on everyone's cars, it is impossible for me to guess if someone is using an output for air conditioning, or anti-lag and methanol injection control. This is why it is vital that you understand what you are doing BEFORE you begin. Once again, I can not stress enough how far PROPER PLANNING goes in this respect. Take notes, draw diagrams, do whatever it takes. On with the install:

Haltech Power:

We will begin wiring the Haltech ECU into the car. The stock ECU is going to be "taken out of the loop" so you will not be able to pass inspection if this matters to you, and you will have a CEL all the time, however I will show you how to eliminate this. The stock ECU will be retained for mundane functions, such as running the stock tachometer, water temp gauge, fuel gauge, alternator, etc. So far there is no way around this, unless you choose to go with a standalone dash of some sort.

Start by running your power, ground and ignition wires. I have a completely seperate fuse box in my car JUST for aftermarket equipment which has some battery hot wires and some ignition hot wires to choose from. I used this method, so that everything aftermarket can stay on its own protected circuit, but if you choose to go directly to the battery, run the +12V to the battery, the grey +12V IGN to the light blue wire in the steering column, and the ground to a good chassis ground. It goes without saying that these connections are extremely important, and you want the Haltech to have it's own dedicated source, not shared with anything. If you choose to use a different wire for the "switched 12V" make sure it has power while cranking. The blue wire in the column satisfies this. Please refer to your wiring diagram supplement for other possible colors and locations.

Clip ECU (pin 2) and cap both ends. This is the MIL (check engine light) output. The light will not come on with this wire clipped.

Fuel Pump:

You have two options for the fuel pump. You can let the stock ECU control it, or have the Haltech do it. There really isn't much benefit to either way, but I like having the Haltech do it all, plus you'll then know when the "barometric correction" has been completed before start. (See Haltech manual for explanation on this.)

Because the fuel pump request signals on bot the Haltech and stock ECU's are already the "switched ground" type (like all outputs on the Haltech) we don't need to use the Haltech supplied relay for the fuel pump. We simply need to take the Haltech's "pump request" wire and wire it in place of the stock "pump request" wire. To do this, cut the Haltech (BLK/YLW) wire (pin 33) and attach the ECU side to the harness side of the Stock (VLT) wire (pin 80.) That's it. You may remove the 20A fuel pump relay fuse supplied with the Haltech. Another benefit to this method is that because we haven't used the Haltech suppled relay, and have stuck with the stock relay, the jumper connection in the diagnostic port under the hood will continue to function normally, allowing us to run the fuel pump at any time we choose to bleed the system after changing injectors, etc. (Refer to the Mazda FSM for more information.)

Fuel Injectors:

On the Haltech injector harness, you'll see 5 wires. One is for injector +12V constant (RED/GRN) while the 4 others control the injectors themselves. The stock ECU works on the same principle, so we can use the stock Power to the injectors from the stock harness. This is powered by the main relay itself, so the stock ECU has no control over it. You may cap the (RED/GRN) wire on the Haltech. The other 4 wires are labeled INJ #1, INJ #2, etc. It's important to note that these are numbered in FIRING ORDER not the order of the injectors themselves. For this reason, double check all of your colors and pin locations against the following. Snip the stock ECU wires at pins 74, 75, 100, and 101. They are colored (BLK/YLW) (BLK/RED) (GRN/BLK) and (BLU/ORG) respectively. Cap the ECU ends.

All Haltech connections are made to the harness side on the stock wiring.

Connect Haltech (LT BLU) to the stock (BLK/RED) (pin 75) wire.
Connect Haltech (LAV/RED) to the stock (BLK/YLW) (pin 74) wire.
Connect Haltech (GRN/RED) to the stock (GRN/BLK) (pin 100) wire.
Connect Haltech (PIINK) to the stock (BLU/ORG) (pin 101) wire.

That's it for the injector harness.

Ignition:

The E6X only has the capability to drive two ignition outputs when used in a sequential injection setup on a 4 cylinder engine. For this reason, we will be running two coils on a waste-spark setup like stock.

Much like the injectors, the coils will be charged by the stock harness, and fired by the Haltech. We only need to use two of the wires from the ignition harness.

Connect Haltech (WHT/BLK) to the stock (WHT) (pin 52) wire.
Connect Haltech (LT GRN) to the stock (RED) (pin 26) wire.

That's all we need to do for the ignition.

Throttle Position:

Since the Haltech allows us to calibrate the TPS sensor input, we can use the stock signal coming from the stock TPS sensor. The TPS wire is (BRN/YLW) (pin 89) on the ECU. Snip it, and cap the ECU end.

Connect Haltech (WHT) to the stock (BRN/YLW) (pin 89) wire. The other two haltech wires in the TPS harness are not used, and may be terminated.

Misc. Sensors:

At this point, some wires need to be routed through the firewall grommet, into the engine bay. These wires will differ depending on any extra PWM outputs you may be using, or any accessories you are installing, however a few are required to be run regardless.

- Trigger Input loom
- MAP sensor loom
- Coolant temp loom
- Air temp loom

It is important to note which additional looms you may want to run into the engine bay, some may include:

- PWM outputs (boost controller, methanol injection, etc.)
- Idle speed motor loom

This is where proper planning is important. Know what you want to hook up, and where it's going. After all wires are run through the firewall, connect them to their various sensors as per the Haltech wiring diagram. Each loom is color coded to the plug that you build for it, it is very simple. Leave the Trigger Input loom open for now, we will get to it later.

Idle Speed:

There are three available methods for controlling idle speed. One, is to let the stock ECU continue to control it, in which case no action is required. The second, is to use the stock BAC (bypass air control) valve, and allow the Haltech to control it. The third (and reccomended) is to use the Haltech stepper motor for idle control. The last two are explained below:

Using stock BAC valve:

In this instance, you will need to use a PWM output to oscilate the solenoid, and can either power the solenoid via the stock ECU, or by using the +12V PWM output from the Haltech. Either option is acceptable. The IAC valve has two wires, (BRN) and (GRY) going to ECU pins 54, and 83 respectively. The brown wire provides the constant power, and it is left alone. The grey wire is the switched ground wire used to oscilate the solenoid to control your idle. Snip the (GRY) (pin 83) wire and cap the ECU end. Connect a PWM output wire to the grey wire, and take note of which output is used. You will set up that PWM output as a "BAC Valve" and set the period to 55ms for the stock Mazda solenoid. Then you can adjust your idle RPM settings etc within the idle setup. Alternatively, you may use the Haltech suppled +12V wire connected to the stock brown wire, if you wish for the Haltech to supply power to the solenoid, and not the stock ECU. Refer to your manual for further details.

Using Haltech 4 wire stepper motor:

The Haltech has a dedicated harness for the stepper motor, and the connector for the stepper motor includes a color coded wiring diagram, where the colors of the Haltech wires are simply matched up. The location of the motor and housing are of your choice. The input and output vacuum lines are connected to the suppled brass nipples that you installed earlier.

MAP Sensor:

The Haltech may be run off of it's own internal 1.5bar MAP sensor, however running an external 3bar sensor provides more headroom for higher boost levels, and a much faster response time since there is no long vacuum line to run inside the cabin to the ECU. Like the idle controller, the Haltech has a dedicated loom of 3 wires, color coded for the MAP sensor. Build your plug accordingly and connect. Refer to your manual for further details.

O2 Sensor:

This section pertains to the use of a stock narrowband sensor, used only for closed loop tuning. If you choose to attach a Wideband for closed loop tuning, be aware that this is considered a "waste" of the wideband's output. The stock narrowband sensors work great for controlling closed loop fuel mixtures.

The Haltech O2 loom has three wires. We are only concerned with (pin 2) the O2 signal wire. The stock ECU will be used to power and heat the stock O2 sensor. It is your choice if you want to use the signal from the stock primary or secondary O2 sensors. Both sensors are exactly the same. If one is used, the other may be removed completely.

Clip the stock ECU (PNK/BLU) wire (pin 60) for the primary O2 sensor, or the (YLW/BLU) wire (pin 35) for the secondary sensor. Cap the ECU ends, and connect the Haltech O2 Sensor wire (pin 2) to the harness side of the snipped wire.

In the O2 sensor setup page, set it as a narrowband sensor (0-1V) with the stoich voltage around 580mV. You will need to adjust this value for yourself! Each car is different, and even a change of 10mV can make a big difference. Of course if you did use a wideband output for this, set it to wideband and adjust the voltage accordingly. Refer to your manual for further details.

Spare A/D:

This is the spare Analog/Digital input. It is a simple 0-5V input, and may be used for anything from a second trim controller, to a wideband hookup for datalogging. I like using it for datalogging from my wideband. Simply hook your wideband's output into the "spare A/D" wire, and you will be able to see the output voltage and log it in real time. Refer to your manual for further details.

Coolant / Air Temp:

Covered previously. Self-explanitory installation and hookup.

Road Speed:

Generally this is not used. I have been unable to find a way to make the road speed signal work reliably with the Protege, using several sources of input. Cars with ABS seem to have a much harder time getting a good enough signal for the Haltech, as each wheel has its own individual speed sensor. Vehicles without ABS use a gear-driven sensor, and may have better results. The road speed input is simply for datalogging purposes, and serves no practical function on the E6X. On the E8 however, speed based boost control, etc is available.

Trim Input:

The trim input can be used with a Haltech trim knob to control a multitude of features, such as boost, fuel trim, ignition trim, etc. Installation is self explanitory, and setup is covered in detail in your manual.

Aux In:

This is covered in great detail in the manual, however I will explain in a later section how to setup the Haltech to control the Protege's Air Conditioning. I have used the Aux In for many features, including anti-lag, and a/c request. As always, you'll need to have done your homework and decided which of the multitude of choices you've opted to use your Aux In. for. As always, refer to your manual for details.

Trigger Input:

At this point, you should have the Haltech pretty much hooked up with the exception of this loom. As I mentioned previously, it is STRONGLY RECCOMENDED that you use the Haltech RA-10 reluctor adapter. This will save you a multitude of headaches down the road. The stock sensors are a reluctor type, and the RA-10 converts them to a hall effect signal. (Changing stock Analog signal to Digital.) The digital signal is not prone to interference or distortion like the stock analog signal. The RA-10 comes with its own instructions, which are very simple to follow, so I will not cover it's installation here. However, I will go over the "basic" installation, for those that choose to do so, however be aware this is not the preferred method, and may lead to problems with ignition and fuel delivery at high RPM's.

There are 4 wires contained in the shielded trigger input loom. Two grounds, a home, and a trigger. The trigger wire tells the ECU when the crank has passed its reference point, (this happens twice per revolution) and the home wire tells the ECU when the cams have passed their reference point. (This happens once per revolution.) It is reccomended that the sensors be shared and not completely hijacked, since we're using the stock ECU to run the alternator, or control idle or A/C, gauges, etc. All of the following connections will be taps into the existing wires.

We'll be dealing with two connections here. The home signal will come from the cam position sensor, and the trigger will come again from the crank position sensor. If you don't know where these are, or what they are, stop now, you're in over your head.

The CKP sensor (crank) has three wires, and the CMP (cam) sensor has two.

Tap the shielded (YLW) wire into the CKP (ORG/BLK) wire.
Tap the shielded (BLU) wire into the CKP (BLK) wire.
Tap the shielded (GRN) wire into the CMP (GRN) wire.
Tap the shielded (RED) wire into the CMP (BLU) wire.

If you're using the RA-10 as reccomended, here is the breakdown of the wires on the Protege.

CKP Sensor:

(ORG/BLK) = Trigger Signal
(BLK) = Trigger Ground

CMP Sensor:

(BLU) = Home Ground
(GRN) = Home signal

Wiring the RA-10 can't get much easier than that.

Additional Outputs:

The Haltech has a multitude of inputs and outputs, a few of which I will touch on here.

Anti-Lag:

You'll need to have the Aux In. line connected to a switch, which is then connected to a good ground. Whenever the switch is armed, as long as all of the anti-lag parameters are satisfied, your anti-lag system will be activated. Please note this also uses a PWM output, although there is no physical connection to any of the PWM wires. As always, refer to the Haltech manual for further details.

Cooling Fans:

The Protege has two fans. One is a cooling fan, the other is for A/C if your car is so equipped. I use both driven off one PWM output to cool the car even faster than just one fan alone. Remember, this is only activating the relay, so you're not pulling any current through the Haltech.

The cooling fan ECU pin is (RED/BLK) (pin 47) and the A/C fan is (GRN/WHT) (pin 45.) Cap the ECU ends of these wires, and connect both or just one to a PWM output wire. Then setup the PWM as a cooling fan, and set your desired temperatures. Guess what? Refer to the Haltech manual for further details.

Boost Control:

Can be used in conjunction with the trim knob for on the fly boost level adjustment, or used based on a preset map. Using the Haltech boost solenoid, connect a PWM output to the negative side, and the PWM +12V constant to the positive side. Instructions are included with the boost control solenoid.

Air Conditioning:

The Haltech requires the Aux In. as well as a PWM output. The Aux In. will be the A/C request, and the PWM output will be that A/C activation. It is possible to wire it up so it will perform just like factory. Connect the Aux In. wire to (GRN/BLK) (pin 41) and connect an available PWM output to (BLU/BLK) (pin 96.) Of course, make these connections at the harness side, and cap the ECU sides. Setup your PWM parameters to your specifications in the PWM setup menu.

Summary:

That pretty much takes care of the hardware side of things, re-install the stock ECU, run are wires neatly and out of the way. Double, even triple check all connections, make sure all connectors are plugged in properly, and everything is buttoned up. As a last step, re-connect the battery and wait a minute or so to make sure there are no strange noises or burning smells. If you're sure your car won't burn down, we can continue. The next section will cover initial power-up, and setup.

 

Attachments

  • Haltech Install Guide.doc
    21.6 KB · Views: 426
nice MAXX, much appreciated. i just need the RA-10 and 626 cam gear now to do sequential injection. the RA-10 takes the place of the 626 cam sensor right? it converts BOTH home and trigger from analog to digital correct? did I read that right?

the below paragraph was kinda confusing because the first part says RA-10 is recommended.... Then the last sentence says there will be fuel delivery problems at high RPM.... sorry for "knit picking" but I dont wanna **** this up. Heres the quote:

"As I mentioned previously, it is STRONGLY RECCOMENDED that you use the Haltech RA-10 reluctor adapter. This will save you a multitude of headaches down the road. The stock sensors are a reluctor type, and the RA-10 converts them to a hall effect signal. (Changing stock Analog signal to Digital.) The digital signal is not prone to interference or distortion like the stock analog signal. The RA-10 comes with its own instructions, which are very simple to follow, so I will not cover it's installation here. However, I will go over the "basic" installation, for those that choose to do so, however be aware this is not the preferred method, and may lead to problems with ignition and fuel delivery at high RPM's."
 
Last edited:
The 626 gear AND sensor are required regardless if you run the RA-10 or not. The RA-10 is not required, but makes tuning much easier. The E6X has a rudementary "built in" type of reluctor adapter, controlled by your motronic filter settings. The RA-10 (or RA-8) does this all for you, so the Haltech doesn't have to. Mount the RA-10 as close to the sensors as possible, like on the frame bseide the pickups. Then, set the dip switches properly (I believe 4-4 is best for the FS) and voila. THe setup in the software needs to be changed, but I'll walk through that in then ext installment.
 
The RA-10 basically has 6 wires. Input A +/-, Input A out, Input B +/-, input B out. So you'll run 2 wires from each sensor (cam and crank) to the pos and neg of the inputs on the RA-10. Then you simply attach 2 wires to the haltech. Output 1 for trigger (crank) and output 2 for home (cam.)
 
I have my RA10 mounted and the power wires soldered with a 10amp fuse. I am now routing the sensor wires and should be done soon. Do you have the software settings for this set up?
 
since you recommend replacing the stock iac valve with the haltech stepper motor, was idle control poor when using the haltech to control the stock iac valve? im assuming you tried that since you are recommending replacing it.

thanks
 
since you recommend replacing the stock iac valve with the haltech stepper motor, was idle control poor when using the haltech to control the stock iac valve? im assuming you tried that since you are recommending replacing it.

thanks

The Haltech can control the stock IAC easily, but takes two PWM outputs (out of 4) to control it. One would be control, the other would be slave. The benefit of having the stepper motor is the Haltech already has a four wire out put and control screen for it. So its just more user friendly and frees up the PWM's for other things like anti-lag, NOS, launch control and all the other important stuff you might want.

From my experience, I have ran it both ways and prefer the stepper for reasons mentioned above. With two fuel pumps, two thermo fans, an external water pump... I need all the outputs I can get.

(just my 2 cents) I'm sure Maxx can add some more info here.
 
The Haltech can control the stock IAC easily, but takes two PWM outputs (out of 4) to control it. One would be control, the other would be slave. The benefit of having the stepper motor is the Haltech already has a four wire out put and control screen for it. So its just more user friendly and frees up the PWM's for other things like anti-lag, NOS, launch control and all the other important stuff you might want.

From my experience, I have ran it both ways and prefer the stepper for reasons mentioned above. With two fuel pumps, two thermo fans, an external water pump... I need all the outputs I can get.

(just my 2 cents) I'm sure Maxx can add some more info here.

thanks for the quick reply.

i understand the haltech can control the stock iac valve and i also understand how it controls it, but from how i interpreted the write-up was that the stepper motor is the end all solution. to me that says it performs much better with the stepper motor than the haltech controlling the stock iac valve.

currently i am allowing the stock ecu to manage the stock iac valve but the idle is not as stable as i would like. i have strict emissions here in texas and try to change as little as possible (everything has to be swapped back to stock for testing). So keeping the stock iac valve and allowing the haltech to control it appeals to me more than replacing the stock valve with the stepper motor and having the haltech control it.

Which led me to the question, are there issues with using the stock iac valve and having the haltech control it. I rather not waste my time if its not going to be solid and then have to do more work adding the stepper motor. But apparently it works just fine when you tried it?
 
Last edited:
Where can I find the RA-10? I'm going to use this install guide to re-wire my E6X because I picked up a 626 exh gear and really want to run sequential. I was going through spark plugs quickly last summer.
 
Answers to all questions:

The stock IAC works fine, but the oscillation period required by the haltech makes it a bit... "noisy" as it cycles. To correct Signature sound, you only need one PWM output for the stock IAC valve. It is not set up in a "slave" type arrangement. Simply use a PWM output on the negative side, and the Haltech +12V sensor supply, or let the stock ECU continue to supply it. Basically, as per the instructions, you can connect it using only one wire from the Haltech. Easily reversible, if need be.

As for what is preferred, the stock IAC works just fine, however like I mentioned it is a bit noisy(er) than stock. Playing with the oscillation frequency might remedy this, I didn't experiment too much. The stepper motor frees up a PWM output, and provides an alternate method of idle control. Different people have different needs, for some the stock IAC might be the better solution.

The RA-10 is available from Haltech.

On another note, I aploagize for the delay in getting the setup guide out there, but I have more on my plate than you can imagine right now... I promise it is coming!
 
Answers to all questions:

The stock IAC works fine, but the oscillation period required by the haltech makes it a bit... "noisy" as it cycles. To correct Signature sound, you only need one PWM output for the stock IAC valve. It is not set up in a "slave" type arrangement. Simply use a PWM output on the negative side, and the Haltech +12V sensor supply, or let the stock ECU continue to supply it. Basically, as per the instructions, you can connect it using only one wire from the Haltech. Easily reversible, if need be.

As for what is preferred, the stock IAC works just fine, however like I mentioned it is a bit noisy(er) than stock. Playing with the oscillation frequency might remedy this, I didn't experiment too much. The stepper motor frees up a PWM output, and provides an alternate method of idle control. Different people have different needs, for some the stock IAC might be the better solution.

The RA-10 is available from Haltech.

On another note, I aploagize for the delay in getting the setup guide out there, but I have more on my plate than you can imagine right now... I promise it is coming!

Slave was the only way i could get mine to work properly. Here are two threads from the Haltech forums:
http://forums.haltech.com/viewtopic.php?f=11&t=6003
http://forums.haltech.com/viewtopic.php?f=11&t=4995

Here is where I got my RA10 from:
Dealer Ludwig Motorsports
Location 5200 Edwardsville Galena Road, Floyds Knobs IN 74119
Contact Chris Ludwig
Phone 502 515 7482
Fax -
Email ludwigmotorsports@insightbb.com

He was the cheapest I could find. $142 shipped! He also supports what he sells. No rushing you off the phone, and has a real passion for helping people out.
 
You only got it to work as slave because you had it wired wrong. The bac slave setting reverses the polarity of the signal. Had the wires been switched, it would have worked normally.
 
Just ordered an RA-10 from ludwig motorsports! Thanks for the info signature sound. Talked to Chris on the phone for a few minutes too. He is a cool guy and knows his stuff.
 
Sorry guys! Almost there (I know, been saying that for awhile) but I haven't even been able to touch the car in about three weeks! Too much work between my job, life at home, dirtbiking etc.
 
Back