Open-source OBD adapter

Information and discussion of EFI hardware and specifications
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Open-source OBD adapter

Post by antus »

Oh yeah and bonus points for being able to automate sending a keep alive message at regular intervals and also RX filtering. What the AVT can do writes on the book on good interface capabilities. See page 73.
Attachments
AVT-85x_UM_Vol_1_rev_270A.pdf
(621.13 KiB) Downloaded 406 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Open-source OBD adapter

Post by antus »

It looks like this adapter has existed since 2009, but based on a PIC processor previously. http://www.electronics-lab.com/obd2-elm ... -with-usb/ the pic shows the err pic version and the link is to the same page as the first post here. The pic source code no longer seems to be available and it looks like he used to sell the boards but nothing is listed for sale currently.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
Tazzi
Posts: 3422
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Open-source OBD adapter

Post by Tazzi »

Ahhh!! I wondered why the name seemed so familiar! Came across that design before.

Maybe hes just been working on it slowly over the years.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Open-source OBD adapter

Post by antus »

Im getting a couple of these made up to see what they can do. They arnt cheap to make, but the code compiles with no errors or warnings so will be interested firstly to see if it does what it says on the tin. Someone on the hack-a-day article said their fab shop complained that the suplied gerbers are missing the bottom silk screen layer in the zip, but i read that as no printing on the bottom. The fab house i use didnt have any problems with it anyway.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
ejukated
Posts: 443
Joined: Wed Mar 04, 2009 8:52 pm

Re: Open-source OBD adapter

Post by ejukated »

antus wrote:Im getting a couple of these made up to see what they can do. They arnt cheap to make, but the code compiles with no errors or warnings so will be interested firstly to see if it does what it says on the tin. Someone on the hack-a-day article said their fab shop complained that is missing the bottom silk screen layer in the gerber zip, but i read that as no printing on the bottom. The fab house i use didnt have any problems with it anyway.
What made it expensive? was it because its surfacemount or the IC's are dear?
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Open-source OBD adapter

Post by antus »

I dont have time to build and they charge per smt solder point for assembly. So its a 48 pin main ic to begin with and then the rest. Lots of solder points. Plus initial costs for cutting a solder mask for this case a quantity of 3 boards. For a small quantity like this its not worth the expensive machine setup costs to gain the efficiency and lower price of fully automated assembly (nothing ive done to date has worked out worth it). Through hole tech (THT) is more expensive than surface mount (SMT).
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
AndyFahey
Posts: 1
Joined: Tue May 03, 2016 11:53 pm
cars: Polo

Re: Open-source OBD adapter

Post by AndyFahey »

There are J2543 cables in many forms, including expensive options like drewtech mongoose pro GM 2 and cheaper options like MDI clones from China. All of these are expensive also, and the J2543 spec is overly complex and hard to write for. A cheap device like the above which does support 4x and large packets would solve the hardware problems. The hardware looks capable and the software is GPL.
Last edited by AndyFahey on Thu Dec 02, 2021 6:17 am, edited 2 times in total.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Open-source OBD adapter

Post by antus »

Yes this is true.

My boards arrived today, but so far no good. The manufacturer has installed transistors instead of 5v regulators. No smoke (it survived I think, but there was heat) so i'll need to source some replacement regs and repair by hand before I can try again. You can see IC6 is a BC547 rather than an L78L05... I havnt spotted any other issues yet, but there may be....

There was also some confusion at the manufacturers about the orientation of the main chip. It turned out the picture on the obd2 board shot in the first post was incorrect and they noticed and didnt duplicate the mistake! I reported this back to obddiag.net and today the pic they have on their site looks correct.
Attachments
obdpro-1.jpg
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
viya0414
Posts: 1
Joined: Tue Nov 21, 2017 1:17 pm
cars: toyota
Contact:

Re: Open-source OBD adapter

Post by viya0414 »

A cheap device like the above which does support 4x and large packets would solve the hardware problems. The hardware looks capable and the software is GPL.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Open-source OBD adapter

Post by antus »

Yes, it is capable. I hacked a proof of concept in to it with success but it was messy. In the end I decided I wasnt happy with the code quality. The elm protocol sucks because you have to send 2 bytes for every byte of data. I was able up size the buffers to about 180 chars with no significant changes which allowed for about 80 bytes of actual VPW data after converting it back to binary on the interface before VPW transmission. It was an OK proof of concept, but needs a closer look and a cleaner implementation. Modifying the firmware to support a protocol more similar to the AVT was something I didnt have time to do. The timing requirements were pretty straight forward, though. The firmware was not stable with a buffer larger than about 180 bytes, but it totally would be possible if it was written properly.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Post Reply