Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins > RR Released Plugins


Reply
 
Share Thread Tools Display Modes
Old 09-03-2008, 07:32 PM   #1
Variable Bitrate
 
mezz64's Avatar
 
Join Date: Nov 2004
Location: PA
Posts: 327
mezz64 is on a distinguished road
OBDMPG - MPG OBDII Plugin for RR [NEW! 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.
http://rr.johnmihalic.com

Skin Commands Text File:
Updated! 12-18-2008
http://www.johnmihalic.com/obdmpg/skin_commands.txt

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

Screen shots of Carwings implementation:






__________________
98' Honda CR-V
http://www.superbluecrv.com

*OBDMPG, the RR OBD Plugin*

Last edited by mezz64; 08-23-2009 at 11:51 AM. Reason: Added Donors
mezz64 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 09-04-2008, 09:50 PM   #2
Variable Bitrate
 
pcpete's Avatar
 
Join Date: Mar 2008
Location: Toronto Canada
Posts: 435
pcpete is on a distinguished road
Thx for this!!
Definately something I've been looking for...

I'll give it a try once I get a chance..
pcpete is offline   Reply With Quote
Old 09-05-2008, 04:55 PM   #3
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
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.
tolisn is offline   Reply With Quote
Old 09-05-2008, 06:32 PM   #4
Variable Bitrate
 
mezz64's Avatar
 
Join Date: Nov 2004
Location: PA
Posts: 327
mezz64 is on a distinguished road
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.
__________________
98' Honda CR-V
http://www.superbluecrv.com

*OBDMPG, the RR OBD Plugin*
mezz64 is offline   Reply With Quote
Old 09-06-2008, 03:37 AM   #5
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
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.
tolisn is offline   Reply With Quote
Old 09-06-2008, 02:56 PM   #6
Variable Bitrate
 
mezz64's Avatar
 
Join Date: Nov 2004
Location: PA
Posts: 327
mezz64 is on a distinguished road
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.
__________________
98' Honda CR-V
http://www.superbluecrv.com

*OBDMPG, the RR OBD Plugin*
mezz64 is offline   Reply With Quote
Old 09-06-2008, 03:08 PM   #7
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
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.
tolisn is offline   Reply With Quote
Old 09-06-2008, 04:20 PM   #8
Variable Bitrate
 
mezz64's Avatar
 
Join Date: Nov 2004
Location: PA
Posts: 327
mezz64 is on a distinguished road
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.
__________________
98' Honda CR-V
http://www.superbluecrv.com

*OBDMPG, the RR OBD Plugin*
mezz64 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-06-2008, 04:42 PM   #9
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,934
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
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.
Enforcer is online now   Reply With Quote
Old 09-06-2008, 04:55 PM   #10
FLAC
 
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,283
h3rk will become famous soon enough
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.
h3rk is offline   Reply With Quote
Old 09-07-2008, 06:24 AM   #11
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
take a look at this. maybe it will help.
Attached Images
File Type: pdf OBDScanAPI.pdf (38.5 KB, 660 views)
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 09-07-2008, 01:15 PM   #12
Variable Bitrate
 
mezz64's Avatar
 
Join Date: Nov 2004
Location: PA
Posts: 327
mezz64 is on a distinguished road
Quote: Originally Posted by Enforcer View Post
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.

Good idea, i'll get this fixed asap.

Quote: Originally Posted by tolisn View Post
take a look at this. maybe it will help.

That was helpful. Looks like clear CEL requires mode 4, PID 00, and a 4-byte response. Should be no problem to implement. I have no way to test it however.
__________________
98' Honda CR-V
http://www.superbluecrv.com

*OBDMPG, the RR OBD Plugin*
mezz64 is offline   Reply With Quote
Old 09-08-2008, 01:37 AM   #13
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
The link in post 1 points to zip file 0.5(previous version) and not 0.6
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 09-08-2008, 09:26 AM   #14
Variable Bitrate
 
mezz64's Avatar
 
Join Date: Nov 2004
Location: PA
Posts: 327
mezz64 is on a distinguished road
Quote: Originally Posted by tolisn View Post
The link in post 1 points to zip file 0.5(previous version) and not 0.6

Fixed. I'll work on getting the prefixes changed and implementing the CEL stuff today.
__________________
98' Honda CR-V
http://www.superbluecrv.com

*OBDMPG, the RR OBD Plugin*
mezz64 is offline   Reply With Quote
Old 09-14-2008, 02:48 PM   #15
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
Any updates on this ?
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
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
Is there a OBDII BMV2 RR plugin? Davefocus Engine Management, OBD-II, Engine Diagnostics, etc. 13 10-02-2009 12:25 PM
OBDII / Elm MPG meter. Almost working but not quite! stevieg Engine Management, OBD-II, Engine Diagnostics, etc. 105 08-19-2008 04:24 AM
pc reboot on sd startup duanes7 StreetDeck 3 12-14-2007 09:55 AM
IRMAN plugin knyarko StreetDeck 3 01-05-2007 09:26 PM
OBDII plugin (KL/KKL) ? SyNTaXer CF Plugins 6 07-28-2006 06:59 PM



All times are GMT -5. The time now is 05:31 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