Page 8 of 109

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 8:56 am
by Tazzi
Charlescrown wrote:Still no good here. It times out after 3 attempts. I tried a Chinese copy and connected it to a car but it still times out.
That's with the latest version to.
I know of 1 specific code Holden has. It's the oil pressure switch. It's not a generic OBD2 code and can't be read with any software I have.
Sorry to hear its doing that Charles!. Bugs me that its not working on your behalf.

I did that update fairly late last night... sooo Im hoping I didnt make any mistakes!, all iv done is add the new commands eg ATH1, and used the working elm response function to obtain the answer.

Only way that we can see what your cable is actually doing is by you running that serial port monitor and then using some other software with it. eg easyOBDII, or anything that connects to your cables.

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 10:31 am
by antus
before you go too far with this, have you considered writing it as an ADX for tunerpro instead of a stand alone app? vn5000 wrote an adx, but nobody has been able to get it to work. There are a couple of versions available in this thread http://pcmhacking.net/forums/viewtopic.php?f=10&t=1320

Also see Jaymes avt adx here: http://pcmhacking.net/forums/viewtopic.php?f=10&t=2314

If you go this way the logging engine part is done :)

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 12:18 pm
by Tazzi
antus wrote:before you go too far with this, have you considered writing it as an ADX for tunerpro instead of a stand alone app? vn5000 wrote an adx, but nobody has been able to get it to work. There are a couple of versions available in this thread http://pcmhacking.net/forums/viewtopic.php?f=10&t=1320

Also see Jaymes avt adx here: http://pcmhacking.net/forums/viewtopic.php?f=10&t=2314

If you go this way the logging engine part is done :)
Thats true, never been very proficient with TP. Whenever Iv tried to use it on my VY, it never synced properly and gave mumbo jumbo unfortunately.

Anyway, to extract the good info form the tech2, ill need to develop a proper logger so that I can begin manipulating the responses, either way have to get a working app to do the work. Once any/all holden specific codes have been taken, these can be applied to the adx.. or that can be the next project to get that working!

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 12:42 pm
by Tazzi
Quick test using elm emulator.. Promising results!

Code: Select all

[10:39:09:713]   Attempting to Connect to Comport...
[10:39:09:715]   Searching for Device...
[10:39:09:777]   ELM Device Successfully Found!
[10:39:09:778]   Checking ELM Status..
[10:39:09:778]   ELM is Idle
[10:39:09:779]   Disabling Echo...
[10:39:09:808]   Echo Disabled Successfully!
[10:39:09:809]   Checking ELM Status..
[10:39:09:810]   ELM is Idle
[10:39:09:810]   Disabling LineFeed...
[10:39:09:840]   LineFeed Disabled Successfully!
[10:39:09:841]   Checking ELM Status..
[10:39:09:841]   ELM is Idle
[10:39:09:842]   Enabling Headers...
[10:39:09:873]   Headers Enabled Successfully!
[10:39:09:873]   Checking ELM Status..
[10:39:09:874]   ELM is Idle
[10:39:09:875]   Setting Headers...
[10:39:09:904]   Custom Headers Set: 686AF1
[10:39:09:905]   Checking ELM Status..
[10:39:09:906]   ELM is Idle
[10:39:09:906]   Checking Input Voltage..
[10:39:09:937]   Voltage Found!
[10:39:09:938]   Checking ELM Status..
[10:39:09:938]   ELM is Idle
Connected, setup required settings and all within ~200ms. :thumbup:

Been reading up that the device may only work with plugged into the car with ignition on. Apparently if I send ATIGN (Something like that) it will check whether ignition is on. So I guess it can only pull answers from pcm with ignition on, but as long as its plugged into the obd2 port, it *technically* should be working.

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 1:00 pm
by antus
just stumbled across this. The elmconfig tool looks interesting, you might be able to learn something from it.

http://www.jamessimpson.co.uk/elmconfig ... functions/

Incase that link dies, heres a link to the elm config page: http://civil.iffc.ru/ELMConfig/

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 1:29 pm
by Charlescrown
Still cant get to link. I tried using it under Windows XP but still can't get it to see ELM. I looked at my port speed and it's fixed to 9600 and I can't change so looks like I will have to wait for more development.

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 1:35 pm
by Tazzi
Ah thats good, cool hack there for fords.

Found this interesting too..just the concept on how to go about reversing what each button does and manually control the output.
http://theksmith.com/technology/hack-ve ... sy-part-1/

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 1:39 pm
by Tazzi
Charlescrown wrote:Still cant get to link. I tried using it under Windows XP but still can't get it to see ELM. I looked at my port speed and it's fixed to 9600 and I can't change so looks like I will have to wait for more development.
Should have the choice of either 9600 or 38400 in the app if that helps? But apart from that, not sure what Im missing on your end!

Might have to wait till I get mine an see if it successfully hooks up.

Anyone, feel free to test and see if it connects happily!

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 2:35 pm
by delcowizzid
tested and working here its far from VANILLA LOL

Re: ELM327 Software Development

Posted: Mon Sep 23, 2013 2:40 pm
by Tazzi
delcowizzid wrote:tested and working here its far from VANILLA LOL
Great news! With that said, lets try out the custom command send/receive. Or maybe just basic data request first.

Yeah.. its look pretty... different.. just a bunch of boxes and stuff at the moment!