Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 06-12-2009, 08:41 AM   #1
Newbie
 
Join Date: Jun 2009
Posts: 5
Pyrofer is an unknown quantity at this point
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?
Pyrofer is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-12-2009, 10:46 AM   #2
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
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".
p2psmurf is offline   Reply With Quote
Old 06-12-2009, 11:23 AM   #3
Newbie
 
Join Date: Jun 2009
Posts: 5
Pyrofer is an unknown quantity at this point
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?
Pyrofer is offline   Reply With Quote
Old 06-12-2009, 12:50 PM   #4
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
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 (-;
chunkyks is offline   Reply With Quote
Old 06-12-2009, 05:25 PM   #5
Newbie
 
Join Date: Mar 2009
Posts: 6
mobenaus is an unknown quantity at this point
Hack A Day

I rememeber I had read about this on hackaday.com

May you want this:

http://hackaday.com/2007/11/07/inexp...d-2-interface/

or

http://hackaday.com/2009/05/12/obd-i...-data-logging/



Mauricio
mobenaus is offline   Reply With Quote
Old 06-12-2009, 05:43 PM   #6
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,162
Curiosity will become famous soon enough
http://www.obddiag.net/index.html

Mentioned a long time ago.

Check out the MCP2515 for CAN interfacing.

Doh! Beat me to it.
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam

Last edited by Curiosity; 06-12-2009 at 11:57 PM.
Curiosity is offline   Reply With Quote
Old 06-12-2009, 07:11 PM   #7
Newbie
 
Join Date: Jun 2009
Posts: 5
Pyrofer is an unknown quantity at this point
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.
Pyrofer is offline   Reply With Quote
Old 06-12-2009, 07:59 PM   #8
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,039
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
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.
malcom2073 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 06-13-2009, 02:28 AM   #9
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
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.
p2psmurf is offline   Reply With Quote
Old 06-13-2009, 07:38 AM   #10
Newbie
 
Join Date: Jun 2009
Posts: 5
Pyrofer is an unknown quantity at this point
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.
Pyrofer is offline   Reply With Quote
Old 06-14-2009, 12:55 AM   #11
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 235
Vitaliy is on a distinguished road
Quote: Originally Posted by Pyrofer View Post
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!
Vitaliy is offline   Reply With Quote
Old 06-15-2009, 04:17 AM   #12
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
Quote: Originally Posted by Pyrofer View Post
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.
p2psmurf is offline   Reply With Quote
Old 06-15-2009, 04:45 AM   #13
Newbie
 
Join Date: Jun 2009
Posts: 5
Pyrofer is an unknown quantity at this point
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!
Pyrofer is offline   Reply With Quote
Old 06-15-2009, 05:15 AM   #14
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
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.
p2psmurf is offline   Reply With Quote
Old 07-18-2009, 02:56 AM   #15
Newbie
 
sinclairvital's Avatar
 
Join Date: Jun 2005
Posts: 44
sinclairvital is on a distinguished road
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!
sinclairvital 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
Micro shutdown controller gone crazy? archaic0 MP3Car Products - store.mp3car.com 1 01-30-2009 06:36 PM
Indexing music in 1.0.9.8 Failed hovalistic StreetDeck 0 07-07-2007 12:19 PM
Problem Identifying Touchscreen Controller yingyang006 Input Devices 0 01-08-2007 10:01 PM
Shutdown controller screwc149 Power Supplies 1 11-22-2006 11:38 AM
Xenarc VGA Controller Features 1300mer LCD/Display 0 07-05-2004 01:46 PM



All times are GMT -5. The time now is 01:39 AM.


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