PDA

View Full Version : Wideband setup through apu1



Stokes1114
05-17-2019, 08:33 PM
I'm trying to get my wideband setup through my autoprom. It's model aem 30-0300. I have tried to setup my adx multiple ways as per Mark's tutorial, but can't get it to read right. If anyone has any ideas please let me know. http://www.gearhead-efi.com/Fuel-Injection/showthread.php?829-AutoProm-ADC-Interface-Channels-Set-up-in-TunerPro! This if the link I'm following to set it up. Thanks fellas
Dustin

dave w
05-17-2019, 08:43 PM
Maybe you can modify the WBO2 .adx in this tread to work? http://www.gearhead-efi.com/Fuel-Injection/showthread.php?5381-Wide-Band-O2-(WBO2-Tuning)-Spreadsheet

dave w

Stokes1114
05-17-2019, 08:56 PM
Maybe you can modify the WBO2 .adx in this tread to work? http://www.gearhead-efi.com/Fuel-Injection/showthread.php?5381-Wide-Band-O2-(WBO2-Tuning)-Spreadsheet

dave w
Thanks Dave, I will have a look and see. I think the main problem I'm having is the packet size that gets added onto the adx file for the extra channels of the apu1. I have my apu1 hooked up semi permanently so I can make changes very easily, but may have to just go through egr pintle wire as egr is disabled anyway. I still would like to figure out the extra channels though! I'll keep at it!
Thanks! Dustin

dave w
05-18-2019, 01:13 AM
Hi Dustin,
With definitions, $E6, $OD, $OE, & $31 the APU1 IS NOT needed for WBO2 data logging. The 0v - 5v output from the WBO2 is wired directly to the PCM. Wiring instructions included in the link I posted.

dave w

steveo
05-18-2019, 03:40 AM
it's not totally necessary, but i'd attempt to use the apu1 input, it's higher resolution than the 8 bit adc inputs of your ecm, also a lot of GM ecm analog inputs have pretty crappy linearity considering the impedance level of your average wideband output. make sure you set it to 16 b it and scale appropriately for its 0-1024=0.5v range and keep it in autoprom mode. i only did this with an apu1 once but i didn't have much trouble

woody80z28
05-18-2019, 04:46 AM
I'm not familiar with $E6, but on my $A1 I had issues and found out the "body size" was wrong. I emailed Moates to get it figured out and they were helpful.

Stokes1114
05-18-2019, 05:14 AM
Thanks fellas...I know I can go straight through pin b16, but I would really like to get this working through the autoprom. The wideband is 0.5v=8.5 afr, 4.5v=18 afr. Not exactly sure what to do with that? I think I have my conversion correct (x*0.00927734375)+8.5. On top of figuring the conversion out I need to figure out what the payload size is since it adds on top of the adx's current payload size. So far I think:
Ch1 is 65&66
Ch2 is 63&64
Ch3 is 67&68.
The channels on the apu1 are not in order. I am trying on ch2.
I think I've been reading too much on this and confusing myself. Just wanna get it logging and start running it through Steve's Trimalyzer. It'll be really nice for adding other sensors too as well. Such as fuel pressure. Thanks guys
Dustin

woody80z28
05-18-2019, 05:41 AM
That's the same as my AEM then...here's the math. I just figured it out finally last year.

The analog AEM 0-5v is only accurate from 0.5-4.5v.
http://aemelectronics.com/files/instructions/30-5130%20Analog%20Wideband%20UEGO%20Gauge%20Gasoline %20AFR.pdf
So of the 1024, 0-102 and 921-1024 should be ignored when figuring the 9.5 AFR difference (8.5-18 sweep), 9.5 / 819 = .01159951.

So for an AEM 30-5130 Analog Wideband the equation is (X * .0115991) + 7.3125.

I checked it against the table in their PDF and it is good to go. Hopefully this can help someone in the future. Cause it definitely tripped me up.

Stokes1114
05-18-2019, 05:50 AM
That's some good info I would have never figured out. Gonna have to give it a shot tomorrow. Hopefully this along with the payload size will work. When it's not a correct reading, it's extremely hard to know what's causing it though.


That's the same as my AEM then...here's the math. I just figured it out finally last year.

donf
05-18-2019, 04:52 PM
That's the same as my AEM then...here's the math. I just figured it out finally last year.

That is a little different than what I came up with for the AEM 30-0310. The math is here explained by eaglemark. This was not the only change in the adx file to get it to work. I am running it direct to the ecm. No futzing required if you follow the instruction. X * 0.04638671875 + 7.3125

steveo
05-18-2019, 05:24 PM
donf, we're talking about input to an APU1 which is 0-1024, your equation is probably for an 8 bit (255=5v) input.

lets independently verify the math for what woody posted.

AEM manual says: AFR = 2.375(V) + 7.3125

APU1 datastream is 5v 0-1024.

so 1024 is 5 volts and 0 is 0 volts, and 1024/5 = 204.8, then your APU1 is V=X/204.8

so, AFR = 2.375(X/204.8) + 7.3125

or if you like multiplication...

AFR = 2.375(0.00488281 * X) + 7.3125
= 0.0115967X + 7.3125

i'd say that's the one i'd go with

... but the division looks cleaner and tunerpro doesn't mind division

donf
05-18-2019, 05:29 PM
Math is here http://www.gearhead-efi.com/Fuel-Injection/showthread.php?1137-Wideband-Question

Conversions for 256 bit 0 to 5 volts!

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 256 = 0.05875

Conversion for this would be:
(X * 0.05875) + 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 256 = 0.0390625

Conversion for this would be:
(X * 0.0390625) + 10.00000
Adding the offset makes 0 volts 10.00 AFR

So... for my AEM 30-3010 we will follow the logic step by step from above.
OK so from the above we need 0 and 5v numbers.

Formula for the 30-0310 from the Install manual page 6
0-5V Analog output
AFR = (2.3750 * Volts) + 7.3125

7.3125 = (2.3750 *0) + 7.3125
19.1875 = (2.3750 *5) + 7.3125
Conversions for 256 bit 0 to 5 volts!

For the AEM 30-0310 Wideband 0v = 7.3125 AFR and 5V = 19.1875
AFR of 7.3125 to 19.1875 is a difference of 11.875 divided by 256 = 0.04638671875

Conversion for this would be:
(X * 0.04638671875) + 7.3125
Adding the offset makes 0 volts 7.3125 AFR

This is for running direct to the ECM. Not the other.

Stokes1114
05-18-2019, 10:03 PM
Thanks for breaking that down, helps me understand it much better now. I am going to be able to try it out later today after the boys soccer game. Do you guys know anything about the payload size, of how to figure it? My adx says payload size is 63, which would be 62 if starting from 0. In Mark's tutorial, it says it would be 63&64. So I should use 63 for that? I think it's 63 and 64 bc we have 2 bytes. Trial and error will work I suppose, just trying to understand it all. Thanks for all your help fellas
Dustin

donf
05-18-2019, 10:38 PM
Thanks for breaking that down, helps me understand it much better now. I am going to be able to try it out later today after the boys soccer game. Do you guys know anything about the payload size, of how to figure it? My adx says payload size is 63, which would be 62 if starting from 0. In Mark's tutorial, it says it would be 63&64. So I should use 63 for that? I think it's 63 and 64 bc we have 2 bytes. Trial and error will work I suppose, just trying to understand it all. Thanks for all your help fellas
Dustin
If you are not running direct to the computer do not use mine. I put the math there then found the post above explaining the formulas are different running the interface you are running. I still do not understand the reasoning for trying to do anything other than just hook it direct as it works so well.

Stokes1114
05-18-2019, 11:25 PM
I was mainly doing it for ease of install. I have the autoprom mounted under my dash semi permanently so I can make changes quick, anytime I want. I don't have to repin anything, just add the 2 wires to it. But as Steve said the autoproms channels are 1024 bits so more resolution, and once I figure this out I can add any other sensors I want to log. It has 3 channels that show up in the same log. After I get this working I really want fuel pressure in as well. I think with the help I'm getting on here I should be able to get it going, but it's good to know I can always run it straight to pin b-16.

donf
05-19-2019, 12:04 AM
I was mainly doing it for ease of install. I have the autoprom mounted under my dash semi permanently so I can make changes quick, anytime I want. I don't have to repin anything, just add the 2 wires to it. But as Steve said the autoproms channels are 1024 bits so more resolution, and once I figure this out I can add any other sensors I want to log. It has 3 channels that show up in the same log. After I get this working I really want fuel pressure in as well. I think with the help I'm getting on here I should be able to get it going, but it's good to know I can always run it straight to pin b-16.
I can do changes with whatever the other moates emulator is called. I have had it corrupt the program a few times without warning so I am hesitant to use it out of walking distance. I guess I could always carry the fixed parts with me. Ether way the wide band can be hooked direct if you decide to go that way. As far as finer resolution, the computer you are tuning is still the same, so not a whole lot changes. It was like the ADX I started with. It had columns in the history fuel tables that were not in the bin, someone thought they would be fancy. It looked impressive and you did get more information, but it was useless. After accidentally copying the useless columns into the spreadsheet a few times, I got rid of them. Now its a no brainer, you can copy all data from one sheet to the other. Its fast and easy.

steveo
05-19-2019, 07:32 AM
i'm all about chucking unnecessary data precision, but if you can have 0.01 afr steps instead of 0.05 because you got nice gear, why not? (this is roughly the actual difference in resolution here)

it's actually easier to use the APU1's inputs, he just hasn't figured it out yet.

Stokes1114
05-20-2019, 09:30 PM
Had a chance to mess with it for about an hour yesterday. I was not able to get any close results with my gauge. I tried going to the other 2 channels and adjusting the packet size with no luck. I did have a 7 year old pulling on my leg to go play the whole time though lol. So hopefully tomorrow evening I'll be able to try again and record it and take notes.