Page 1 of 49 1234567891011 ... LastLast
Results 1 to 10 of 485
Like Tree2Likes

Thread: OBDMPG - MPG OBDII Plugin for RR 6-12-09

  1. #1
    Variable Bitrate
    Auto Apps:loading...
    mezz64's Avatar
    Join Date
    Nov 2004
    Location
    PA
    Posts
    379
    Blog Entries
    1

    OBDMPG - MPG OBDII Plugin for RR 6-12-09

    After seeing a few requests for some interface between RR and OBDII via an ELM327 interface I decided it was about time for me to release my current progress on my MPG plugin.

    The plugin uses the ELM327 VB6 class posted on these boards a while back by member Erorus to communicate to the vehicle. Without it I'd be nowhere.

    Installation is achieved via an easy to use installer courtesy of mitchjs that can be downloaded below. The only file that needs modified for operation is the obdmpg.ini file located in the plugin folder.



    There is a .ini file that stores current data on hibernate/standby/shutdown as well as defines some variables:
    • COM Port #
    • Baud Rate
    • Engine size in Liters
    • Volumetric Efficiency (VE), This isnt required if you have a MAF, if you don't the 75-90 range works for most 4-cycl vehicles
    • Gas Tank size in gallons or liters
    All Versions can be downloaded here:
    Updated! 06-12-2009
    Latest Version: 1.4.1
    Sample skin files are now included in the installer and should be copied into an existing Carwings installation.

    Skin Commands Text File:
    Updated! 12-18-2008

    Source is also available below. All I ask is that you make any modifications available to the community so others can benefit, otherwise do with it what you wish.

    Please reply with any questions or problems, I'll reply the best I can!

    This plugin is available free of charge and will always remain that way, however if you would like to thank me for my effort feel free to donate via the button below. Make sure to include your username so I can acknowledge you. Thanks!



    Thanks To All Donors!
    agiorgitis - $5
    Gnrgy Ltd - $10
    Attached Files Attached Files
    Last edited by mezz64; 06-18-2013 at 01:17 PM. Reason: Donor recognition
    canstb and cartool008 like this.

  2. #2
    Maximum Bitrate pcpete's Avatar
    Join Date
    Mar 2008
    Location
    Toronto Canada
    Posts
    473
    Thx for this!!
    Definately something I've been looking for...

    I'll give it a try once I get a chance..

  3. #3
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    I would surely love this plugin to evolve into something more that mpg. Thank you for posting it here. Maybe this will be a start to a very good OBDII plugin for our favorite front end.
    The road is long but we are getting there.

  4. #4
    Variable Bitrate
    Auto Apps:loading...
    mezz64's Avatar
    Join Date
    Nov 2004
    Location
    PA
    Posts
    379
    Blog Entries
    1
    As I've mentioned before it's not at all difficult to adjust the plugin to spew out the value from any PID. I just don't know how to do anything but display the value in a label in RR.

    Let me know which PIDS you are interested in displaying and I will add the options to the plugin.

  5. #5
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Hi.
    There are not that many standard PID's that you can insert as you can see here
    http://en.wikipedia.org/wiki/OBD-II_PIDs.

    Displaying the value is all that is needed for a start.
    How about inserting as many PIDs as you can and letting the user decide which ones he requires to display in a RR skin? This way you will not be receiving contiious requests for more PIDs.
    Will you be also making a button for clearing the CEL (check engine light)? This is also one PID.


    Thanks for your effort.
    The road is long but we are getting there.

  6. #6
    Variable Bitrate
    Auto Apps:loading...
    mezz64's Avatar
    Join Date
    Nov 2004
    Location
    PA
    Posts
    379
    Blog Entries
    1
    I'll add a bunch of the standard ones and include True/False enable statements for them in the config. Should have something posted up by the end of the day.

    I have no idea how to do the clear CEL. I don't think the elm327 class i'm using is setup to do that.

  7. #7
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    I think the the clear CEL PID is issued like any other PID. When you issue a PID to the OBD port the ECU decides if it should report back a value or not. The standard PIDs are sent to the ECU and the ECU upon receiving them sends back a value for that PID.
    I think that if you send the PID for the clear CEL and the ECU sees it it will simply clear all the codes and turn off the CEL. I could be wrong though.
    Anyone else have some info about this ?
    The road is long but we are getting there.

  8. #8
    Variable Bitrate
    Auto Apps:loading...
    mezz64's Avatar
    Join Date
    Nov 2004
    Location
    PA
    Posts
    379
    Blog Entries
    1
    Link in first post is updated with the latest build. I've included support for the following PIDs. Make sure "ExtraOBD=True" is set in the config file to see them.
    • PID 05 - Engine Coolant Temp - Skin "ect"
    • PID 06 - Short Term Fuel % Trim Bank 1 - Skin "stft1"
    • PID 07 - Long Term Fuel % Trim Bank 1 - Skin "ltft1"
    • PID 08 - Short Term Fuel % Trim Bank 2 - Skin "stft2"
    • PID 09 - Long Term Fuel % Trim Bank 2 - Skin "ltft2"
    • PID 0A - Fuel Pressure - Skin "fp"
    • PID 0B - Intake Manifold Pressure - Skin "map"
    • PID 0C - Engine RPM - Skin "rpm"
    • PID 0D - Vehicle Speed - Skin "vss"
    • PID 0F - Intake Air Temp - Skin "iat"
    • PID 10 - MAF air flow rate - Skin "maf"
    • PID 11 - Throttle Position % - Skin "tp"
    • PID 22 - Fuel Rail Pressure - Skin "frp"
    • PID 45 - Relative Throttle Position - Skin "rtp"


    The display of these won't affect the MPG functions as that is still the primary purpose of this plugin at the moment.

    It seems as if the Clear CEL command is set in mode 4 but there isn't a PID listed on the wikipedia article to send. If anybody has any ideas i'd be happy to try and implement it, just not sure how.

  9. #9
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,588
    I would suggest that you prefix your labels with something to indicate they come from your plugin, incase someone has or will use the same label names.

    ie

    obd_ect
    obd_stft1
    obd_ltft1

    etc.

  10. #10
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    when you request for vss, the software sends (some time after the initializing AT stuff and the initial 0100\r) 010D\r ; which is "set mode 1", "Send PID 0D", (and process the response).

    Wouldn't it be a more simplistic, 04\r ; which is "set mode 4", (and send nothing else), (and nothing to process)? And that's it (PID's being only an aspect of mode 1 and maybe 9)?

    I thought of it more as it CEL Clear is done by setting mode 4, rather than it being set within mode 4.

    I'm just learning this stuff though.

Page 1 of 49 1234567891011 ... LastLast

Similar Threads

  1. Is there a OBDII BMV2 RR plugin?
    By Dave One in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 13
    Last Post: 10-02-2009, 11:25 AM
  2. OBDII / Elm MPG meter. Almost working but not quite!
    By stevieg in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 105
    Last Post: 08-19-2008, 03:24 AM
  3. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM
  4. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 08:26 PM
  5. OBDII plugin (KL/KKL) ?
    By SyNTaXer in forum CF Plugins
    Replies: 6
    Last Post: 07-28-2006, 05:59 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
  •