Page 1 of 3 123 LastLast
Results 1 to 15 of 44

Thread: AutoProm ADC Interface Channels Set up in TunerPro!

  1. #1
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477

    AutoProm ADC Interface Channels Set up in TunerPro!

    The Moates Autoprom is an all in one Chip Tuners dream tool! Not only a data logging cable, chip burner and emulator but also has a three extra channels from a ADC input for wide band O2 sensors or whatever you need. This article will be how to set up those three channels into your ADX file for TunerPro RT V5.

    For more information on the AutoProm check out the Moates site at:
    http://www.moates.net/apu1-autoprom-...b-version.html

    Basic need for the extra channels is to log your wide band O2 sensor in same log file. But with three channels you can run a wide band O2 sensor for each side of a V8 engine and still have one left over for extra IAT/MAT sensor to measure before and after boost air temps!

    So lets start with the APADC wire inputs, looking at back of AutoProm they are Channel 3, Channel 2, Channel 1 and Ground next to the USB cable. If you have a wide band O2 sensor setup already with a gauge or data log cable you can run a ground wire from same ground lug on engine block into car for use with the AutoProm, one ground will cover all three circuits.



    Load your ADX data logging file in TunerPro and click on Acquisition, Edit Definition.



    Or the 2 gears to Edit ADX.



    First thing we have to find is the payload size. Under commands look at Data Transfer for 160 Baud ECM.



    Or usually Mode 1 Message 1 for 8192 Baud ECM/PCM.



    The AutoProm adds three channels on top of this Payload. For the Payload size of 63. Have to count from 0 so 0 to 62 is the 63, the last byte used in ALDL data stream is 62.

    For 63 Byte Payload the AutoProm Channels will be:
    Also the channels on the AutoProm are not in exact order of data stream.
    Channel 1 is 65 and 66
    Channel 2 is 63 and 64
    Channel 3 is 67 and 68
    This was done and tested in $0E-16197427-V1-72-IH.adx file on my sons 72 IH truck.

    We will use the Payload size of 20 for the rest of this example ( have to know your Payload size from existing ADX file, see above). Have to count from 0, so 0 to 19 is the 20, the last byte used in ALDL data stream is 19.

    We will be using 16 bits for source data for each channel of AutoProm. Each Byte has 8 bits. So this is 2 Bytes or 16 bit per channel on AutoProm.

    Remember the channels on the AutoProm are not in exact order of data stream.
    Channel 1 is 22 and 23
    Channel 2 is 20 and 21
    Channel 3 is 24 and 25
    This was done and tested in $42-1227747-V4.3.adx on my 1990 Suburban.


    So lets get some values set up for the three channels of the AutoProm! Open values.


    Then Add New Item.


    Add new item information.
    1. Title of what the channel will be used for.
    2. Unique ID, if it is same as something already in ADX it will prompt you that the ID is not unique.
    3. Description of what the channel is for and can keep your conversions here, notes or whatever you need!
    4. Set Data Type.
    5. Set Stock Units.
    6. Set Units Display.
    7. Packet Offset to Channel 1, Packet Offset is 22 in this case. TunerPro will automatically fill in the Hex address in left box.
    8. Source Data for AutoProm is 16 bit.
    9. Range low will be 0.00 and Range high will be 5.00 for 0 to 5 volts.




    Now we need to set the conversion. Information coming in is Analog then converted to 1024 bits Digital, we want to convert that back to the analog reading of 0 to 5 volts. Click on Conversion Tab at bottom of value window.



    Then click on the Set button.



    The AutoProm Channels are 1024 bits! This is 4 times as much resolution as the stock ECM/PCM which usually uses 256 bits. Since we are using 16 bit/2 bytes we need to do the math and TunerPro is already set up for this! Remember it is Byte 22 and 23, we set it for 16 bit.

    Byte 22 is MSB, Byte 23 is LSB. The equation is MSB * 256 + LSB = Value (Value / 1024) * 5 = 0 to 5 Volts.

    Lets do it back wards so you can see how we come up with the equation. 5 volts (is the value coming in as Analog) divided by 1024 bits (Digital) that the AutoProm uses equals 0.0048828125. So if the AutoProm see's 1024 bits times 0.0048828125 it comes out to what we want to see in volts, 5.0

    Conversion for 0 to 5 volts is:
    (X * 0.0048828125) + 0.000000

    The + 0.00000 is for offset, it is not needed right now for volts but later you will see how it works for Air Fuel Ratio (AFR).

    Add the conversion and click OK.



    Click Save to save your new value to your ADX file!


    Since we set up a new value for AutoProm Channel 1 volts which can be used for anything, but in this case it will be for Wide Band O2 sensor so lets set up a second value for AutoProm Channel 1 AFR. You can have 2 or more values for same Packet Offset to show different values. With the Wide Band O2 sensor it is great to see that the volts are correct for setting up the Wide Band O2 controller, but what we really want to see is the AFR, Air Fuel Ratio!

    For getting proper AFR you have to set up your Wide Band controller for 0 to 5 volts. Here's an example of the Wide Band software and settings for Inovate LC-1 Wide Band O2 controller we are using below. You can skip this for now if your not ready and continue with setting up the value. Then come back and adjust to your Wide Band O2 sensors readings in the value we are creating in TunerPro.




    So lets add another value. Click on Add New Item just like last time and we will set it up for AFR.



    Add new item information.
    1. Title of what the channel will be used for.
    2. Unique ID, if it is same as something already in ADX it will prompt you that the ID is not unique.
    3. Description of what the channel is for and can keep your conversions here, notes or whatever you need!
    4. Set Data Type.
    5. Set Stock Units.
    6. Set Units Display.
    7. Packet Offset to Channel 1, Packet Offset is 22 in this case. TunerPro will automatically fill in the Hex address in left box.
    8. Source Data for AutoProm is 16 bit.
    9. Range low will be 7.35 and Range high will be 22.39 (TunerPro will truncate to 22.3899 which is fine) for the LC1 Wide Band O2 Sensor. Other sensors may have different values.
    10. Set the Alarms for whatever you would like for low and high, click Enable.



    Click on the Conversion Tab at bottom.



    Then click the Set button.



    For the LC-1 WideBand 0V = 7.35 AFR and 5V = 22.39 AFR.
    AFR of 7.35 to 22.39 is a difference of 15.04 divided by 1024 = 0.0146875

    Conversion for this would be:
    (X * 0.0146875) + 7.350000

    Adding the offset makes 0 volts 7.35 AFR

    For other Wide Band controllers that have 0V = 10.00 AFR and 5V = 20.00 AFR.
    AFR of 10.00 to 20.00 is a difference of 10.00 divided by 1024 = 0.009765625

    Conversion for this would be:
    (X * 0.009765625) + 10.00000

    Adding the offset makes 0 volts 10.00 AFR

    Add the conversion and click OK




    Click Save to save your new value to your ADX file!

    Rinse and repeat for AutoProm Channel 2 and 3!

    Here's a shot of the dash board in TunerPro looking at all three channels from AutoProm. Channel 1 has Volts and AFR. This was done on my test bench with 1.5 volts going into all three channels.



    Notes: Probably the most important part of setting up three channels on the AutoProm that makes it hard to get the channel correct is a few details.

    1. AutoProm Channels are not in order of ALDL packets. Look at the first picture of this thread.
    If the ALDL packets were in order of the channels it would be: 3 | 1 | 2 | Ground.

    2. AutoProm Channels are 16 bit, so you need 2 ALDL packet offsets. If you don't get them correct your reading is not even close but you will still get a reading!

    2. With nothing hooked up to the three channels you still get some readings. (see 3.)

    3. ADCs are very sensitive. When you connect something to one of them, you drive the signal to a known state. The way the ADCs on the APU1 are done on an electrical level allows them to float a little, which means that they are quite susceptible to picking up noise from other channels. If you want the noise to go away, tie unused channels to ground or just ignore signals on other channels.

    4. When signal going into a channel is set up correctly to ALDL is extremely accurate! I tested signal going in to what is displayed and it is perfect to .00001 with Digital Volt Meter. But because of notes 1, 2 and 3 can be very hard to diagnose.

    Special Thanks for technical information for this article to:

    Craig Moates http://www.moates.net/
    Dave Blundell http://www.moates.net/
    Mark Mansaur http://www.tunerpro.net/
    gregs78cam http://www.gearhead-efi.com/

    Keep an eye on this page and if any mistakes are found or more information can be added it will be updated here!

    Stay Tuned!

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  2. #2
    Fuel Injected!
    Join Date
    Apr 2012
    Posts
    26
    Great stuff - thanks so much for this!

    I'll edit my ADX's and let you know how this goes.

    Cheers, Chris

  3. #3
    Fuel Injected! gregs78cam's Avatar
    Join Date
    May 2011
    Location
    N. Idaho
    Posts
    767
    Good job on this, Mark, one of the best write-ups I have read. Glad you got it figured out.
    1978 Camaro Type LT, 383, Dual TBI, '7427, 4L80E
    1981 Camaro Z-28 Clone, T-Tops, 350/TH350
    1981 Camaro Berlinetta, V-6, 3spd
    1974 Chevy/GMC Truck, '90 TBI 350, '7427, TH350, NP203, 6" lift, 35s

  4. #4
    Fuel Injected!
    Join Date
    Apr 2012
    Posts
    26
    Sorry for the rookie question... but I am assuming that the body size needs to also increase by the same amount as the payload increase.

    So we add 6 to both the payload and body size?

  5. #5
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477
    Nope, no changes needed to payload and body size.

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  6. #6
    Fuel Injected! PJG1173's Avatar
    Join Date
    Nov 2011
    Location
    Jacksonville NC
    Age
    50
    Posts
    641
    where was this writeup last year? this is much better than the one I used to stumble through setting it up.
    87 4Runner, 15" spring lift, 3" body, chevy vortec 355, 5.29 gears, 38.5x15.5x15" Boggers, 280hr, 16168625 running $0D
    93 S10, 36x12.5x15 TSL's, custom turbo headers, 266HR cam, p&p vortec heads, $0D Marine MPFI with 8psi boost.
    05 Silverado, 2' lift, 4" exhaust, Bully Dog programmer,

  7. #7
    Fuel Injected!
    Join Date
    Apr 2012
    Posts
    26
    Again , many thanks for the excellent writeup.

    It is really excellent & helped alot.

    I finally got some data which is close... but I have one issue.

    I can deal with offsets and factors to allow for hardware variations, but my issue seems to be something a little more random.

    With any fixed voltage being supplied to any of the ADC channels I find that the output to the TP dash or monitor is almost perfect - apart from 1 small but significant issue.
    At random intervals the voltage will spike high or low by around 50% (or more).
    The voltage is fixed and verified by multimeter.

    The output is as follows:
    free air log.jpg
    The unused +channels are wired to earth.

    Any ideas would be very welcome.

    Cheers, Chris

  8. #8
    Super Moderator Six_Shooter's Avatar
    Join Date
    Feb 2011
    Posts
    2,968
    Are there other errors in the log of other parameters that match in time with those errors?
    The man who says something is impossible, is usually interrupted by the man doing it.

  9. #9
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477
    Quote Originally Posted by Six_Shooter View Post
    Are there other errors in the log of other parameters that match in time with those errors?
    What he said...

    Did the adx file work without glitch before this? What adx?

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  10. #10
    Fuel Injected!
    Join Date
    Apr 2012
    Posts
    26
    I certainly havent noticed the glitch or error in other logged data... certainly not the usual suspects anyway (RPM,MAP,TPS,SPARK etc)

    The XDF and ADX is OSE_12P which if you are interested is documented in detail here: http://delcohacking.net/forums/viewtopic.php?f=27&t=356

    I
    have attached the complete OSE_12P package which has the XDF & ADX.
    OSE12P can be run on any '808, '165 or '3082 ECM & supports 2-8 cyl.

    I run my own variation of the 1BAR Petrol ADX which gives me different dash's and the WB (I'm at work atm so dont have access to it)


    I would be interested to know your theories in the meantime. You question re other errant data at the same point in time... indicative of something which you have seen before?

    For the purpose of my previous experiment the APU1 was not connected to the ECM at all! I isolated the APU1 and just fed a known voltage to the ADC.

    Thanks for your time gents
    Attached Files Attached Files

  11. #11
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477
    We have our first tester of this and it works on dash board as I showed above. But it is not showing up in data log?

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  12. #12
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477
    Quote Originally Posted by T2000 View Post
    The XDF and ADX is OSE_12P which if you are interested is documented in detail here: http://delcohacking.net/forums/viewtopic.php?f=27&t=356

    I
    have attached the complete OSE_12P package which has the XDF & ADX.
    OSE12P can be run on any '808, '165 or '3082 ECM & supports 2-8 cyl.

    I run my own variation of the 1BAR Petrol ADX which gives me different dash's and the WB (I'm at work atm so dont have access to it)


    I would be interested to know your theories in the meantime. You question re other errant data at the same point in time... indicative of something which you have seen before?

    For the purpose of my previous experiment the APU1 was not connected to the ECM at all! I isolated the APU1 and just fed a known voltage to the ADC.

    Thanks for your time gents
    Probably interesting read, but what is this for? Which of the adx files did you use from that zip?

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  13. #13
    Fuel Injected!
    Join Date
    Apr 2012
    Posts
    26
    Quote Originally Posted by EagleMark View Post
    Probably interesting read, but what is this for? Which of the adx files did you use from that zip?
    "OSE_$12PV111_1BAR - Petrol.adx"
    &
    "OSE12P V111 - 1,2 and 3 bar.xdf"


    & I have tried both (on separate vehicles):

    "OSE $12P V111 APNX V6.bin"
    "OSE $12P V111 BLCF V8.bin"

    Currently testing on Australian GM (Holden) vehicles with '808 ECM's and Buick v6 and Holden v8


    It is almost as if the Offset has some how changed between packets and then reverts back ??? if that makes sense?

    Cheers, Chris

  14. #14
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477
    Your not from this side of the pond are you?

    I got it on my list to look at in AM. Got no experiance with these but will see if I notice something that may be affecting it.

    Right now the big issue is this works on dash board but does not save in data log xdl file?

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  15. #15
    Fuel Injected!
    Join Date
    Apr 2012
    Posts
    26
    Quote Originally Posted by EagleMark View Post
    Your not from this side of the pond are you?

    I got it on my list to look at in AM. Got no experiance with these but will see if I notice something that may be affecting it.

    Right now the big issue is this works on dash board but does not save in data log xdl file?
    Yeah last time I looked there is a big ditch full of water right between my place & your place

    Strange I am sure that my attempts at WB02 and ADC1/2/3 logging saved in the xdl file.

    I will confirm asap as that might help you to track the problem.

    Thanks again for your efforts,


    Regards, Chris

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •