Open-source OBD adapter

Information and discussion of EFI hardware and specifications
User avatar
hoopstar
Posts: 46
Joined: Thu Mar 21, 2013 7:29 pm
cars: 350 Chev HR Holden (carby)
VK Calais with (soon) VR EFI 304
Location: Adelaide

Open-source OBD adapter

Post by hoopstar »

Thought you guys might be interested in this new, open source adapter that allows you to interface with your car's OBD-II bus. It provides you a serial interface using the ELM327 command set and supports all OBD-II standards:

SAE J1850 PWM
SAE J1850 VPW
ISO 9141-2
ISO 14230-4
ISO 15765-4 CAN
AllPro.png
http://www.obddiag.net/allpro.html
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 »

Interesting. It looks gutsy enough to handle 4x vpw which is what interests me, but would need to be extended to support it. Being open source I assume there is no reason that could not be done with enough work. I think I will look in to that.
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
BennVenn
Posts: 475
Joined: Fri Mar 04, 2016 10:35 am
cars: R33 GTST, '60 Vw Bug, Express (4G63T), GW X200
Location: Windellama, NSW
Contact:

Re: Open-source OBD adapter

Post by BennVenn »

Where is VPW used and why would you need 4 chanels?
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 »

Here: http://pcmhacking.net/forums/viewtopic.php?f=3&t=3111 and not 4 channels, 4 times the speed (high speed) used for pcm flashing.
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
BennVenn
Posts: 475
Joined: Fri Mar 04, 2016 10:35 am
cars: R33 GTST, '60 Vw Bug, Express (4G63T), GW X200
Location: Windellama, NSW
Contact:

Re: Open-source OBD adapter

Post by BennVenn »

That was an interesting read (Intel tech note on J1850 implementation)

Are genuine vpw cables hard to come by? expensive? or just not that common?
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 »

Expensive. Mostly > $200. I used the AVT-852 which is a really nice interface that does a lot of the work for you with bus management in firmware but its costly to begin with and then postage from the USA is also expensive. Then 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 so I think I feel a plan coming on. I hope he sells hardware cheaply, soon.
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
Dylan
Posts: 3355
Joined: Mon Aug 02, 2010 6:35 pm
cars: VR Commodore V8

Re: Open-source OBD adapter

Post by Dylan »

I like where this is going
BennVenn
Posts: 475
Joined: Fri Mar 04, 2016 10:35 am
cars: R33 GTST, '60 Vw Bug, Express (4G63T), GW X200
Location: Windellama, NSW
Contact:

Re: Open-source OBD adapter

Post by BennVenn »

Antus, what is required at the hardware end? Is it simply a media converter from J1850 to RS232? Or must bus management be handled in firmware?
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 »

Minimum requirements is media converter, better if the interface can detect bus collisions and retry. The protocol isnt too hard, implementation of the day is here https://github.com/ObdDiag-Net/allpro/b ... bd/vpw.cpp

4x is literally 4x times faster, and should support packet size up to 4096 bytes plus header.
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 »

antus wrote:Minimum requirements is media converter, better if the interface can detect bus collisions and retry. The protocol isnt too hard, implementation of the day is here https://github.com/ObdDiag-Net/allpro/b ... bd/vpw.cpp

4x is literally 4x times faster, and should support packet size up to 4096 bytes plus header.
Looks good actually. But does need to check the bus a second time when it begins SOF incase of collision. :thumbup:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Post Reply