Results 1 to 7 of 7

Thread: Determining Miles per Gallon

  1. #1
    Newbie
    Join Date
    Jun 2005
    Posts
    46

    Determining Miles per Gallon

    Based on the inputs from the OBD-II sensors, how would you determine the current (not average) miles per gallon you are achieving? All I'm interested here is a formula (or more than one formula if multiple ones exist). The programming part I can handle.

  2. #2
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    StevieG did this a while back, but I don't know what to search for. Basically, it's speed / MAF * fueltrim. I can find the thread if you need it.

  3. #3
    Newbie
    Join Date
    Jun 2005
    Posts
    46
    Is it possible to pull this off if the ELM-323 OBD-II adapter I'm using doesn't report a number for MAF? I get the fuel trim, vehicle speed, and RPMs but the MAF sensor reports "N/A".

  4. #4
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    Oh, that's not good. You'll need the mass air flow to figure air / fuel ratio. The MAF is Mode 1, PID 16 (10 hex). You sure it's N/A?

  5. #5
    Newbie
    Join Date
    Jun 2005
    Posts
    46
    Yeah, I think so. I'm using ScanTool 1.08 from http://www.scantool.net/software/sca...et/index.shtml.

    Several other sensor readings come in on the first screen, just not that one.

    I do get these values from the first page:

    Absolute Throttle Position
    Engine RPM
    Vehicle Speed
    Intake Manifold Pressure
    Fuel System 1 Status
    Fuel System 2 Status reports as unused all the time.
    MAF sensor reports as "N/A".
    I think I also got calculated load value & timing advance.

    On the second page:

    Short and Long Term Fuel Trim (Bank 1)
    Bank 2 fuel trim readings come in as "N/A".
    I think I got the intake/coolant temperatures as well.

  6. #6
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    It looks like you have a 4 cylinder. I would think MAF would always be supported though. Is there any way to find out what Mode 1, PID 0 is? That's the PID support bitmask.

  7. #7
    Variable Bitrate
    Join Date
    May 2005
    Location
    Derbyshire, UK
    Posts
    422
    Quote Originally Posted by Curiosity
    StevieG did this a while back, but I don't know what to search for. Basically, it's speed / MAF * fueltrim. I can find the thread if you need it.
    OBDII / Elm MPG meter. Almost working but not quite!
    Old setup
    Epia M10k, Cubid 2699R case, 512MB, 40GB 3.5" drive
    New setup
    Optiplex 260SX (2.8GHz P4, 512MB, 30GB, DVD)
    Xenarc 700IDT, USB hub, 802.11g, bluetooth, P2140, P5V

Similar Threads

  1. 3 miles to roundabout...
    By markbuts3 in forum Map Monkey
    Replies: 5
    Last Post: 09-09-2005, 11:53 AM
  2. 2001 (Y) CELICA VVTL-I 190, 63000 MILES, £8500ono
    By CardiffSupra in forum Classified Archive
    Replies: 0
    Last Post: 07-31-2005, 05:00 PM
  3. Cant change to KM/H from miles
    By kungmpton in forum Map Monkey
    Replies: 1
    Last Post: 06-25-2005, 11:35 AM
  4. For Sale: Lowered 85 Fiero GT
    By Sandstorm in forum Classified Archive
    Replies: 14
    Last Post: 11-17-2004, 10:57 PM
  5. What do you think of my playlist??
    By SkinnyBoy in forum Software & Software Development
    Replies: 19
    Last Post: 07-19-2001, 01:51 PM

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
  •