Forum >Replies by mattt
Replies (14)
  • You Reply: I found the compiling issue was to do with saving the files from GitHub by looking at them in raw and saving the file in chrome saves it to a file with HTML code inserted into the code. There is no easy way to save the files without copying and pasting each file.

    The mega logger.ino in the mega logger archive on sourceforge does not compile still.
  • You Reply: I found the compiling issue was to do with saving the files from GitHub by looking at them in raw and saving the file in chrome saves it to a file with HTML code inserted into the code. There is no easy way to save the files without copying and pasting each file.

    The mega logger.ino in the mega logger archive on sourceforge does not compile still.
  • You Reply: I have had the same problems since day one. I didn't realize that this is an older thread so there is no recent new update. Right now I have given up on this project as I don't have the programming knowledge to fix all of the bugs with this OBD adapter. There is also the issue of having to unplug and plug the OBD adapter from the UART in order for the screen to work in the vehicle.
  • You Reply: I have had the same problems since day one. I didn't realize that this is an older thread so there is no recent new update. Right now I have given up on this project as I don't have the programming knowledge to fix all of the bugs with this OBD adapter. There is also the issue of having to unplug and plug the OBD adapter from the UART in order for the screen to work in the vehicle.
  • You Reply: I downloaded the updated archive from [url=http://sourceforge.net/projects/obdcon/files/logger/megalogger-src-20130930.zip/download]http://sourceforge.net/projects/obdcon/files/logger/megalogger-src-20130930.zip/download[/url] I have overwritten the libraries from the archive. Still the same issue. I wonder if anyone else has the same problem?
  • You Reply: I downloaded the updated archive from [url=http://sourceforge.net/projects/obdcon/files/logger/megalogger-src-20130930.zip/download]http://sourceforge.net/projects/obdcon/files/logger/megalogger-src-20130930.zip/download[/url] I have overwritten the libraries from the archive. Still the same issue. I wonder if anyone else has the same problem?
  • You Reply: Hi, just tried to upload megalogger.ino with updated OBD library. I get the following errors:

    [code]megalogger:88: error: expected class-name before ',' token
    megalogger.ino: In member function 'void COBDLogger::setup()':
    megalogger:113: error: could not convert 'init()' to 'bool'
    megalogger:113: error: in argument to unary !
    megalogger:125: error: 'readSensor' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::loop()':
    megalogger:175: error: 'isValidPID' was not declared in this scope
    megalogger:181: error: 'isValidPID' was not declared in this scope
    megalogger:191: error: 'isValidPID' was not declared in this scope
    megalogger:216: error: 'errors' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::dataIdleLoop()':
    megalogger:288: error: 'getState' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::logOBDData(byte)':
    megalogger:427: error: 'readSensor' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::showECUCap()':
    megalogger:467: error: 'isValidPID' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::reconnect()':
    megalogger:481: error: could not convert 'init()' to 'bool'
    megalogger:481: error: in argument to unary !
    megalogger:485: error: 'write' was not declared in this scope
    megalogger.ino: In function 'void setup()':
    megalogger:640: error: 'class COBDLogger' has no member named 'begin'[/code]
  • You Reply: Hi, just tried to upload megalogger.ino with updated OBD library. I get the following errors:

    [code]megalogger:88: error: expected class-name before ',' token
    megalogger.ino: In member function 'void COBDLogger::setup()':
    megalogger:113: error: could not convert 'init()' to 'bool'
    megalogger:113: error: in argument to unary !
    megalogger:125: error: 'readSensor' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::loop()':
    megalogger:175: error: 'isValidPID' was not declared in this scope
    megalogger:181: error: 'isValidPID' was not declared in this scope
    megalogger:191: error: 'isValidPID' was not declared in this scope
    megalogger:216: error: 'errors' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::dataIdleLoop()':
    megalogger:288: error: 'getState' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::logOBDData(byte)':
    megalogger:427: error: 'readSensor' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::showECUCap()':
    megalogger:467: error: 'isValidPID' was not declared in this scope
    megalogger.ino: In member function 'void COBDLogger::reconnect()':
    megalogger:481: error: could not convert 'init()' to 'bool'
    megalogger:481: error: in argument to unary !
    megalogger:485: error: 'write' was not declared in this scope
    megalogger.ino: In function 'void setup()':
    megalogger:640: error: 'class COBDLogger' has no member named 'begin'[/code]
  • You Reply: Here is one of my log files, I have not modified the megalogger.ino at all yet except for the SD pin, I have no requirement to use the GPS, so I want to remove all of the GPS code. My intentions are to gain access to more PID's and display more diagnostic info and log the results. I will probably leave the accelerometer code just to see what it does. What are your intentions for the project, apart from getting it to run stable?

    I have no idea what these results are meant to display. The third column looks like the rpm values with 0 and 12 thrown in the mix.

    [code]44376,10C,0
    69,10C,0
    79,111,12
    51,104,0
    87,10C,0
    87,10D,0
    71,111,12
    59,10C,0
    84,10D,0
    48,111,12
    60,104,0
    87,10C,0
    87,10D,0
    48,111,12
    59,10C,0
    84,10D,0
    49,111,12
    59,104,0
    53,10C,0
    87,10D,0
    48,111,12
    60,10C,0
    84,10D,0
    59,111,12
    60,104,0
    53,10C,0
    87,10D,0
    60,111,12
    92,10C,0
    332,10D,0
    48,104,0
    57,10C,54
    89,10D,0
    57,111,12
    59,10C,125
    90,10D,0
    54,111,12
    60,104,9
    87,10C,910
    91,10D,0
    56,111,12
    59,10C,1293
    90,10D,0
    53,111,12
    60,104,9
    53,10C,1352
    96,10D,0
    52,111,12
    58,10C,1290
    90,10D,0
    53,111,12
    60,104,7
    54,10C,1173
    92,10D,0
    65,111,12
    93,10C,1043
    90,10D,0
    53,111,12
    58,104,6
    56,10C,976
    90,10D,0
    55,111,12
    60,10C,929
    88,10D,0
    54,111,12
    59,104,6
    55,10C,882
    92,10D,0
    54,111,12
    93,10C,862
    88,10D,0
    55,111,12
    60,104,6
    56,10C,847
    88,10D,0
    56,111,12
    59,10C,835
    89,10D,0
    53,111,12
    50,104,6
    54,10C,832
    90,10D,0
    56,111,12
    91,10C,823
    90,10D,0
    55,111,12
    48,104,6
    54,10C,825
    89,10D,0
    58,111,12
    57,10C,822
    89,10D,0
    54,111,12
    61,104,6
    53,10C,809
    92,10D,0
    54,111,12
    61,10C,810
    86,10D,0
    57,111,12
    60,104,5
    86,10C,793
    92,10D,0
    54,111,12
    59,10C,791
    121,10D,0
    57,111,12
    60,104,5
    53,10C,776
    89,10D,0
    56,111,12
    48,105,91
    54,10C,760
    90,10D,0
    57,111,12
    58,104,5
    88,10C,753
    91,10D,0
    55,111,12
    60,10C,763
    88,10D,0
    56,111,12
    59,104,5
    54,10C,752
    89,10D,0
    55,111,12
    49,10C,761
    88,10D,0
    57,111,12
    59,104,5
    86,10C,764
    91,10D,0
    56,111,12
    60,10C,757
    86,10D,0
    56,111,12
    47,104,5
    55,10C,754
    90,10D,0
    56,111,12
    60,10C,751
    88,10D,0
    55,111,12
    47,104,5
    88,10C,753
    90,10D,0
    57,111,12
    58,10C,748
    89,10D,0
    54,111,12
    49,104,5
    53,10C,751
    83,10D,0
    53,111,12
    58,10C,753
    88,10D,0
    56,111,12
    59,104,5
    55,10C,742
    90,10D,0
    54,111,12
    82,10C,753
    90,10D,0
    55,111,12
    59,104,5
    53,10C,760
    94,10D,0
    53,111,12
    60,10C,743
    86,10D,0
    56,111,12
    59,104,5
    55,10C,751
    91,10D,0
    55,111,12
    82,10C,749
    88,10D,0
    66,111,12
    59,104,5
    54,10C,742
    91,10D,0
    54,111,12
    49,10C,737
    88,10D,0
    55,111,12
    49,104,5
    54,10C,749
    89,10D,0
    57,111,12
    93,10C,748
    88,10D,0
    55,111,12
    71,104,5
    54,10C,737
    90,10D,0
    54,111,12
    60,10C,727
    90,10D,0
    54,111,12
    59,104,5
    54,10C,739
    91,10D,0
    54,111,12
    62,10C,741
    88,10D,0
    53,111,12
    60,104,5
    87,10C,742
    91,10D,0
    89,111,12
    60,10C,748
    88,10D,0
    55,111,12
    61,104,5
    52,10C,749
    90,10D,0
    55,111,12
    61,10C,739
    87,10D,0
    56,111,12
    59,104,5
    90,10C,741
    88,10D,0
    56,111,12
    61,10F,50
    56,10C,745
    86,10D,0
    56,111,12
    59,104,5
    54,10C,745
    92,10D,0
    53,111,12
    60,10C,744
    89,10D,0
    54,111,12
    59,104,5
    89,10C,744
    90,10D,0
    55,111,12
    51,10C,733
    86,10D,0
    55,111,12
    60,104,5
    53,10C,726
    90,10D,0
    56,111,12
    61,10C,728
    86,10D,0
    55,111,12
    61,104,5
    90,10C,736
    89,10D,0
    53,111,12
    59,10C,727
    90,10D,0
    54,111,12
    48,104,5
    54,10C,731
    90,10D,0
    56,111,12
    59,10C,740
    88,10D,0
    56,111,12
    61,104,5
    86,10C,736
    91,10D,0
    54,111,12
    62,10C,733
    88,10D,0
    53,111,12
    61,104,5
    53,10C,731
    91,10D,0
    54,111,12
    60,10C,731
    87,10D,0
    57,111,12
    47,104,5
    54,10C,731
    91,10D,0
    56,111,12
    94,10C,725
    86,10D,0
    55,111,12
    61,104,5
    53,10C,725
    90,10D,0
    56,111,12
    61,10C,741
    88,10D,0
    53,111,12
    60,104,5
    54,10C,722
    91,10D,0
    54,111,12
    83,10C,731
    88,10D,0
    55,111,12
    63,104,5
    51,10C,734
    90,10D,0
    54,111,12
    61,10C,722
    88,10D,0
    54,111,12
    49,104,5
    55,10C,732
    90,10D,0
    55,111,12
    60,10C,745
    89,10D,0
    53,111,12
    60,104,5
    122,10C,735
    91,10D,0
    53,111,12
    61,10C,729
    88,10D,0
    54,111,12
    60,104,5
    55,10C,721
    91,10D,0
    53,111,12
    60,10C,725
    96,10D,0
    47,111,12
    60,104,5
    88,10C,720
    92,10D,0
    53,111,12
    59,10C,736
    88,10D,0
    56,111,12
    49,104,5
    53,10C,733
    91,10D,0
    54,111,12
    60,10C,741
    88,10D,0
    66,111,12
    61,104,5
    89,10C,721
    90,10D,0
    55,111,12
    59,10C,745
    87,10D,0
    55,111,12
    48,104,5
    54,10C,744
    92,10D,0
    54,111,12
    59,10C,732
    88,10D,0
    61,111,12
    56,104,5
    86,10C,720
    91,10D,0
    54,111,12
    50,10C,735
    88,10D,0
    54,111,12
    49,104,5
    53,10C,732
    91,10D,0
    56,111,12
    60,10C,739
    88,10D,0
    53,111,12
    61,104,5
    53,10C,725
    93,10D,0
    53,111,12
    95,10C,721
    88,10D,0
    53,111,12
    59,104,5
    55,10C,735
    91,10D,0
    54,111,12
    60,10C,732
    90,10D,0
    54,111,12
    58,104,5
    66,10C,727
    90,10D,0
    56,111,12
    83,10C,728
    88,10D,0
    54,111,12
    59,104,5
    54,10C,732
    91,10D,0
    55,111,12
    49,10C,733
    88,10D,0
    54,111,12
    49,104,5
    53,10C,733
    92,10D,0
    55,111,12
    81,10C,724
    88,10D,0
    56,111,12
    61,104,5
    53,10C,721
    91,10D,0
    53,111,12
    60,10C,717
    89,10D,0
    54,111,12
    48,104,5
    54,10C,728
    92,10D,0
    54,111,12
    59,10C,729
    88,10D,0
    56,111,12
    [/code]
  • You Reply: [quote="sbirdranch"]
    Matt,
      Thanks so much for the specifics.  I'll give this a try.
      This software and set of hardware needs a wiki in the worst way.  I asked Stanley how we could contribute back to his project, but haven't heard anything.  Seems he has/is at the World Maker Fair.

      I'll let you know how this goes.

    SB.
    [/quote]

    I agree the information is scattered around and those updated libraries are not clear to find. It would have been good to have a getting started guide as I had my connectors in upside down. The breakout I/O board has no schematics and there are no schematics for the obd adapter itself.

    I still cannot get anything on my TFT display when plugged into the obd port. I thought this would be a hardware problem with the adapter power converter. But if you had the same problem then maybe it is something in the programming?
  • You Reply: [quote="sbirdranch"]
    Matt,
      Thanks so much for the specifics.  I'll give this a try.
      This software and set of hardware needs a wiki in the worst way.  I asked Stanley how we could contribute back to his project, but haven't heard anything.  Seems he has/is at the World Maker Fair.

      I'll let you know how this goes.

    SB.
    [/quote]

    I agree the information is scattered around and those updated libraries are not clear to find. It would have been good to have a getting started guide as I had my connectors in upside down. The breakout I/O board has no schematics and there are no schematics for the obd adapter itself.

    I still cannot get anything on my TFT display when plugged into the obd port. I thought this would be a hardware problem with the adapter power converter. But if you had the same problem then maybe it is something in the programming?
  • You Reply: [quote="sbirdranch"]
    I appreciate the offer of help.  I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.

    So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]

    The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]

    The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url]  In fact, the picture on this site is more accurate to what I have.  Mine does not use the double row of pins on the mega.  It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).

    I am not drilled down into the specific pins being used as the card is being driven through a shield.  I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]

    Since my last post I have also tried an 8g class 4 card with the same result.
    [/quote]

    There are updated libraries from here [url=https://github.com/stanleyhuangyc/ArduinoOBD]https://github.com/stanleyhuangyc/ArduinoOBD[/url]. Update all of your libraries and the updated megalogger.ino and other files. I have the same setup, I have an 8GB Sony SDHC SD card working. Go into libraries/SD/utilities open file Sd2Card.h and find the line "#define MEGA_SOFT_SPI 0" change the 0 to 1. Then in the megalogger.ino change the SD pin to pin 10.
  • You Reply: [quote="sbirdranch"]
    I appreciate the offer of help.  I thought this forum was aimed specifically at the Telematics products on ArduinoDev, so I got lazy and didn't put in enough details.

    So the parts I am using are specifically from this kitted group: [url=http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/]http://arduinodev.com/obd-ii-gps-accelerometer-gyro-data-logger-based-on-arduino-mega2560/[/url]

    The card reader is on the back of this TFT display and seems to have been sourced from [url=http://imall.iteadstudio.com]imall.iteadstudio.com[/url]

    The library being used (I belive, haven't verified it yet) is here: [url=https://code.google.com/p/tfttouchshield/]https://code.google.com/p/tfttouchshield/[/url]  In fact, the picture on this site is more accurate to what I have.  Mine does not use the double row of pins on the mega.  It can't as it is plugged into a 'sensor' shield. ([url=http://imall.iteadstudio.com/im120628001.html]http://imall.iteadstudio.com/im120628001.html[/url]).

    I am not drilled down into the specific pins being used as the card is being driven through a shield.  I am running the latest code provided here: [url=http://sourceforge.net/projects/obdcon/files/logger/]http://sourceforge.net/projects/obdcon/files/logger/[/url]

    Since my last post I have also tried an 8g class 4 card with the same result.
    [/quote]

    There are updated libraries from here [url=https://github.com/stanleyhuangyc/ArduinoOBD]https://github.com/stanleyhuangyc/ArduinoOBD[/url]. Update all of your libraries and the updated megalogger.ino and other files. I have the same setup, I have an 8GB Sony SDHC SD card working. Go into libraries/SD/utilities open file Sd2Card.h and find the line "#define MEGA_SOFT_SPI 0" change the 0 to 1. Then in the megalogger.ino change the SD pin to pin 10.
  • You Reply: Are these connectors connected correctly? I had my connectors upside down. When plugged into USB the red LED in the UART adapter lights up. I can see the megalogger program on the TFT screen which I had uploaded and SD detected, but when I plug into my Jeep's OBD port I get a flickering blank screen like the screen is constantly rebooting. After seeing this pic above I reversed the connectors to find that when I plug into USB on PC the screen does not work at all.
    While in the OBD port the screen is still blank but remains on constantly with the power on LEDS on Arduino (green) and I/O board (red) lit. Hopefully I haven't damaged anything while having the connectors reversed but I could not find any instructions and the O/I board has no schematics.