Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 44

Thread: AEM X-Series Wideband - Serial

  1. #11
    Member
    Join Date
    Jul 2016
    Posts
    89

    Default

    Can you try looking for the signal on the PC, using Hyperterm w/ an RS-232 adapter?
    The config should be 9600,8,N,1 ( IRRC )
    the signal is just plain text
    e.g.

    14.7
    14.7
    14.7
    ... etc,

    BTW. as data goes, the 0-5v is massively superior to the slow, coarse, serial data. It is 500 samples/second, vs. 10 samples/second for the serial. And, it has active ground offset compensation.

  2. #12
    Junior Member spedracr93's Avatar
    Join Date
    Jun 2016
    Posts
    43

    Default

    Quote Originally Posted by dr.mike View Post
    Can you try looking for the signal on the PC, using Hyperterm w/ an RS-232 adapter?
    The config should be 9600,8,N,1 ( IRRC )
    the signal is just plain text
    e.g.

    14.7
    14.7
    14.7
    ... etc,

    BTW. as data goes, the 0-5v is massively superior to the slow, coarse, serial data. It is 500 samples/second, vs. 10 samples/second for the serial. And, it has active ground offset compensation.
    Sorry, Dr. Mike - That definitely exceeds my capabilities as a PC user...

    Help me understand the data transmission further, though. On the last page of the manual for the gauge, in the specifications table it lists the following:

    ANALOG OUTPUT: Resolution = 10 bit
    Update Rate = 500 hz

    OBDII OUTPUT: Bit Rate = 250/500 kb/sec
    Format = 11/29 bit ID
    DLC = 8

    SERIAL OUTPUT: Baud Rate = 9600 bps
    Data bits = 8
    Parity = None
    Stop Bits = 1

    Due to my current hardware that I'm tuning, OBDII is not an option for use.

    Now, this is mostly all lost on me, but it has been my understanding that the serial data was superior to the analog because of the speed of the data; i.e. the faster you can get the data the closer the results are to the event within the engine, thereby decreasing the gap that O2 readings follow the combustion. In comparison of the data above, is 9600 bps not equal to 9.6 kHz?

    Not second guessing you; just seeking to understand.

    If the analog is better, I'm all for that. I've been using an analog WB for some time now and know I can easily set that up!

  3. #13
    Member
    Join Date
    Jul 2016
    Posts
    89

    Default

    You are confusing the baud rate ( 9600 ) with the data packet rate (10 ).

    The baud rate allows up to 9600 bits per second ( ~950 bytes per second ). But, the wideband only sends 10 sample packets per second. So, there is some space in-between. It's slow enough that you can watch them scroll by on the hyperterm screen. It is this slow, only, because it was supposed to be compatible with the older 30-4100 and 30-2310 devices; which, did not have CAN output. And, really weren't any faster than that anyway.

    Additionally, the serial data is only 3-digits. "xx.x" So, there is nothing between 14.7 and 14.8, for example. It's really just a vestigial feature; to allow AEM to phase out the older models, without leaving old ECUs that rely on it, out in the cold.

    The analog data is updated 500 times / second. So, it is, literally, 50X faster than the serial data.
    And, it has the full 10-bit resolution. IIRC it steps from 14.7 to 14.72, etc.

    Here is a trace on the analog output. Going from free-air to 14.7AFR
    Click image for larger version. 

Name:	transient-response-hi-lo.jpg 
Views:	225 
Size:	140.4 KB 
ID:	20750

    Name: transient-response-hi-lo.jpg
    Views: 0
    Size: 140.4 KB
    ID: 20749

    You can see the steps 2ms apart. Even the CAN data only updates every 10ms. Which is one of those dividing lines.



    I would never use the serial data over the analog data on the 30-03xx, unless I had to.

  4. #14
    Junior Member spedracr93's Avatar
    Join Date
    Jun 2016
    Posts
    43

    Default

    Quote Originally Posted by dr.mike View Post
    I would never use the serial data over the analog data on the 30-03xx, unless I had to.
    Enlightening and Interesting.

    I'll give the analog a shot.

    Thanks!

  5. #15
    Lifetime Member Tre-Cool's Avatar
    Join Date
    Feb 2006
    Posts
    941

    Default

    I might have a play tonight in the drag car with the analog too. I've got 2 guages in it. My biggest problem with the analog appears to more of an issue with the v2's own grounding problems.

    I.e with nothing plugged in some ofthe AD ports are showing .02~05 of a volt.

  6. #16
    Member
    Join Date
    Jul 2016
    Posts
    89

    Default

    Could just be high-impedance floating inputs. which should be OK.
    Or... a complete cluster-f^%k. Either way

  7. #17
    Lifetime Member Gregs's Avatar
    Join Date
    Sep 2008
    Posts
    306

    Default

    Quote Originally Posted by spedracr93 View Post
    Yea, I'm not sure. I wired it up from this: https://forum.efilive.com/showthread...ging-afr/page2

    OP said he had success going to 2 and 5, and then the last post from joecar more clearly states what should be the pinout.


    Is there a way to verify serial output other than through the V2. I can read a voltage output on the signal wire, but obviously that doesn't correlate to the transmission like the analog output does. It varied from 0.48 to 0.51 V changing similarly to the rate of the AFR output on the gauge.
    Dummy me, I should have checked for voltage while I was there


    Quote Originally Posted by dr.mike View Post
    Can you try looking for the signal on the PC, using Hyperterm w/ an RS-232 adapter?
    The config should be 9600,8,N,1 ( IRRC )
    the signal is just plain text
    e.g.

    14.7
    14.7
    14.7
    ... etc,

    BTW. as data goes, the 0-5v is massively superior to the slow, coarse, serial data. It is 500 samples/second, vs. 10 samples/second for the serial. And, it has active ground offset compensation.
    I can do this


    Quote Originally Posted by dr.mike View Post
    You are confusing the baud rate ( 9600 ) with the data packet rate (10 ).

    The baud rate allows up to 9600 bits per second ( ~950 bytes per second ). But, the wideband only sends 10 sample packets per second. So, there is some space in-between. It's slow enough that you can watch them scroll by on the hyperterm screen. It is this slow, only, because it was supposed to be compatible with the older 30-4100 and 30-2310 devices; which, did not have CAN output. And, really weren't any faster than that anyway.

    Additionally, the serial data is only 3-digits. "xx.x" So, there is nothing between 14.7 and 14.8, for example. It's really just a vestigial feature; to allow AEM to phase out the older models, without leaving old ECUs that rely on it, out in the cold.

    The analog data is updated 500 times / second. So, it is, literally, 50X faster than the serial data.
    And, it has the full 10-bit resolution. IIRC it steps from 14.7 to 14.72, etc.

    Here is a trace on the analog output. Going from free-air to 14.7AFR
    Click image for larger version. 

Name:	transient-response-hi-lo.jpg 
Views:	225 
Size:	140.4 KB 
ID:	20750

    Name: transient-response-hi-lo.jpg
    Views: 0
    Size: 140.4 KB
    ID: 20749

    You can see the steps 2ms apart. Even the CAN data only updates every 10ms. Which is one of those dividing lines.



    I would never use the serial data over the analog data on the 30-03xx, unless I had to.
    Mike, Thanks for the great info and explanation. Coming from the LC-1 days we were always told to use serial because it was better. Seems funny to be moving to digital->analog for better performance. It's unfortunate that the serial connection is a simpler connection to make vs those orange connectors on the bottom. Due to these findings i'm going to move to analog after I get this serial issue figured out. It will drive me crazy if I don't figure out the solution.

    If memory serves me right I'll have to go into some config file to setup what voltage=AFR for this series of gauge. Does anyone have that info handy?

    One big thing just hit me, I don't want an AFR output I want a lambda output. Can we change this?

    03 Silverado 5.3 ECSB 4x4 Z71
    Comp Cam 206/212 .515/.522 112 lSA, hardened rods with LS9 springs

    2010 Tahoe VVT AFM 5.3
    Stock for now

  8. #18
    Lifetime Member Tre-Cool's Avatar
    Join Date
    Feb 2006
    Posts
    941

    Default

    if you use the analog then your calc pid would be configured for the input/output type.

    *CLC-00-2058
    V 0.0 5.0 .1 "{EXT.AD4}"
    AFR 10.0 20.0 .2 "({EXT.AD4}*2.3750+7.3125"
    lambda 0.5 1.5 .3 "({EXT.AD4}*0.1621)+0.4990"

    CALC.AEM_AD4 F001 CLC-00-2058 "AFR,lambda,V" WO2-Analog "Wide Band AEM AD4"

    if you use the serial port, u need to leave the display set to afr otherwise you get weird data come through.

  9. #19
    Member
    Join Date
    Jul 2016
    Posts
    89

    Default

    Coming from the LC-1 days we were always told to use serial because it was better. Seems funny to be moving to digital->analog for better performance.
    The LC-1 was great, if you knew how to set it up properly ( few did). Otherwise, you had to deal with ground offset issues and HUGE noise problems. So, the serial data was used allot. Even though it cut down the response speed to 12Hz.

    This is about the best possible output from an LC-1. With the cables cut down to about 6" and, using 12-gauge wires, with isolated signal ground and differential input. 99% of installations were MUCH noisier than this.
    Click image for larger version. 

Name:	LC-1.JPG 
Views:	231 
Size:	21.2 KB 
ID:	20752

    vs. the 30-0300 w/ the full length harness and standard ( single-ended ) input, like the MPVI. Out of the box.
    Click image for larger version. 

Name:	30-0300.JPG 
Views:	241 
Size:	22.7 KB 
ID:	20753

    Both are the same transition. From free-air to Lambda 1.00





    One big thing just hit me, I don't want an AFR output I want a lambda output. Can we change this?
    if you use the serial port, u need to leave the display set to afr otherwise you get weird data come through.
    Kinda the same issue here. There is a bug. Where, if you switch the display to Lambda, the serial data, also, switches to Lambda... kinda.
    The decimal point ends up in the wrong place. So lambda 1.00 displays as 10.0 etc. Of course, some genius started using that. So, now it can't be changed.

  10. #20
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    Yes, with the LC-1 analog output, you could use the second channel of the FSV1/FSV2 to subtract out the offset!


    Back in the day, with the LS1 VPW PCM's, the pid logging rate is 10 Hz, this is matched to the LC-1 serial comm's 12 Hz sample rate.

    But with the CAN bus ECM's, the pid logging rate is 20-40 Hz, so you need a wideband with higher sample rate.


    The 03-0330 analog output does look much cleaner... a little bit more overshoot.

Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. AEM X-Series OBDII Wideband UEGO AFR Sensor Controller Gauge
    By Gelf VXR in forum General (Petrol, Gas, Ethanol)
    Replies: 206
    Last Post: July 24th, 2017, 08:58 AM
  2. AEM wideband to FlashScan V2
    By T34418L31 in forum FlashScan V2
    Replies: 61
    Last Post: May 14th, 2015, 12:22 AM
  3. Aem failsafe gauge not serial
    By Slowrc in forum General
    Replies: 25
    Last Post: August 12th, 2014, 12:23 PM
  4. AEM Wideband Serial Hook-up -
    By RamAir in forum Petrol / Gas
    Replies: 7
    Last Post: May 29th, 2013, 11:03 AM
  5. AEM wideband 02 support?
    By PRAY in forum Petrol / Gas
    Replies: 9
    Last Post: October 7th, 2012, 10:28 PM

Posting Permissions

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