Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc. > OBDII GPS Logger


Reply
 
Share Thread Tools Display Modes
Old 06-08-2009, 01:07 AM   #1
Newbie
 
Join Date: May 2009
Posts: 31
longfeltwant is an unknown quantity at this point
obd2kml Road Trip Visualizations

Because my 2005 Jeep Liberty does not have a MAF sensor, it of course can not provide an MAF reading. Instead I have a MAP, with which it is significantly more difficult to estimate instantaneous MPG. Without MPG, the coolest graph produced by obd2kml doesn't have proper coloration.

I decided to look into other cool visualizations I can make. I found the relevant code in /src/kml/obdgpskml.c. There are currently three graphs, by which I mean a layer in the final KML file:

* MPG, Speed & Position
* RPM & Position
* Gear & Position

To be clear, without a MAF sensor, there is no data to calculate MPG. When that graph is generated, the result is an informative error message and the graph is not generated.

In this thread I hope to determine and implement a small set of ideal KML layers to show off road trip data. My vehicle supports the following PIDs:

Code:
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

I am going to start with one that I think makes sense: speed on the height axis and RPM on the color axis. I'm also interested in one for the fuel system: perhaps fuel tank level on the height access and fuel trim (which is a measure of how much is squirting into the cylinders) on the color axis.

I modified the code in /src/kml/obdgpskml.c to produce the speed-RPM-position graph. I cannot attach it to this post because I'm having trouble uploading it.

Is there a way so that when it opens in Google Earth it will zoom straight to the trip data? I have to actually zoom down to Juneau, Alaska.

Does anybody have any other good ideas for how to visualize this data? What other graphs would be interesting? Does anyone know how to provide annotation to the KML? Like, what if we had a utility called "obdgpsnote" which allowed you to type in something like "got gas $35.56 11.21 gallons" then have that appear as a notation in the KML? Does anyone know how to put in photograph links? It would be really great to do that.

Last edited by longfeltwant; 06-08-2009 at 01:58 AM. Reason: adding the file I forgot to attach
longfeltwant is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Speed up Road Runner JohnWPB RR FAQ 4 09-15-2007 02:58 PM
My Road trip Experience.....Still love SD!!! polo6979 StreetDeck 6 10-12-2006 10:34 PM
Road Trip Experience/Issues slojam StreetDeck 8 09-11-2006 02:44 AM
UK Members: Road Trip around Europe in 2006 Confused MP3Car Gatherings 114 02-25-2005 06:46 AM
A smooth shout for my very first mp3 road trip holden_frost General MP3Car Discussion 1 09-20-2002 10:22 AM



All times are GMT -5. The time now is 07:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics