Photobucket


+- +-

+-User

Author Topic: DTADroid - The Android App for DTA ECUs  (Read 1387 times)

0 Members and 1 Guest are viewing this topic.

Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
DTADroid - The Android App for DTA ECUs
« on: June 04, 2014, 09:22:48 pm »
I hope Jason doesn't mind me posting this. Delete if you want to.

Before I talk about the app, I want to say a massive thank you to Trevor Page (Trev16v) who has saved me months of work by helping out with this. He's effectively handed over MSDroid to enable me to build an Android app that works with DTA ECUs. You'll even see it some of MSDroid logos in the video below still, as I haven't worked on making it pretty yet.
Once I have the part of the app that is specific to DTA stabilised and working, I'll be contributing to MSDroid as well. Large parts of the two apps will be the same, so I'll be responsible for the DTA specific part, but we'll be working on the shared bit together.

A bit more information now.

What is it?
DTADroid is an app that is dedicated to the DTA S Series ECUs that will incorporate a dash board, and the ability to log data.
It's at a very early stage of development at the moment, but, with Trev's help today, we hacked together enough code to get the app talking to my DTA ECU. See the brief video below.

What ECUs are supported?
Currently, any DTA S Series ECUs will be supported.
E48 and P8 ECUs may be supported in the future.

What connections are supported?
Connection to the ECU will be via Bluetooth and USB.
These will support the DTA RS232 stream to start with. CAN support will also be added at a future stage.

What hardware is required?
You will require a 15 pin to 9 pin serial cable as DTA use a 15 pin connection, but serial ports only have 9 pins.
You will also either require a Bluetooth dongle, or a USB to RS232 cable.
BT is recommended, as it's not possible to charge an Android phone when using a USB to RS232 cable.

EFI-Parts sell the 15 pin to 9 pin adapter cables here.
MEF Motorsports sell the above adapter and the USB to RS232 cable here.
For the BT dongle, search "BTLink Bluetooth Serial RS232 Adapter" on ebay

A brief video:


What's Next
Next steps are to fix the Rev counter and system voltage data streams, as they're being read incorrectly.
Fix USB comms, as that currently doesn't support the DTA baud rate.
Massive code tidy up. Change hacks into production ready code.

The first release will simply be a dashboard that will be pre-configured. This will be a general release that shows a couple of gauges, and will be used to test the code on as many devices as possible to get the code as stable as possible. This stage is still a couple of months away.

So stay tuned, and I'll keep this thread up to date with any info. :thumbup:
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Share on Facebook Share on Twitter


Offline Smudge

  • Full Member
  • ***
  • Posts: 229
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #1 on: June 04, 2014, 09:50:09 pm »
Lots of work gone into this I bet, well done.
See my MK2 Golf 16v in the members section.


Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #2 on: June 05, 2014, 08:04:44 am »
Yup, 3 years so far by Trev.
Loads to do, but really enjoying it and looking forward to it.  ;D
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Offline Tristan

  • Jr. Member
  • **
  • Posts: 84
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #3 on: June 06, 2014, 12:09:57 am »
In awe. Glad I just got a HTC!

Offline JMR

  • Sr. Member
  • ****
  • Posts: 325
  • Welcome to the JMR forum.
  • Location: Plymouth / Saltash-Cornwall
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #4 on: June 06, 2014, 01:23:51 am »
Mind!!!....there'll be no deleting here!

Top effort...and a huge thanks for posting it on here...great job on Trev's part too...fantastic work guys!!

Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #5 on: June 06, 2014, 09:49:07 am »
Thanks Jason.   ;D

I'll keep this up to date with any developments.
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Offline Tim Moll

  • Sr. Member
  • ****
  • Posts: 266
  • Welcome to the JMR forum.
  • Location: Ripley, Derbyshire
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #6 on: June 06, 2014, 02:13:32 pm »
I wish I knew about code like this as would love to do this to use with my Emerald ECU!  ::)

Top work guys  8)

Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #7 on: June 06, 2014, 03:39:13 pm »
Hi Tim

Long term plans are to support more ECUs. It certainly won't happen this year, but next year we should be in a position to look at further ECU support.
Part of this process is to see what breaks with DTA, so we can get an idea of what's required to support others.

So far, it's not been too bad, but at the moment we're only creating the dashboard. Logging shouldn't be too tricky.

Modifying map settings is going to be a different story. I'm not even sure we can support that, as I don't know if DTA/Emerald etc would give us that information as it's all proprietary.
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #8 on: June 11, 2014, 07:35:52 pm »
More development done. USB and BT working correctly, and all the data streams are being read correctly now.



There's still quite a bit to do, but things are moving along nicely.
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Offline Tim Moll

  • Sr. Member
  • ****
  • Posts: 266
  • Welcome to the JMR forum.
  • Location: Ripley, Derbyshire
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #9 on: June 14, 2014, 03:52:00 pm »
Looking good Tom, something like this may have helped me find the issue with my ECU a little quicker assuming you can read ignition advance?  ;)

Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #10 on: June 14, 2014, 05:39:59 pm »
I think you've confused me with smudge.  ;D

CAN will give you that, but that's not going to be available for a bit.

RS232 supports the following:
RPM
Throttle %
Water Temp C
Air Temp C
Manifold Pressure Kpa
Lambda (Unit Less)
Battery V (X10)
Undriven Wheel Speed Kph (x10)
Oil Pressure Kpa
Fuel Pressure Kpa
Oil Temperature C

I need to add a few of those. I've got Oil Pressure and Temp running to VDO gauges which I can swap to DTA. I then need to add a lambda sensor, which I can just wire up, which saves me buying a lambda gauge.
Then I'd just need a fuel pressure and undriven wheel setup.

CAN supports all the above, as well as the following:
Fuel Con. L/Hr x 10
Gear
Advance Deg x 10
Injection ms x 100
Fuel Con L/100Km x 10

From firmware V62.01 the items below were added.
Ana1 mV
Ana2 mV
Ana3 mV
Cam Advance x 10
Cam Targ x 10
Cam PWM x 10
Crank Errors
Cam Errors

Development priorities are:
Basic dash out as a free app ASAP, hopefully in the next month. Very limited functionality, I want to get the data streams as stable as possible with as many devices as possible.

All the other options will be turned off as they pretty much just crash the app right now.

While the free app being tested, I'll finish building the full app with data logging, fancy customisable dials, etc. which will be released as a paid app.

Then CAN, and digi dash type layouts.
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Offline Tim Moll

  • Sr. Member
  • ****
  • Posts: 266
  • Welcome to the JMR forum.
  • Location: Ripley, Derbyshire
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #11 on: June 15, 2014, 10:51:21 am »
I think you've confused me with smudge.  ;D

Doh sorry I was tired  ::)  :-[

Offline Tim Moll

  • Sr. Member
  • ****
  • Posts: 266
  • Welcome to the JMR forum.
  • Location: Ripley, Derbyshire
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #12 on: June 15, 2014, 10:55:13 am »
If I keep having issues with my Emerald I may have to consider swapping to a different ECU....DTA seems a sensible option?

Offline sparrow

  • Jr. Member
  • **
  • Posts: 69
  • Welcome to the JMR forum.
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #13 on: June 15, 2014, 02:01:29 pm »
My DTA was a bit of a pain in the beginning. I had one of the very first S40s, and it had to go back a couple of times. It's rock solid now though.
It's even survived 4 years just lying on my shelf in the the office!  :D
DTADroid - The Android app for DTA ECUs

More info at www.dtadroid.com

Offline Tim Moll

  • Sr. Member
  • ****
  • Posts: 266
  • Welcome to the JMR forum.
  • Location: Ripley, Derbyshire
    • View Profile
Re: DTADroid - The Android App for DTA ECUs
« Reply #14 on: June 15, 2014, 02:40:31 pm »
My DTA was a bit of a pain in the beginning. I had one of the very first S40s, and it had to go back a couple of times. It's rock solid now though.
It's even survived 4 years just lying on my shelf in the the office!  :D

Interesting....what problems did you have out of interest?  My Emerald is having issues with the Ign map....it keeps 'freezing' at random advance figures, which is what is causing my misfire.

 

+-Recent Topics

JMR – Customer Cars