Results 1 to 2 of 2

Thread: OBDII Checksum?

  1. #1
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924

    OBDII Checksum?

    I received this email today, and I'm wondering if anyone would be able to clarify for me what the deal with the checksums is, as it would be output by an ELM327:

    I have been using the OBDsim with great success when evaluating different OBD software packages. But when I came across the TouchScan program I realized that the OBDsim didn't output the checksum when the headers was enabled (ATH1 command; the ELM327 do in fact output the check sum), as I was missing this byte the TouchScan program reported an error and was unable to connect to the OBDsim.
    How is a checksum calculated? I cannot see enough information in the specs to fully calculate it. How does it change for each of the protocols?

    Thanks,
    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  2. #2
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    The ELM327 does all the header and checksum work internally so you don't have to. That's kind of the main reason for it, along with dealing with different protocols.

    The H1 command enables displaying all the extra data that comes from the ECU. The last byte is the checksum. That value is calculated from the data payload (excluding the header) by adding all the bytes up. It's just 8 bits, so it rolls over each time it goes over 255. It's pretty simple stuff.

Similar Threads

  1. OBDII and Fusion Brain
    By chunkyks in forum Fusion Brain
    Replies: 4
    Last Post: 06-24-2009, 01:36 AM
  2. OBDII for ELM323
    By hjcho616 in forum Road Runner
    Replies: 5
    Last Post: 11-29-2007, 10:14 AM
  3. OBDII Signal Splitter (for Infiniti G35)
    By Caelric in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 9
    Last Post: 04-14-2007, 09:32 PM
  4. Italian translation for RC4.5
    By veetid in forum Centrafuse
    Replies: 0
    Last Post: 01-05-2007, 09:56 AM
  5. OBDii on non-US cars
    By ramy_zohair in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 3
    Last Post: 11-16-2005, 02:30 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
  •