The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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

Reply
 
Thread Tools Display Modes
Old 04-04-2005, 03:33 PM   #1
Newbie
 
Join Date: Feb 2005
Posts: 45
My Photos: (0)
my OBD II Software

Because of the software I found is not very usable at my carPC, I designed my own software, with an interface bigger.

The software uses the elm interface.

It's multithread: the principal thread reads from the interface, another thread writes to the port, another display the vehicle speed, and other display the motor speed.

There are two pieces of software: one is the principal, to display the info and the other one is to config the software.

The software is customizable: always displays the vehicle speed and the motor speed, and the other info are the pids the user wants to display. The color of the text and the background color are customizable, so the font size of the pid's.

Also, the program is multilanguage, I have the spanish and the english languages, but other are simply to add. Within the file idiomas.ini we put the languages we support, and we have some files with the name of the language and some diferent extensions with the infos (.conf, .obd and .pids). Also we have the file settings.ini to configure some settings, but is better to use OBDConfig.exe to fill that file. With that, we can configure the pids we want to display (the interface supports until 10 pid's). Also we can use it to read from the interface the pids supported by our car.

Because my car only support some pid's, I can't know the format for the other pid's (number of response bytes and how to convert to a number -%, temperature, ...) so I display in byte format.

The software also display if the MIL light is active and the diagnostic trouble codes present (DTC's).

We can configure some timeouts to suit to our car and there a debug mode to display the raw responses, so we can adjust the timeouts.

You can download from: http://212.145.142.35/bp/obd.nsf/obd2.zip

You need the .NET framework to use it, and you also need to register the NetComm.OCX (regsvr32 netcomm.ocx).

More info about pids at mode 01 (the only we read) and other modes like the 09 will be wellcome.

Regards

Last edited by kocke : 04-04-2005 at 03:39 PM.
kocke is offline   Reply With Quote
Sponsored Links
Old 04-04-2005, 03:47 PM   #2
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,948
My Photos: (0)
I wrote a multithreaded OBD II plugin a while back for the ELM that includes a bunch of utility functions for decoding all the standard mode 1 PIDs. Its open source and *gasp* actually commented, so you can see how they are decoded into human readable strings. Download the OBDII SDK from here: http://www.digitalwheelz.com/UbiquityV_Developer.htm
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
god_of_cpu is offline   Reply With Quote
Old 04-04-2005, 04:00 PM   #3
Newbie
 
Join Date: Feb 2005
Posts: 45
My Photos: (0)
Ok, thanks for the info, so i can complete my program

regards
kocke is offline   Reply With Quote
Old 04-05-2005, 05:31 PM   #4
Newbie
 
Join Date: Feb 2005
Posts: 45
My Photos: (0)
I'm working in make it skinnable, in a few days I finish it

regards
kocke is offline   Reply With Quote
Old 04-05-2005, 05:45 PM   #5
Jesus Freak
antimatter's CarPC Specs
 
antimatter's Avatar
 
Join Date: Jan 2004
Location: California
Vehicle: 2006 Mazda Mazdaspeed 6 GT
Posts: 4,277
My Photos: (0)
Which devices does it work with?
__________________
-Jesus- King of Kings Lord of Lords
antimatter is offline   Reply With Quote
Old 04-06-2005, 01:38 AM   #6
Newbie
 
Join Date: Feb 2005
Posts: 45
My Photos: (0)
it uses the elm interface

regards
kocke is offline   Reply With Quote
Old 04-06-2005, 06:08 AM   #7
See me in my wet t-shirt.
 
stevieg's Avatar
 
Join Date: Aug 2003
Location: Warwickshire, UK
Vehicle: Ford Focus MP3
Posts: 1,909
My Photos: (0)
would you consider making it a DLL interface? That way a lot of us, including front end developers would be able to tightly integrate it.

I got somethign similar working, just about but my MPG calculations seem to be a bit out!
__________________
Ford Focus MP3 : www.stevieg.org/carpc
Car PC Status: COMPLETE
stevieg is offline   Reply With Quote
Old 04-06-2005, 06:14 AM   #8
Of Ice and Men
 
LagunaICE's Avatar
 
Join Date: Mar 2005
Location: Czech republic
Vehicle: Renault Laguna 2002
Posts: 782
My Photos: (0)
...and re-consider that deadly .NET dependancy. Or at least list only those DLL's it really depends on.

EDIT: Looking at all the avatars I have strange feeling we have been watched...
LagunaICE is offline   Reply With Quote
Old 04-06-2005, 02:53 PM   #9
Newbie
 
Join Date: Feb 2005
Posts: 45
My Photos: (0)
It may be posible to make a dll, but the software itself is a frontend, the interface is the serial conection. It's a simply connect to to the serial port and request a info and read the response.

But I see dificult to manage from outside (with a dll), because of the timings and the async read of the responses.

regards
kocke is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused about OBD II tom2112 Engine Management, OBD-II, Engine Diagnostics, etc. 30 10-19-2007 01:06 AM
does this connector means i have obd II ? (Buick 95') tomer Engine Management, OBD-II, Engine Diagnostics, etc. 8 09-03-2007 07:03 AM
Skinnable OBD II Software antimatter Engine Management, OBD-II, Engine Diagnostics, etc. 374 08-11-2006 08:55 PM
Looking for Non ELM software for OBD II Refael Azi Engine Management, OBD-II, Engine Diagnostics, etc. 13 07-19-2006 10:32 AM
obd II datalogger building and software backpack09 Off Topic 2 08-22-2002 08:03 PM


All times are GMT -5. The time now is 10:04 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics