Page 1 of 4 1234 LastLast
Results 1 to 15 of 48

Thread: OBD logging and real-time histogram

  1. #1
    Fuel Injected!
    Join Date
    Jan 2020
    Posts
    31

    OBD logging and real-time histogram

    I've very new to this and am very excited about all the work that has been done on PCMHammer. Is there a data logging tool with realtime histogram capabilities or is everyone logging and then doing post-processing. It would be great to be able to drive around and see which parts of the VE table have been captured so that I can drive differently to get the undersampled data points.

  2. #2
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    I'd love to know this as well. I'm tuning with lsdroid, but looking for a good datalog solution.
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  3. #3
    Fuel Injected!
    Join Date
    Jan 2018
    Posts
    57
    PCM Hammer includes a primitive logger in Release 11, but I just noticed that it was missing the .profile files that are needed to actually use it. So I just added them to the zip file:

    https://github.com/LegacyNsfw/PcmHac.../2019.12.30.01

    There's no real-time histogram, but I agree that would be a good idea. For now, you'd have to post-process the .CSV file in another tool. Excel could probably do it.

    Also, it would really benefit from more / better profiles (lists of parameters to log). It's pretty straightforward to create profiles using SAE PIDs, if you're comfortable editing XML. Logging anything that isn't an SAE PID would require doing some reverse-engineering to find the memory location of the parameter you want... that's more work, but I'm sure we'll hunt down the most useful parameters over time.

  4. #4

  5. #5
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    I just bought a USB cable and couldn't get it to work. The driver said something about being phased out in 2012 and I couldn't get it to assign as a COM port. Would not recommend it:
    https://www.amazon.com/dp/B081S15H7R

    In related news...has anyone been able to log in TunerPro via an OBDLink? LX ideally? I'm logging in torque, but it leaves a lot to be desired.
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  6. #6
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    Looking like this will work via OBDlink in TunerPro. It connects on my bench, will try it in the truck tomorrow.

    Anyone know how to add EGR position to the datastream? That's where I'm wiring in my wideband 0-5v.

    According to a post from 2009 I found it's PID.2811
    https://ls1tech.com/forums/pcm-diagn...l#post11938549
    Last edited by woody80z28; 02-18-2020 at 11:41 PM.
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  7. #7
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    It works! I had to build some lookup tables to convert C to F and KPH to MPH, etc...but it works. LTFT was showing 128 like obd1 so I converted that to 100 to show percent. Overall I'm happy with it.

    "VN5000" is the original author of the ADX according to the header. I searched and didn't find any info on that name.

    I attached an ADX capture to show the code for the PID. That's way over my head. Anyone have an idea how to code for PID.2811 to get EGR voltage in the datastream so I can do the wideband conversion?
    Attached Images Attached Images
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  8. #8
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    Found a hex converter online and the byte string for KPH translates to M01P0D501R1. Did I mention that part is over my head? Haha
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  9. #9
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    Ok I found this thread and it was very helpful:
    http://www.gearhead-efi.com/Fuel-Inj...-OBDII-plug-in

    Wiki also shows the PID info here:
    https://en.wikipedia.org/wiki/OBD-II_PIDs

    So, we know vehicle speed is:
    0x4D 0x30 0x31 0x50 0x30 0x44 0x53 0x30 0x31 0x52 0x31 =
    M01P0DS01R1=
    'M' + HH + 'P' + HH + 'S' + HH + 'R' + H
    Where 'M' is for Mode, "HH" is two hex ASCII bytes (e.g. 'F' 'F' for 0xFF). 'P' is for PID, 'S' is for size of PID data reply, and 'R' is for reply count. Note that the 'R' data is a single hex digit (e.g. '2').

    = Mode 1 PID 13, get only 1st reply

    So for PID 2811 I'm thinking: M01PAFBS01R1 (hopefully 3 hex bytes is not a problem and it still figures the delineation via the S after it for the size packet)
    0x4D 0x30 0x31 0x50 0x41 0x46 0x42 0x53 0x30 0x31 0x52 0x31
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  10. #10
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    Ok, it looks like that's working perfect! Won't know for sure until my wideband comes in this weekend, but I set it up just to read volts for now, and I get 0v cold, and then about 0.5-2.1v while driving, which is definitely influenced by throttle.

    I also tried to log PID 68 commanded EQ ratio (hex 44), but can't get it right.
    0x4D 0x30 0x31 0x50 0x34 0x34 0x53 0x30 0x32 0x52 0x31
    It sends back 2 data bytes, and I set it to 16bit in the ADX, but there are two equations online and neither get the output to about 1 in closed loop.
    2/65536(256A+B) and ((A*256)+B)/32768
    The latter is closer, but not there. I'm not sure it's an equation issue though. Cause the data has spikes in it that wouldn't make sense for EQ ratio. I set it up identical to the way MAF and RPM are done (which are also 2 data byte PIDs.)
    Last edited by woody80z28; 02-21-2020 at 07:34 AM.
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  11. #11
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,470
    The afr pid is 119e and is 1 byte long. Conversions is x*10. Let me know if you need some other info for logging. You are the perfect guinea pig for the adx improvement.
    It is good to know that not all PCM supports all PIDS. If you get weird data or no response it might be because the OS doesn`t support it.

    Do you have a copy of the adx used.

  12. #12
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    I do have a copy of the ADX I started with and the modification I'm at now. I'll post them tonight.

    I just searched pid.199e and pid.119 without any hits. Just add all four characters in hex to the string? And that comes back as commanded AFR?
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

  13. #13
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,470
    It should be something like that. I am not that familiar how the messages are constructed.

  14. #14
    Electronic Ignition!
    Join Date
    Jan 2019
    Age
    39
    Posts
    14
    Quote Originally Posted by woody80z28 View Post
    I do have a copy of the ADX I started with and the modification I'm at now. I'll post them tonight.

    I just searched pid.199e and pid.119 without any hits. Just add all four characters in hex to the string? And that comes back as commanded AFR?
    WOW thank you! It sounds like you have done a great job. I am going to setup my tablet for this and test

  15. #15
    Fuel Injected! woody80z28's Avatar
    Join Date
    Nov 2011
    Location
    Walton, NY
    Age
    38
    Posts
    242
    Ok, I never did get a chance to try out PID 119E tonight (busy being Mr. Mom)...but added some notes to my ADX and attached it here. (Use at your own risk...I'm new to this)

    Interestingly enough: my wideband came in and has some options my 2010 AEM doesn't. It has the typical 0-5v output, but also options for 1-2v, 0-1v linear and 0-1v simulated NB.

    So I just did a little looking and I'm actually thinking about adding Blue pin 68 to the PCM for o2 sensor #3 and PID22 so I can retain EGR function. I don't have post-car o2 sensors on my 2500hd, so as long as it will read the data, I don't lose any functionality.
    Attached Files Attached Files
    Last edited by woody80z28; 02-22-2020 at 07:01 AM.
    80 Camaro Z28 - 550hp AFR 383 / T56 6spd (Holley HP EFI)
    91 Beretta "SS" - 260hp 3400 MPFI / HM282 5spd (7730/$A1) sold! for crazy money...but I miss it
    94 Silverado Z71 - 300hp Vortec 357 TBI / NV4500 5spd (7427/$0D) gone but not forgotten
    96 Beretta "T56" - 4.8 LS RWD swap / 6spd (0411/2156)
    01 Silverado 2500HD - stock Vortec 8.1 / ZF6 6spd (0411/8322)
    https://www.youtube.com/c/GEARHEADdezign

Similar Threads

  1. TP-V5 W/Ostrich 93 Vette real time connecting problem.
    By Axman in forum TunerPro Tuning Talk
    Replies: 0
    Last Post: 07-16-2016, 04:57 AM
  2. how to start real time tuning?
    By Scrufdog in forum TunerPro Tuning Talk
    Replies: 14
    Last Post: 10-03-2014, 12:24 AM
  3. $42 VSS Filtering in REAL TIME SERVICE ROUTINE B
    By jim_in_dorris in forum GM EFI Systems
    Replies: 0
    Last Post: 08-16-2014, 09:12 AM
  4. Histogram viewing of xls files?
    By 1project2many in forum TunerPro Tuning Talk
    Replies: 4
    Last Post: 02-05-2012, 05:49 AM
  5. '427 Tuning ~ Excel vs TunerPro RT Histogram
    By dave w in forum GM EFI Systems
    Replies: 0
    Last Post: 10-29-2011, 04:24 AM

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
  •