PDA

View Full Version : Aem wideband into ecu for logging.


mike55112
10-30-2009, 10:32 AM
I have my Aem wideband that I still have not hooked up into the ecu for easy logging. I cant seem to find the how to on hooking it up. I dont know what wire im supposed to splice into on my harness. Can anyone show me a link or just let me know which one its supposed to cut and splice.


Thanks in advance.

scheides
10-30-2009, 11:00 AM
http://forums.evolutionm.net/ecuflash/442619-important-ecu-thread-links.html :)

http://forums.evolutionm.net/ecuflash/337823-how-log-afr-lc-1-w-o-serial-cable.html

Log AFR data from the LC-1 (or Zeitronix) without a serial cable


Overview

The Innovate LC-1 wideband AFR measurement hardware includes both a serial cable output and a 0-5V analog output for reading the AFR data. The serial out is meant to be connected directly to a computer while the analog out was designed to be fed into an ECU. I never used the serial output, but always thought it would be a PITA. OTOH, reading the analog output via the ECU sounded perfect for the Evo because the data can be logged with EvoScan using the standard MUTIII protocol. A few people before me had already done this, most notably Bez and evo828. The knowledge required to this with USDM Evos was not available though, so with some help from the community, I assembled all the required info. The method I choose was to feed the LC-1 analog output data into the rear O2 ADC input on the ECU. Instructions are below. Please read everything before getting started. Note: ECUFlash is required to accomplish the job.


ECU Pins

Before getting started, be sure that you have a few female ECU pins handy. The pins for Evo 8s are widely available. Jack_of_Trades has posted the part number on this *page* (http://www.dsm-ezine.com/evoVIII_adc_switch.html). (You'll need to scroll down a little ways to find the pin part number.) Jack_of_Trades has the only pins available pretty much across the entire world for the Evo 9. You can get the pins from him *here* (http://forums.evolutionm.net/showthread.php?t=341523).


Hardware Modifications

1) Install the LC-1 if it is not already installed. Proper grounding is key for accurate AFR readings when using the analog output #2. Fortunately, proper grounding is pretty easily accomplished on the Evo because the ECU is grounded to multiple locations on the car. The ECU is grounded directly to the driveshaft tunnel just in front and to the right of the shifter assembly. There is a bolt about 5 inches in front of that bolt that attaches the airbag electronics tray to the chassis. The heater ground wire can be installed there. I grounded the analog output ground and system ground separately by drilling a hole into the chassis about two inches below the bolt for the heater ground. Sand off the paint on the chassis before attaching the ground wire lugs.

2) Find the rear O2 pin on your ECU harness, remove it, and tape it back out of the way. Jack_of_Trades has instructions on this *page* (http://www.dsm-ezine.com/evoVIII_adc_switch.html) (again scroll down) on how to do the removal and install for the Evo 8. Instructions for the Evo 9 are *here* (http://forums.evolutionm.net/showthread.php?p=5518639). Pinout diagram for the USDM Evo 8 is *here* (http://www.roadraceengineering.com/evo/tech/EVO-ecuwiring.htm). The diagram for the Evo 9 is *here* (http://forums.evolutionm.net/showthread.php?t=313670).

3) Attach the female ECU pin to the analog output #2 wire on the LC-1. Its the brown wire. I strongly suggest soldering and crimping the wire to the pin. Soldering helps insure that the wire will not accidentally be pulled from the pin while its in the ECU plug.

4) Install the pin into the plug.


ROM Modifications

My rear O2 sensor simulator code needs to used. This is needed so that the rear O2 ADC input can be made available for the LC-1 analog input. There are two ways to do this. A) tephra has incorporated this code into his latest v5 ROMs, or B) for people who do not want to run his ROM, there are instructions for applying the rear O2 sim patch to either the 88590015 ROM or the 96940011 ROM. There are no current plans to port it to any other ROMs as tephra already has it in his patched ROMs.

Option A - tephra ROM

1) Get a copy of tephra's v5+ ROM, and move all your altered tables over to the tephra ROM.

2) In ECUFlash, find the MUT12 address in the MUT table. If the MUT table is not listed, then it will have to be added to your ECUFlash definition file. A thread listing the MUT table definition for most ROMs is *here* (http://forums.evolutionm.net/showthread.php?p=5519706). Change MUT12 to 8409. (You'll have to enter it as 0x8409.) Save the ROM and upload it to your ECU.

Option B - Apply rear O2 sim patch yourself.

1) Patching instructions for the 88590015 ROM are *here* (http://forums.evolutionm.net/showthread.php?p=5353216#post5353216), and l2r99gst has ported my instructions to the 96940011 ROM *here* (http://forums.evolutionm.net/showthread.php?t=333820).

2) Next, choose a new RAM address for the rear O2 ADC input. For the 88590015 ROM, add the following entry to your "88590015.xml" ECUFlash file:

<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="c2be" type="1D" level="1" scaling="Hex16"/>

For the 96940011 ROM, add the following entry to your "96940011.xml" ECUFlash file:

<table name="Rear O2 (ADC 0A) RAM variable" category="Rear_02" address="a676" type="1D" level="1" scaling="Hex16"/>

Then launch ECUFlash, open the 1D table, and change the value to 8408. (You'll need to enter it as 0x8408.)

3) Next, in ECUFlash, find the MUT12 address in the MUT table. If the MUT table is not listed, then it will have to be added to your ECUFlash definition file. A thread listing the MUT table definition for most ROMs is *here* (http://forums.evolutionm.net/showthread.php?p=5519706). Change MUT12 to 8409. (Again, you'll have to enter it as 0x8409.) Save the ROM and upload it to your ECU.


Setting up EvoScan

Add the following entry to your EvoScan (2.1) "Data.xml" file:

<DataListItem DataLog="Y" Color="" Display="Wideband AFR" LogReference="WideBand" RequestID="12" Eval="0.05859*x+7.35" Unit="AFR" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="22" ChartMin="0" ChartMax="22" ScalingFactor="1" Notes="" Priority="1" Visible="false" />

If the stock LC-1 settings for the analog output #2 are being used, everything is ready to go. If you to change the AFR range represented by 0-5V to get better resolution, then you'll need to update the scaling formula in the EvoScan definition. For instance, if a range of 9.0 to 17.0 is used, then the scaling formula would be:

(17.0-9.0)/255*x + 9.0 = 0.03137*x + 9.0

That's it.



You will need to find (or calculate yourself) the correct scaling for your AEM vs the LC-1 settings though. Search through that thread and feel free to post them here if you find some that work.

mike55112
10-30-2009, 11:42 AM
Im just going to get it hooked up, then kasey is going to help me setup witht he computer side of it. I found the instructions for aem. I just dont know what wires to tap into on the ecu harness.

http://www.carbide-red.com/pdf/aem_uego_30-4100.pdf