Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 03-30-2009, 07:41 PM   #1
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
GaugeDisplay - Got an ELM? Let's talk.

So, I was bored this weekend and I figured I would try to contribute again. I wrote a simple gauge program to provide OBD2 Gauges to frontends which may not have support for it, but do support external program embedding. This has been tested on an ELM327 and ELM322. I have included a simple xml file to show what it's capable of. It is currently set up for COM1 so if your ELM device is on a different COM port then you will need to change the "comport" property under "gauges".

This supports as many values as you define in the xml file, however some may not be implemented in my library, so if you come across one that doesn't work please let me know.

How to use:
Put the program on a computer connected to your car via an ELM based device.
Make sure the xml file matches the com port your ELM is attached to.

In no particular order:
Start the program.
Connect the ELM device between your car and your computer
Start the car.



Edit (4/4/09): Version 0.1 released with a bunch of new skin file features like: the ability to change colors, calculations inside value for things such as fuel consumption calculation, (see the kmh/mph conversion), and the availability of a status label. Screen show below

Edit (4/7/09): Version 0.2 released. Fixed the calculation issues, and included an example for simple MAF based mpg. Also added time between responses from the ELM in the status label. Also added warning (for yellow) and danger (for red) as a percentage (0-100) for each label. Set it to 0 to disable.

Edit (4/21/09): Version 0.3 released. User settable baud rate and fixed an issue where it just plain didn't work for the ELM323 chip. Also the program will attempt to talk to the ELM without resetting it first to speed up initialization, only resetting if necessary.

Edit (7/11/09): This program is no longer supported. There wasn't enough interest to really justify having a separate program, so I've scrapped the project and integrated the OBD2 display into my frontend; RevFE.
Attached Images
 

Last edited by malcom2073; 07-11-2009 at 09:52 PM.
malcom2073 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 03-31-2009, 12:54 AM   #2
Constant Bitrate
 
tom_rosenback's Avatar
 
Join Date: Oct 2006
Location: Finland
Posts: 123
tom_rosenback is an unknown quantity at this point
Looks real sweet! Will test it out tonight!
tom_rosenback is offline   Reply With Quote
Old 03-31-2009, 05:31 AM   #3
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
Here's a preview of the new gauge look. I'm still trying to get the needle to look right.
Attached Images
 
malcom2073 is offline   Reply With Quote
Old 03-31-2009, 05:47 AM   #4
Constant Bitrate
 
tom_rosenback's Avatar
 
Join Date: Oct 2006
Location: Finland
Posts: 123
tom_rosenback is an unknown quantity at this point
Super keep up the good work, maybe you can integrate fuel effiency also? What kind of device/vehicle do you have?
tom_rosenback is offline   Reply With Quote
Old 03-31-2009, 10:53 AM   #5
Low Bitrate
 
Join Date: Mar 2009
Posts: 61
nimikipod is an unknown quantity at this point
i personally think that you are wasting your time. there are allready several programs that could do that same thing - what's te point ?

you want to do something new ? - make you program compatibe with the VAG-COM protocol --> people here will love you and cherish your contribution for a long-long time

H
nimikipod is offline   Reply With Quote
Old 03-31-2009, 02:23 PM   #6
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
Quote: Originally Posted by tom_rosenback View Post
Super keep up the good work, maybe you can integrate fuel effiency also? What kind of device/vehicle do you have?

I have an obdpros ELM327 compatible device, and a 2002 Mazda Protege. I plan on adding the ability to have formulas in the xml file so you can work in your favorite MPG equation


Quote: Originally Posted by nimikipod View Post
i personally think that you are wasting your time. there are allready several programs that could do that same thing - what's te point ?

you want to do something new ? - make you program compatibe with the VAG-COM protocol --> people here will love you and cherish your contribution for a long-long time

H

I have no way of doing that as I don't have a VAG-COM vehicle/adapter. If you think I am wasting my time, then please take your negativity elsewhere. The point is I am doing this for myself, and I figured someone might find it useful. Obviously you do not, I am not forcing you to use it.

Last edited by malcom2073; 03-31-2009 at 02:26 PM.
malcom2073 is offline   Reply With Quote
Old 04-01-2009, 04:13 PM   #7
Newbie
 
pat_vrs's Avatar
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23
pat_vrs is on a distinguished road
I downloaded your app.. modified the XML to use COM2 ...
when i start it.. I can see the form with all gauge.. but nothing happen...

my chip is ELM 323.. do we need to have the new one ?
pat_vrs is offline   Reply With Quote
Old 04-01-2009, 05:33 PM   #8
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
Quote: Originally Posted by pat_vrs View Post
I downloaded your app.. modified the XML to use COM2 ...
when i start it.. I can see the form with all gauge.. but nothing happen...

my chip is ELM 323.. do we need to have the new one ?

Did you download it after yesterday afternoon? I uploaded a new version, which should pop up a message box if it cannot connect to the ELM. Also, did you make sure the ELM was connected and your car started before you started the program?
malcom2073 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-04-2009, 02:45 PM   #9
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
Updated the first post to V0.1. Some notes about the skin.xml file:

<valuespecifiers minval="0" maxval="250" rev="0" values="kmh" function="kmh / 1.609" />

Function takes whatever is defined in "obdvalues" and replaces that with the returned value. You can also define static numbers here, eg:

<valuespecifiers minval="0" maxval="250" rev="0" values="kmh" function="50" />

Would result in the gauge always reading 50. The function parameter supports the 4 main mathematical operations + - * /, as well as parenthesis (). All math is double floating point. You can also have multiple values in there, just as an example:

<valuespecifiers minval="0" maxval="250" rev="0" values="kmh" function="(kmh / rpm) * load" />

If anyone has any issues getting this to work, or any comments/constructive criticism please post them, I appreciate the feedback.
malcom2073 is offline   Reply With Quote
Old 04-06-2009, 01:48 PM   #10
VENDOR - OBDPros
 
Join Date: Mar 2006
Posts: 350
michbound is on a distinguished road
Nice progress, you seem to be working overtime on this .

Are you thinking of adding polygon shapes so you could do irregular shaped gauges ?

Thanks
Paul
michbound is offline   Reply With Quote
Old 04-06-2009, 02:04 PM   #11
Newbie
 
pat_vrs's Avatar
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23
pat_vrs is on a distinguished road
Quote: Originally Posted by malcom2073 View Post
Did you download it after yesterday afternoon? I uploaded a new version, which should pop up a message box if it cannot connect to the ELM. Also, did you make sure the ELM was connected and your car started before you started the program?

no, i'm using the old version (gauges with white background)
didn't have time to test your new version..

but when i start your app (old version) .. RPM show the current value.. but freeze there.. nothing more happen.. (didn't see that before..).. if RPM was 850 at startup.. it'll show 850 until i restart the app.. all others stay at 0.

anyway.. I will test new version soon.. i'll let you know
pat_vrs is offline   Reply With Quote
Old 04-06-2009, 02:10 PM   #12
Newbie
 
pat_vrs's Avatar
 
Join Date: May 2004
Location: Québec, Canada
Posts: 23
pat_vrs is on a distinguished road
I just seen the new pictures.. wow !

can u add calculations for l/100km and/or mpg
like OBDMPG for rr
pat_vrs is offline   Reply With Quote
Old 04-06-2009, 04:01 PM   #13
Constant Bitrate
 
tom_rosenback's Avatar
 
Join Date: Oct 2006
Location: Finland
Posts: 123
tom_rosenback is an unknown quantity at this point
Looks better and better everytime I visit this thread. I can´t get my ELM device to connect with your software. What baudrate is it running? If other than 38400 could you possibly add a config parameter for it so that I can get my device connected?

THX!
tom_rosenback is offline   Reply With Quote
Old 04-06-2009, 05:56 PM   #14
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
Quote: Originally Posted by pat_vrs View Post
can u add calculations for l/100km and/or mpg
like OBDMPG for rr

Yep, turns out the function parser in the current version is broken, but in the next one you will be able to set a gauge to calculate something (like l/100km or mpg).

Quote: Originally Posted by michbound View Post
Are you thinking of adding polygon shapes so you could do irregular shaped gauges ?

I don't think that would be particularly difficult, I am eventually adding support for people to load their own images for gauges so perhaps I'll hold off on irregular shapes until that's in.

Quote: Originally Posted by tom_rosenback View Post
Looks better and better everytime I visit this thread. I can´t get my ELM device to connect with your software. What baudrate is it running? If other than 38400 could you possibly add a config parameter for it so that I can get my device connected?

That's gonna require a change in my library, so that may be a ways off, most ELM devices can connect at 9600 which is why I started there. I'll add it to the request list though


I should have a new version up either later tonight or tomorrow with the fixed function parser and a MPG example included.
malcom2073 is offline   Reply With Quote
Old 04-07-2009, 08:44 PM   #15
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
New version in the top post. I didn't get the faster baud rate working yet, but I'd be curious to see what kind of response times people are getting from this.
malcom2073 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
Elm327 v1.3 chip released glm Engine Management, OBD-II, Engine Diagnostics, etc. 10 10-18-2008 06:55 PM
elm 327 won't talk to PCM..........or maybe it's the other way around....... greatwhite Engine Management, OBD-II, Engine Diagnostics, etc. 1 05-12-2008 10:33 AM
My Thread Mafia - We are still alive :) kevinlekiller Off Topic 115 05-18-2007 09:29 AM
Advice for system?? sseverett Engine Management, OBD-II, Engine Diagnostics, etc. 23 01-11-2007 06:09 PM



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