DL-1 Serial ECU Interface - Megasquirt?

Support

Postby Support » Tue May 26, 2009 1:44 pm

Thanks for the information, it is now with our hardware people who will have a look to. I will post their findings here as soon as they are available.

cguenther
Posts: 36
Joined: Sun Jan 25, 2009 11:12 pm

Postby cguenther » Tue May 26, 2009 6:30 pm

Dear Martin,

ive extracted the required informations for you.

; fast get via serial
ochGetCommand = "A"
ochBlockSize = 146 ; extra checksum byte

pulseWidth1 = scalar, U16, 2, "s", 0.000666, 0.0
pulseWidth2 = scalar, U16, 4, "s", 0.000666, 0.0
rpm = scalar, U16, 6, "RPM", 1.000, 0.0
advance = scalar, S16, 8, "deg", 0.100, 0.0
afrtgt1 = scalar, U08, 12, "AFR", 10.00, 0.0
afrtgt2 = scalar, U08, 13, "AFR", 10.00, 0.0
map = scalar, S16, 18, "kPa", 0.100, 0.0
mat = scalar, S16, 20, "°C", 0.05555, -320.0
coolant = scalar, S16, 22, "°C", 0.05555, -320.0
tps = scalar, S16, 24, "%", 0.100, 0.0
throttle = { tps }, "%"
batteryVoltage = scalar, S16, 26, "v", 0.100, 0.0
afr1 = scalar, S16, 28, "AFR", 0.100, 0.0
afr2 = scalar, S16, 30, "AFR", 0.100, 0.0
lambda1 = { afr1 / 14.7 }, "Lambda"
lambda2 = { afr2 / 14.7 }, "Lambda"
checksum = scalar, U08, 145, "", 1,0 ; XOR checksum for tuning software to validate data. Not presently used by existing tuning s/w

The Block given by the ecu is 146 bytes long. above you have the length and type (signed, unsigned), offset, name, resolution and zero-value.

is that what youve asked for?

best regards
carsten

planet6racing
Posts: 3
Joined: Mon May 18, 2009 6:01 pm

Postby planet6racing » Wed May 27, 2009 6:14 pm

Carsten:

THANK YOU for taking the lead on getting them the information that they will need to get this going. Once they've gotten it figured out, we'll all owe you some of your favorite frosty beverage!

Bill H.
Planet 6 Racing
Saturn SL2 - SCCA FP

GregAmy
Posts: 9
Joined: Wed Dec 28, 2005 5:16 pm

Postby GregAmy » Fri Jul 03, 2009 3:21 pm

Monthly bump for an update? Got some interested customers...

cguenther
Posts: 36
Joined: Sun Jan 25, 2009 11:12 pm

Postby cguenther » Sat Jul 04, 2009 6:01 am

Hi,

this was the last mail i received from Martin on 04.06.2009:

Hi Carsten,
We are just starting to program this and I have a query. Can you please
look over the following manual decoded data for the data stream...

ochGetCommand = "A"
ochBlockSize = 146 ; extra checksum byte

pulseWidth1 = scalar, U16, 2, "s", 0.000666, 0.0
pulseWidth2 = scalar, U16, 4, "s", 0.000666, 0.0
rpm = scalar, U16, 6, "RPM", 1.000, 0.0
advance = scalar, S16, 8, "deg", 0.100, 0.0
afrtgt1 = scalar, U08, 12, "AFR", 10.00, 0.0
afrtgt2 = scalar, U08, 13, "AFR", 10.00, 0.0
map = scalar, S16, 18, "kPa", 0.100, 0.0
mat = scalar, S16, 20, "°C", 0.05555, -320.0
coolant = scalar, S16, 22, "°C", 0.05555, -320.0
tps = scalar, S16, 24, "%", 0.100, 0.0
throttle = { tps }, "%"
batteryVoltage = scalar, S16, 26, "v", 0.100, 0.0
afr1 = scalar, S16, 28, "AFR", 0.100, 0.0
afr2 = scalar, S16, 30, "AFR", 0.100, 0.0
lambda1 = { afr1 / 14.7 }, "Lambda"
lambda2 = { afr2 / 14.7 }, "Lambda"
checksum = scalar, U08, 145, "", 1,0 ; XOR checksum for

Here is a sample packet

A1_Description=MAP_84.1,rpm_1000, coolant_165, air_120

A1=09 CB 15 01 15 01 03 EB 00 64 03 09 93 93 01 01 03 48 03 49 04 B1 06 82
03 20 00 66 00 78 00 78 00 00 00 64 00 64 00 5B 00 65 00 00 00 64 00 6C 00
62 03 5B 03 5B 00 25 00 00 00 00 00 00 00 18 00 00 03 49 00 64 00 00 00 00
00 EB 00 EB 18 00 00 00 05 9E 00 00 03 33 00 00 03 49 00 00 00 00 00 00 00
00 00 00 00 00 01 F5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4E 00 3D 00 00 00 00
00 00 00 08

Pulse width 1 0x1501 = =5377 x 0.000666 = 3.581s
RPM 0x03EB = 1003 RPM
Advance 0x0064 = 100 x 0.1 = 10 degrees
Manifold pressure 0x0349 = 841 x 0.1 = 84.1 kpa
Ambient air temperature (mat) 0x04B1 = (1201-320) x 0.0555 = 48.9 C
Coolant temp = 0x0682 = (1666 - 320) x 0.05555 = 74.7 C
Throttle position (TPS) 0x0320 = 800 x 0.1 = 80%
Battervoltage 0x0066 = 102 x 0.1 = 10.2v
Afr1 = 0x0078 = 120 x 0.1 = 12


All the figures look sensible except for the pulse width. Is it possible
that this actually gives the pulse width in ms rather than in seconds?

Martin

WillM
Posts: 84
Joined: Wed Dec 27, 2006 11:00 pm

Postby WillM » Thu Aug 13, 2009 9:20 pm

Happy birthday to this question! :lol: :lol:

Tomorrow marks the one-year anniversary of my original post!

I'm glad to read about some progress. Any updates?

I will commit to buying a serial adapter and serving as a test mule, as long as we can collaborate and get things working correctly within a reasonable amount of time (and as long as I could return the cable should it not work out in the end).

Would that be helpful?

planet6racing
Posts: 3
Joined: Mon May 18, 2009 6:01 pm

Postby planet6racing » Wed Sep 23, 2009 9:47 pm

How about now? Any new updates?

What will it take to make this happen? Is this project resource limited, or is there something else keeping it from happening?

Thank you,
Bill H.
Planet 6 Racing
SCCA FP #92 - Saturn SL2

Support

Postby Support » Tue Sep 29, 2009 10:41 am

We have the firmware ready to go, just need someone to test it :D

cguenther
Posts: 36
Joined: Sun Jan 25, 2009 11:12 pm

Postby cguenther » Wed Oct 14, 2009 6:20 am

Hi,

if we can meet at the professional motorsport in cologne, id be able to pickup a serial converter with that firmware flashed on it. (will pay for it as well :-) ) - ok?

best regards
carsten

cguenther
Posts: 36
Joined: Sun Jan 25, 2009 11:12 pm

Postby cguenther » Tue Oct 27, 2009 6:54 am

Hi again,.

Question again: Can we meet at the professional motorsport expo in cologne?

best regards
carsten

sturgeo
Posts: 2
Joined: Sun Feb 07, 2010 1:39 pm

Postby sturgeo » Mon Feb 08, 2010 4:57 pm

Did this ever get tested?
We use megasquirt with the MS Extra code in 2 minis and would like to get the DL1 and Dash2 combo for datalogging and would like to capture various streams of data from the ecu.

Support

Postby Support » Tue Feb 09, 2010 11:54 am

We sent a test model out to cguenther about a week ago, so should hear back from him shortly. :)

cguenther
Posts: 36
Joined: Sun Jan 25, 2009 11:12 pm

Postby cguenther » Fri Feb 12, 2010 11:46 pm

Hi,

... still waiting for the test model. until today, nothing arrived.. :-(

will post, when this interface shows up.

best regards
carsten

cguenther
Posts: 36
Joined: Sun Jan 25, 2009 11:12 pm

Postby cguenther » Fri Feb 19, 2010 2:23 pm

Hi,

the Adapter arrived yesterday. As we moved on with the rebuild of the car, we were not able to wait longer for the module. So, we have to do some more work now, until the modul can be tested in its final environment.

will keep you informed.

best regards,
carsten

WillM
Posts: 84
Joined: Wed Dec 27, 2006 11:00 pm

Postby WillM » Thu Apr 29, 2010 4:57 pm

Anyone have one of these working yet?

I picked one up but have not been able to log data.

My ECU is a MegaSquirt-I running MSExtra firmware.


Return to “Pre-sales product questions”

Who is online

Users browsing this forum: No registered users and 4 guests