|
 |
06-12-2009, 08:41 AM
|
#1
|
|
Newbie
Join Date: Jun 2009
Posts: 5
|
Dedicated OBD micro controller
Hi, I want to build a dedicated OBD diag computer using one of the common micros available rather than have a whole PC dedicated to it.
Im looking at the Parallal Propeller chip as it has a composite video library ready and is very powerfull! I would output it to my indash display that takes aux video in.
My problem is this...A basic OBDII to serial cable from ebay (£14) doesnt do any protocol conversion and i would need to write OBD libs for the micro to decode the information.
I could use an ELM327 ic, but that in actual fact is just a PIC micro with the protocol conversion already programmed in!
What I need is enough info to decode the basic iso OBDII data myself without needing the ELM chip.
If I can do this without the ELM chip, I could publish the code for anybody to put into a Prop chip and have their own diag computer in a chip
Im no stranger to electronics, coding or micro processors, however I have never dealt with ODBII before. Its specificall the european ISO bus i'm going to work with. Also, I have a Mercedes, so its apparently custom protocol?
I promise to publish my code for free. Can anybody help me with documents regarding the OBDII protocol and the Merc specifics?
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
06-12-2009, 10:46 AM
|
#2
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
OBD2 document can be purchased here:
http://engineers.ihs.com/document/ab...QIACAAAAAAAAAA
What country do you live in, and what modelyear is this Mercedes.
Is it a petrol or a diesel engine?
What exactly do you mean by "european ISO bus".
|
|
|
06-12-2009, 11:23 AM
|
#3
|
|
Newbie
Join Date: Jun 2009
Posts: 5
|
I believe the car uses the ISO 9141 OBDII standard, of the three that are possible.
Its a Diesel A-Class Automatic from 2000.
I dont have the cash to go purchasing documentation, this project is intended to be zero to little cost, hence me wanting to implement in a single micro controller instead of just buying the ELM chip.
While for my single use, this is quite a reasonable cost I want to release the design for others to build, and adding things like the ELM ic makes it a lot harder for people to acheive.
A single IC with composite video out and a OBD connector would be quite a popular project for beginners, I dont think people should have to fit a whole PC in their car or have a Laptop just to get the OBD info.
Ive bought a cable with ELM 323 for initial work on the project so I can design the basic code, show information etc but really want to interface without this added expense for others.
Somebody must have worked directly with the OBDII bus other than the ELM designers?
|
|
|
06-12-2009, 12:50 PM
|
#4
|
|
Mod - OBDII GPS Logger forum
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
|
SAE J1979 is also available directly from SAE for sixty bucks, without having to fill in a form to get purchase information or a sbuscription.
Gary (-;
|
|
|
06-12-2009, 05:25 PM
|
#5
|
|
Newbie
Join Date: Mar 2009
Posts: 6
|
Hack A Day
|
|
|
06-12-2009, 07:11 PM
|
#7
|
|
Newbie
Join Date: Jun 2009
Posts: 5
|
Hi, Thanks but ive seen all the software and adaptors that use an elm327 ic.
I want specificaly to do this without the ELM ic.
What I need are details on the timings for the OBD ISO 9141 protocol, and if possible some info on the data bytes passed for Mercedes specific commands.
My goal is to build a single micro computer that has no ELM in it, connects directly to the OBD port and a composite video monitor.
I am not able to purchase documents as I simply dont have the money. I just had to pay £105 to recover my car from the towing company that stole it from its legal parking place. (yeah, I can dispute it, will they pay the interest on my credit card? pay for the inconvenience of missing my car for days? etc).
I want to do this to help people that cant get or cant afford the ELM route.
I will publish the code for anybody to download and the schematic for anybody to build.
|
|
|
06-12-2009, 07:59 PM
|
#8
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,039
|
You have to pay to play. Chances are if you publich the proprietary Mercedes codes you will get slapped with a Cease and Desist (ever wonder why there's no proprietary info available online?). As for the base 9141 protocol, if you do not want to purchase the document that tells you what this is you will have to do some googling. A quick google search revealed this document: http://archive.evaluationengineering...s/0398auto.htm which may be of some help to you.
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
Last edited by malcom2073; 06-12-2009 at 08:15 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
06-13-2009, 02:28 AM
|
#9
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
Info about OBD2/EOBD can be found here:
http://en.wikipedia.org/wiki/OBD-II_PIDs
But realy you should buy the SAE standards (J1979, J2012) or forget about the project.
|
|
|
06-13-2009, 07:38 AM
|
#10
|
|
Newbie
Join Date: Jun 2009
Posts: 5
|
Well I dont want to forget the project, and cant afford the docs atm.
For now I will build it using my ELM cable and work on the direct obdii later on when the rest is working.
Thanks for the links people, its all appreciated. Ive found a few bits relating to obdii and will work to see what I can do.
I have both the elm cable for working on the main project and a level converter only cable for working on decoding obdii.
|
|
|
06-14-2009, 12:55 AM
|
#11
|
|
VENDOR - ScanTool
Join Date: Dec 2006
Posts: 235
|
Quote: Originally Posted by Pyrofer 
Well I dont want to forget the project, and cant afford the docs atm.
For now I will build it using my ELM cable and work on the direct obdii later on when the rest is working.
Thanks for the links people, its all appreciated. Ive found a few bits relating to obdii and will work to see what I can do.
I have both the elm cable for working on the main project and a level converter only cable for working on decoding obdii.
So, what's the end goal?
Commercial product? One-off dedicated PC for your own use? Open source project?
Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $59.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
|
|
|
06-15-2009, 04:17 AM
|
#12
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
Quote: Originally Posted by Pyrofer 
Its a Diesel A-Class Automatic from 2000.
Sorry, read over this.
This car will only communicate with a Mercedes specific protocol.
I am not even sure it has the 16-pin EOBD-connector.
Notice I say EOBD and not OBD2. OBD2 only applies to vehicles sold in the US or Canada.
In Europe we have EOBD, but the car does not have to comply with that until 2004.
|
|
|
06-15-2009, 04:45 AM
|
#13
|
|
Newbie
Join Date: Jun 2009
Posts: 5
|
Yes, The whole EOBD/OBDII thing is my problem.
Specificaly my project goal is an open source single chip mini-computer that people can connect in to their car/indash tv to monitor the OBD stuff.
Personally, I need to interface with my own car to do the project and that Car is an A-Class. It does have the 16pin connector and I beleive Mercedes were ahead of the game insupporting it, however while im told its iso 9141 and OBDII hardware compatible, I have no doubts that there are custom codes required once the physical connection is made.
It would be a shame if the project died so early because I need a different car to test on!
|
|
|
06-15-2009, 05:15 AM
|
#14
|
|
Constant Bitrate
Join Date: Oct 2008
Posts: 179
|
I have tested a lot of cars, including Mercedes diesels.
The first ones started to communicate in 2002, but everything was rubbish.
Some 2003 models are compliant, but some were not compliant until 2004.
Mercedes started for model year 2001 wit a face lifted A-class and for model year 2004 wit a renewed A-class. Coincidence? I don't think so. 2001 is the model year where petrol engines had to be EOBD compliant, and in 2004 the diesels had to be compliant.
I would start searching for a different test vehicle.
|
|
|
07-18-2009, 02:56 AM
|
#15
|
|
Newbie
Join Date: Jun 2005
Posts: 44
|
If you can pull the obd kline (pin 7) down from 12v to gnd ( via a 510 ohm resistor) at both 5 baud and 10,400 and also listen to that same line then you have all you need to hook up to an iso 9141 compliant system. You should add a similar output control line to the l-line (pin 15) too. There are loads of "KKL" cable interface drawings on the web, or look at sample circuits for the elm for the obd pin interfaces for iso 9141. Then start coding using bit bashing for the K and L lines and check your timings!
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:39 AM.
| |