It is currently Mon Dec 17, 2018 5:16 am



Post new topic Reply to topic  [ 290 posts ]  Go to page 1, 2, 3, 4, 5 ... 29  Next
Author Message
 Post subject: DTADroid - The Android App for DTA ECUs
PostPosted: Tue Jun 03, 2014 3:18 am 
Offline

Joined: Fri Feb 28, 2014 1:03 pm
Posts: 1139
ECU Model: S40 Pro
Distributor: DTA
Firmware Version: 79
Before I talk about the app, I want to say a massive thank you to Trevor Page (Trev16von ClubGTi) 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:
http://www.efi-parts.co.uk/index.php?productID=184

MEF Motorsports sell the above adapter and the USB to RS232 cable here:
http://www.mefmotorsport.com/shop/en/dt ... -port.html

For the BT dongle, search "BTLink Bluetooth Serial RS232 Adapter" on ebay.

A brief video:
https://www.youtube.com/watch?v=Wt15z2xE-YI

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:


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Tue Jun 03, 2014 11:28 am 
Offline

Joined: Tue Aug 02, 2011 12:08 pm
Posts: 2914
Location: Norn Iron
ECU Model: No ECU
From a logging perspective alone, this is a great thing if it can long all ecu data, and log it fast.

If data can be saved in a fairly standard .csv format, all the better, as most generic log viewers like MLV will work with that format, as well as Excel etc

Great for E48 and S40 users that have no logging at all...and if it removes the hideously slow log downloads with the other ecu's it would be another massive bonus. Plus having to shut the engine off to save those logs.

Plus it's a display too. All good really.


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Tue Jun 03, 2014 11:49 am 
Offline

Joined: Fri Feb 28, 2014 1:03 pm
Posts: 1139
ECU Model: S40 Pro
Distributor: DTA
Firmware Version: 79
I'm expecting logging to be at the same speed as what's displayed on the dash, i.e. at 10Hz. This will need testing with different devices as it will be dependant on the devices being powerful enough.
Logging is started and stopped from the device, it's not dependant on the engine in any way. Logs will obviously be written to the device, so can be accessed at any time.

I've not looked at the log formats yet, I've got a way to go before I get there, but the logs are currently produced in MS formats.
I'll confirm what's available when I get to it.


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Mon Jun 09, 2014 12:09 pm 
Offline
User avatar

Joined: Fri Dec 04, 2009 1:45 am
Posts: 588
Location: Pennsylvania, USA
ECU Model: S80 Pro
Distributor: DTA UK
Firmware Version: 73
This is great and exactly what I wanted to see! I have been putting off going with an AIM dash, etc. because I have to commit to it. This would be great as I have a couple spare Motorola phones and could even pick up a tablet to use as the display. Anxious to see more!

_________________
1992 700RWHP Pump Gas BMW


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Mon Jun 09, 2014 3:07 pm 
Offline

Joined: Fri Feb 28, 2014 1:03 pm
Posts: 1139
ECU Model: S40 Pro
Distributor: DTA
Firmware Version: 79
Great to see all the interest, thanks guys.

So USB is now working properly.
I think I've fixed the RPM problem, will test that tomorrow hopefully.

Then it's on to the interface tidy up. Sleep, who needs it? :lol:


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Tue Jun 10, 2014 4:43 am 
Offline

Joined: Tue Jul 26, 2011 10:15 am
Posts: 126
ECU Model: S60 Pro
Firmware Version: 71
Great job Sparrow (and to Trevor for allowing you to have the code as well), really looking forward to seeing the full thing working :)


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Tue Jun 10, 2014 6:12 am 
Offline
User avatar

Joined: Wed Jul 27, 2011 5:30 am
Posts: 571
Location: New Zealand
ECU Model: S80 Pro
Question: Could you use an external 5V supply and charge the phone and power the USB/serial converter with that? Obviously with a hybrid cable you may have to make in order to do so. I would rather do that personally if able, I prefer wired connections.

And awesome work, I'm really liking the look of this!

_________________
| '94 GSR Lancer | '96 Toyota Carib 20V | '83 Toyota Starlet | www.ignitionautosport.co.nz and also on Google+ |


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Tue Jun 10, 2014 7:17 am 
Offline

Joined: Fri Feb 28, 2014 1:03 pm
Posts: 1139
ECU Model: S40 Pro
Distributor: DTA
Firmware Version: 79
Apparently it is possible, but you may need a custom ROM.

I haven't looked at the details yet, although that's on my to do list. Pretty low priority though, as BT works really well.


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Wed Jun 11, 2014 3:30 am 
Offline

Joined: Tue Jul 26, 2011 10:15 am
Posts: 126
ECU Model: S60 Pro
Firmware Version: 71
Image

:mrgreen:


Top
 Profile  
 
 Post subject: Re: DTADroid - The Android App for DTA ECUs
PostPosted: Wed Jun 11, 2014 6:40 am 
Offline

Joined: Fri Feb 28, 2014 1:03 pm
Posts: 1139
ECU Model: S40 Pro
Distributor: DTA
Firmware Version: 79
:lol: :lol:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 290 posts ]  Go to page 1, 2, 3, 4, 5 ... 29  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC - 5 hours