Forum >Replies by chevyplowman
userhead chevyplowman
Replies (2)
  • You Reply: Thanks for keeping with me on this and assisting in my learning. I appreciate you decoding those. This is very interesting, that certainly was not how I thought it would be.


    Just to clarify, the format of these logs are as follows....Correct?

          COL A                                                COL B                                                        COL C
    OBD BUS update time                HEX value of PID to be logged                actual data of correct PID from col B


    Do you have any idea what any of the other data means in that snapshot I provided, or would you have any suggestions on how to decode/decipher what it is?


    One other Item I ran across, I was thinking that maybe I could use the bluetooth to decode some things. So I went into the config.h file and set USE_OBD_BT to 1. When i looked at arduinodev.com site it talked about A8, A9 for the serial port. This seems to be already configured in the datalogger.h file.

    I have tried 4 different ways to interface with my iPhone 5s, and it never seems to show up. Did I dfrobot something else?

    Thanks!
  • You Reply: Thanks for the quick reply.

    I went and checked the format for the log file and it is FORMAT_CSV as shown in the line below

    #define LOG_FORMAT FORMAT_CSV /* options: FORMAT_CSV, FORMAT_BIN */
    (I copied this from the config.h file)

    I have attached the a sample of the log file for reference as to what I am talking about. According to the megalogger.ino file, I believe that the three items that should be represented in this log file are as follows:
    (I hope it is safe to assume that each of these should show up in their own column? A, B, C respectively?)

            logOBDData(PID_RPM);
            logOBDData(PID_SPEED);
            logOBDData(PID_THROTTLE);
            dataCount = 3;

    As you can see below I took a copy of data from the logger file, it appears that the log file is logging incorrectly.

    8415 F020 -756 736 18248
    0 F021 207 -79 37
    56 100 0
    13 100 128
    14 120 128
    15 120 0
    12 131 -28181
    32 131 -27139
    31 10C 719
    44 F020 748 1492 16944
    0 F021 -749 249 -36
    37 10C 720
    52 10D 0
    38 10C 720
    50 10D 0
    12 111 14
    13 F020 -2688 -240 18828
    0 F021 -139 -8 45
    36 110 42
    14 10C 719
    51 10C 719



    PID_RPM is logging as 2 digit number. Even if the scaling was off....there seems to still be a problem as my truck is Diesel and some of the values would be over the red-line by 2k RPM.

    PID_SPEED seems to be logging as HEX in most cases.

    PID_THROTTLE seems to be all over the place, sometimes logging GPS coordinates, sometimes Logging what appears to be the RPM, sometimes logging what appears to be the throttle position (that never seems to change on the main screen), and sometimes it appears to be the temperature value (that also never seems to change on the main screen).

    Regarding trying to plug it in at different times, I have tried to plug this in at different stages in of when I turn the truck on, before I put the key in the ignition, before starting, and also after starting. I have left plugged in (while running into the store for example.) and turned the truck off, then back on after leaving the store.

    I guess I missed that the TFT display was on D0, D1. Thanks for the clarification!

    Again, thanks for the work on this project; and the help!