Page 4 of 4 FirstFirst 1234
Results 31 to 36 of 36

Thread: Build on Linux

  1. #31
    Constant Bitrate tdb30_'s Avatar
    Join Date
    Aug 2005
    Location
    Central MA
    Posts
    175
    When I run obdgui all I get is greyed out gauges and they don't seem to update or have valid data. Any ideas?

    is there a way to configure what device I'm using vs always having to search for it?

  2. #32
    Newbie
    Join Date
    May 2009
    Posts
    31
    Great new stuff in the code! I will start keeping up with your code regularly.

    I read your code today. I mostly understand what the whole program is doing. I made one modification to the code in main() in the loop that reads the OBD stuff, and I thought that would cause the data to be written to the database, but I didn't do it right. It almost worked, it started a trip, but the trip only lasted a couple seconds into the drive, I later found out. Anyway, it sounds like your modifications today will obviate that problem.

    Here are my supported PIDs

    Code:
    Opening serial port /dev/rfcomm1, this can take a while
    Successfully connected to serial port. Will log obd data
    Your OBD Device claims to support PIDs:
    01: Monitor status since DTCs cleared
    03: Fuel system 1 and 2 status
    04: Calculated LOAD Value
    05: Engine Coolant Temperature
    06: Short Term Fuel Trim - Bank 1
    07: Long Term Fuel Trim - Bank 1
    08: Short Term Fuel Trim - Bank 2
    09: Long Term Fuel Trim - Bank 2
    0B: Intake Manifold Absolute Pressure
    0C: Engine RPM
    0D: Vehicle Speed Sensor
    0E: Ignition Timing Advance for #1 Cylinder
    0F: Intake Air Temperature
    11: Absolute Throttle Position
    13: Location of Oxygen Sensors
    14: Bank 1 - Sensor 1/Bank 1 - Sensor 1 Oxygen Sensor Output Voltage / Short Term Fuel Trim
    15: Bank 1 - Sensor 2/Bank 1 - Sensor 2 Oxygen Sensor Output Voltage / Short Term Fuel Trim
    18: Bank 2 - Sensor 1/Bank 3 - Sensor 1 Oxygen Sensor Output Voltage / Short Term Fuel Trim
    19: Bank 2 - Sensor 2/Bank 3 - Sensor 2 Oxygen Sensor Output Voltage / Short Term Fuel Trim
    1C: OBD requirements to which vehicle is designed
    20: PIDs supported 21-40
    21: Distance Travelled While MIL is Activated
    Although OBD code 10 should be for mass airflow, check out the output I was getting on my trip today:

    Code:
    maf=5.000000
    throttlepos=19.607843
    gpspos=58.303665,-134.409302,50.500000
    temp=95.000000
    rpm=1530.000000
    vss=8.000000
    OBD reported NO DATA for cmd 10: NO DATA
    
    >
    maf=8.000000
    throttlepos=22.745098
    gpspos=58.303696,-134.409241,50.200001
    temp=95.000000
    rpm=1796.000000
    vss=13.000000
    OBD reported NO DATA for cmd 10: NO DATA
    That is two consecutive rows which were typical of what I got on my trip. So in the first line it reports the maf reading, and on the last line it says it can't read command 10.

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Currently, it's all configurable via compile-time options [just open ccmake and take a look].

    Perhaps you could start another thread if you need more specific help? This thread's turning into a pretty huge mess :-)

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

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Although OBD code 10 should be for mass airflow, check out the output I was getting on my trip today
    Well, that's kinda odd. Can you enabling serial logging and attach it to this forum?
    --serial-log=obdcomms.txt

    For that matter, I think we've cross into "new topic material", everything going into this single thread is a pain for me to keep mental track of; please could you start a new thread specifically trying to solve that MAF problem?

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

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    longfeltwant: New thread for your MAF problem here: MAF NO DATA Problem

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

  6. #36
    Newbie
    Join Date
    May 2009
    Posts
    31
    Hi tb30, yeah the GUI isn't the best place to start. If you have it built, the best place to start is with obdgpslogger on the command line. But before you get to that, there is some work to configure and connect your GPS and OBD devices, then to start GPSD, then to start obdgpslogger. Have you set up your GPS and OBD devices?

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. Beta: CCarProject
    By BenjaminS in forum MacCar
    Replies: 157
    Last Post: 09-27-2006, 01:25 AM
  2. Silverwolf linux frontend
    By intuitionsys in forum Software & Software Development
    Replies: 2
    Last Post: 12-02-2005, 03:10 PM
  3. Girder for Linux?
    By kbyrd in forum Linux
    Replies: 2
    Last Post: 08-02-2005, 10:47 PM
  4. the benifits (& drawbacks) of linux
    By turbocad6 in forum Linux
    Replies: 90
    Last Post: 03-01-2005, 03:02 PM
  5. Linux Login, UPS and Linux Touch Screen
    By polc1410 in forum Newbie
    Replies: 5
    Last Post: 02-11-2005, 11:43 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
  •