XK / XKR ( X150 ) 2006 - 2014

OBD2 display in ashtray location

Thread Tools
 
Search this Thread
 
  #401  
Old 10-03-2020, 09:34 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

Update 3.1.0.2 is now available on my website.
The device now auto-detects the engine type.

It scans once for the oil temperature, if it doesn't find it, it knows it's dealing with a 4.2 or 3.5 engine.
When "attempting to connect to OBD2" has been finished, the engine type is shown briefly on screen.


EDIT: see post #413.
 

Last edited by Cabrio Bob; 10-04-2020 at 04:30 AM. Reason: obvious
The following users liked this post:
paulgorringe (10-04-2020)
  #402  
Old 10-03-2020, 10:36 AM
DGL's Avatar
DGL
DGL is offline
Veteran Member
Join Date: Dec 2012
Location: Canada
Posts: 2,994
Received 931 Likes on 609 Posts
Default

Originally Posted by Cabrio Bob
Update 3.1.0.2 is now available on my website.
The device now auto-detects the engine type.
It scans once for the oil temperature, if it doesn't find it, it knows it's dealing with a 4.2 or 3.5 engine.
When "attempting to connect to OBD2" has been finished, the engine type is shown briefly on screen.
Tried to update. Failed to load. I had to copy the firmware.bat over to 3.1.0.2--it was not in the download. My firewall may have taken it out. Ran it. Got the measuring system prompt. Entered "1", return. The ADU read attempted connect to OBD2 then the update crashed. Does the update need to done from the car to connect to the OBD2? I removed the ADU from the car and brought in into my house for the update.
 

Last edited by DGL; 10-03-2020 at 10:57 AM.
  #403  
Old 10-03-2020, 10:57 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

Disable Defender an re-download.
Over here it work as did the older versions
(don't use a Surface Pro)
 
  #404  
Old 10-03-2020, 11:08 AM
DGL's Avatar
DGL
DGL is offline
Veteran Member
Join Date: Dec 2012
Location: Canada
Posts: 2,994
Received 931 Likes on 609 Posts
Default

Originally Posted by Cabrio Bob
Disable Defender an re-download.
Over here it work as did the older versions
(don't use a Surface Pro)
No problem with the download except for the .bat file. I did not use the surface pro. Is the bat file the same as the old version?
 
  #405  
Old 10-03-2020, 11:29 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

It should work with the old one.
Still windows security could mess it up.
 
  #406  
Old 10-03-2020, 11:42 AM
DGL's Avatar
DGL
DGL is offline
Veteran Member
Join Date: Dec 2012
Location: Canada
Posts: 2,994
Received 931 Likes on 609 Posts
Default

Keep getting "can not find path specified. I'm using the same laptop I used to update before. Disabled defender, but that should not be a problem I was able to download it.
 
  #407  
Old 10-03-2020, 11:51 AM
DGL's Avatar
DGL
DGL is offline
Veteran Member
Join Date: Dec 2012
Location: Canada
Posts: 2,994
Received 931 Likes on 609 Posts
Default

Originally Posted by Cabrio Bob
It should work with the old one.
Still windows security could mess it up.

I was downloading the raw code not the compiled bin files. I don't see the download button to press along side of the versions.
Update: Used the EZ-Update and everything is good. I don't know why I was looking for a button along side of the versions to press to update and to download the uncompiled code. All is good. Thanks Bob!
 

Last edited by DGL; 10-03-2020 at 04:51 PM.
  #408  
Old 10-03-2020, 02:51 PM
JackJohn's Avatar
Senior Member
Join Date: Sep 2008
Location: Richmond, TX.
Posts: 728
Received 198 Likes on 140 Posts
Default

Went to the mail box this morning and the ADU had arrived. It was probably there yesterday but I got home too late last night to bother checking for it. It is beautiful. I've not plugged it into the car yet, all of todays hours were already called for. Tomorrow though. Checking the tracker it took twelve days to cross the ocean. After arriving in the U.S. it traveled around the country for six days before finding its way to my mailbox. Interestingly, the tracker says it was delivered to someone at this address. I found it in my parcel lock box this morning. Well, like they say USPS sucks.
 
The following 2 users liked this post by JackJohn:
Cabrio Bob (10-04-2020), DGL (10-03-2020)
  #409  
Old 10-03-2020, 03:55 PM
DGL's Avatar
DGL
DGL is offline
Veteran Member
Join Date: Dec 2012
Location: Canada
Posts: 2,994
Received 931 Likes on 609 Posts
Default

Installed updated ADU in car. It appears to default to 4.2 settings. If I don't press "start" it shows garbage or initialization settings. I might reflash to older version. Not much to gain for 5.0 users.

I've downloaded Arduino and looked at the code. I'm an old software engineer. I've use "C", and many other languages, but not object oriented "C++" or any of the more modern languages. Although, I love the study of algorithms and data structures. I find it difficult to read the code. I looked for the function where you check for 4.2 or 5.0 models, but could not find it. I've seen a MotorIdentify function call or variable but could not find code for it. Just trying to understand the code. There's not a lot of code there, but I'm finding it confusing to understand where it starts (debounce or loop). I'm doing this to just have some fun with it.
 

Last edited by DGL; 10-03-2020 at 07:12 PM.
  #410  
Old 10-03-2020, 08:37 PM
Tolly's Avatar
Junior Member
Join Date: Aug 2020
Location: Victoria BC Canada
Posts: 10
Received 9 Likes on 5 Posts
Default ADU Boost Readings

Hello Bob,

The ADU started up easily as a Plug and Play. Thanks!

The Boost Engine Off:



Boost at Idle:



Boost at 4000 RPM: Will Advise on next drive.

Cheers, Tolly


 
The following 3 users liked this post by Tolly:
Cabrio Bob (10-04-2020), MarkyUK (10-03-2020), paulgorringe (10-04-2020)
  #411  
Old 10-04-2020, 03:12 AM
Retrocket's Avatar
Member
Join Date: Sep 2020
Location: NY/NJ
Posts: 32
Received 14 Likes on 10 Posts
Default

Cabrio Bob,
Wonderful work; Congratulations.
I'm amazed at your technical dexterity; to be able to fine tune and alter the program on the fly, in response to user feedback.
Bob, If a 2nd batch becomes a reality, please include me in the run.
I'd like to purchase 2 units... ( 2007 XK & 2008 XK )
Regards.
Bill
 
The following users liked this post:
Cabrio Bob (10-04-2020)
  #412  
Old 10-04-2020, 04:03 AM
paulgorringe's Avatar
Member
Join Date: Aug 2020
Location: UK Crewe
Posts: 47
Received 64 Likes on 25 Posts
Default

just a quick question for Bob.
If the OBD2 VGate was to fail at some point and I replace it with the same model will I need to do anything coding wise or will it just work?
I am perhaps a bit paranoid that at some point it will fail and I will lose the functionality of the ADU.

Having had it now for a short while I would be devastated to lose it.
 
  #413  
Old 10-04-2020, 04:04 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

Originally Posted by DGL
Installed updated ADU in car. It appears to default to 4.2 settings. If I don't press "start" it shows garbage or initialization settings. I might reflash to older version. Not much to gain for 5.0 users.

I've downloaded Arduino and looked at the code. I'm an old software engineer. I've use "C", and many other languages, but not object oriented "C++" or any of the more modern languages. Although, I love the study of algorithms and data structures. I find it difficult to read the code. I looked for the function where you check for 4.2 or 5.0 models, but could not find it. I've seen a MotorIdentify function call or variable but could not find code for it. Just trying to understand the code. There's not a lot of code there, but I'm finding it confusing to understand where it starts (debounce or loop). I'm doing this to just have some fun with it.
DGL thanks for the feedback.

On my webpage I reverted back to the old firmware (partially). I removed the auto-detect function.
And added the 3.5 motor variant.

The code:
it starts in Setup() at the bottom, and then switches to loop(). The name says it all - this one "loops", and has refers to other locations in the code.
The "debounce" is a function that "repairs" the button from behaving erratically, and defines the long and short press.
 
The following users liked this post:
DGL (10-04-2020)
  #414  
Old 10-04-2020, 04:08 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

Originally Posted by Tolly
Hello Bob,

The ADU started up easily as a Plug and Play. Thanks!

The Boost Engine Off:

Boost at Idle:

Boost at 4000 RPM: Will Advise on next drive.

Cheers, Tolly
Tolly, thanks for the boost data.
The idle reading looks to be similar to what Rahtok has.
When the 4000 data is known, I can estimate a new equation for the boost. (if I know what the real value at 4000rpm should be)
 
  #415  
Old 10-04-2020, 04:11 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

Originally Posted by Retrocket
Cabrio Bob,
Wonderful work; Congratulations.
I'm amazed at your technical dexterity; to be able to fine tune and alter the program on the fly, in response to user feedback.
Bob, If a 2nd batch becomes a reality, please include me in the run.
I'd like to purchase 2 units... ( 2007 XK & 2008 XK )
Regards.
Bill
Bill, I've added you to my "2nd round" list. (2x)
 
The following users liked this post:
Retrocket (10-04-2020)
  #416  
Old 10-04-2020, 04:19 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

Originally Posted by paulgorringe
just a quick question for Bob.
If the OBD2 VGate was to fail at some point and I replace it with the same model will I need to do anything coding wise or will it just work?
I am perhaps a bit paranoid that at some point it will fail and I will lose the functionality of the ADU.

Having had it now for a short while I would be devastated to lose it.
If you get the exact same model you should be good to go.
This This
is a good example of the same ELM327 model.

when start using a new ELM327, it is recommended to run the "ESP32 EZ-reset tool" from my website once (use option 1 and 2, and 1 again).
then re-upload the firmware.
 

Last edited by Cabrio Bob; 10-04-2020 at 04:41 AM. Reason: link update
The following 2 users liked this post by Cabrio Bob:
DGL (10-04-2020), paulgorringe (10-04-2020)
  #417  
Old 10-04-2020, 05:46 AM
tmich's Avatar
Senior Member
Join Date: Aug 2020
Posts: 425
Received 228 Likes on 112 Posts
Default

Please consider me as interested for the second batch (one piece, for a 5.0s/c). Thanks
 
  #418  
Old 10-04-2020, 06:22 AM
arenaej's Avatar
Senior Member
Join Date: Oct 2018
Location: Coatesville, PA
Posts: 318
Received 305 Likes on 149 Posts
Default

Hi Bob,
Please add me to your 2nd round list. Thanks.
 
  #419  
Old 10-04-2020, 08:33 AM
DGL's Avatar
DGL
DGL is offline
Veteran Member
Join Date: Dec 2012
Location: Canada
Posts: 2,994
Received 931 Likes on 609 Posts
Default

Before getting the ADU from Bob I used an ELM327 paired to a Torque Pro app on my phone. I also used my phone to stream music to a Bovee 1000; this setup was cumbersome and problematic, not seamless. Bob's ADU is a quality addition to our Jaguar's and can be the difference between a baked engine and a saved engine. All Jaguar's and Land Rover's with the 5L engine, I can't speak of the 4,2L because I don't own one, should have Bob's ADU if not equipped with a coolant warning gauge. It is well documented on this forum our 5L engines can quickly overhead from a defective plastic coolant hose or failed water pump. Furthermore, Bob's ADU offers much more than a coolant gauge and did I say it looks OEM.

Feedback on ELM327 vs VGate: I always put my car on a battery maintainer. I've noticed the ELM327 does not go to sleep, even when using the double lock to shut down the electronics. My charger always showed a persistent battery drain with the ELM327 connected (I use to remove it to avoid this). With the VGate there is no, or very little persistent battery drain (my battery maintainer does not detect it). Consequently, I leave the VGate OBD2 dongle plugged in all the time. The connection to the ADU is seamless and streaming music to the Bovee 1000 (quality sound through bluetooth) is now also seamless (pairing 2 apps to my phone, torque pro and Bovee 1000 proved problematic) with no need to keep initiating apps from my phone and messing around. When I get in my car everything fires up and links with no need to plug anything in or apps to initiate.
 
The following 4 users liked this post by DGL:
barnsie (10-04-2020), Cabrio Bob (10-04-2020), paulgorringe (10-04-2020), ralphwg (10-04-2020)
  #420  
Old 10-04-2020, 09:01 AM
Cabrio Bob's Avatar
Senior Member
Thread Starter
Join Date: Apr 2020
Location: Netherlands
Posts: 301
Received 312 Likes on 147 Posts
Default

So there seems to be a 2nd round announced.

Let's start it then!

This time it will be a little different:
- I will only supply the soldered electronics, the USB cable and the button cap (Tolly where is your button cap?)
- The 3D print you can have it printed yourself using MJF or SLS Nylon technique and (have it) painted or stained.
- For example, select a 3D print service from this list (and download the 3D print zip file from my website).
- The ELM327 "Vgate iCar Pro 4.0 bluetooth" you can order yourself (source 1 (UK) source 2 (US) source 3 (DE) source 4 (Ali))
- Ordering a different type of ELM327 device is not recommended.
- The cig power socket you can order yourself, I got these or these. (or get an other low profile one)
- ordering a 2nd one as spare is allowed.
- Folks from the 1st round will need to enlarge the USB cable hole to 8mm. (or use the current USB cable)

I am asking €58.50 for the electronics-only device ex shipping.

If you still want to be on the 2nd round list, post it here or send me a private message.

There will be no limit to the length of the 2nd round list, but sign-up will close on Oct. 25 2020 11:00 AM CEST (UTC+2)
After that, I know how many electronic parts I have to order. Some of these will come from China so will have a long delivery time.
 

Last edited by Cabrio Bob; 10-04-2020 at 09:17 AM. Reason: added USB recommendation, added Nylon (important)
The following 9 users liked this post by Cabrio Bob:
barnsie (10-04-2020), DGL (10-04-2020), fxdwg (10-21-2020), guy (10-06-2020), jtdii123 (10-04-2020), paulgorringe (10-04-2020), paXKid (10-04-2020), Rahtok (10-05-2020), ralphwg (10-04-2020) and 4 others liked this post. (Show less...)


Quick Reply: OBD2 display in ashtray location



All times are GMT -5. The time now is 12:13 PM.