Software for real time data logging with stock Motronics
#16
If you do plan on selling this, I strongly urge you to include a programmatic interface for collecting the data. I would very much like to integrate information like this into a data logging system I'm developing as a personal project and would hate to have to re-invent the wheel.
#18
Is O2-sensor voltage available? With microcontrollers being accurate down to 1mV or so, you can actually draw an graph of the 0.80-0.95v range that would be really help in tuning air-fuel ratios. That range is typically encompased by a single LED on those air-fuel monitors, so they are tough to use.
GOOD JOB !!!
GOOD JOB !!!
#20
[quote] Are you going to share the wealth or are you going to sell it??? <hr></blockquote>
I'm currently exploring my options at this point. I have already laid out an interface board, id'd the components and am looking at packaging. The big item is the code mod for the chips. I could provide the chips modded for stock setups, but would have to individually provide mods for aftermarket chips. Some of the calculations shown are based upon the stock configuration VAF and injectors. Any change to those items would need to be addressed to adjust the values accordingly.
[quote] Also how much more information aside from injector timing can you get from the DME and where are you getting the water temp from??? <hr></blockquote>
The ones mentioned so far are the most useful items. Other items are the O2 based fuel adjustment, accel enrichment, accel/decel advance, cold start enrichment, and warm start enrichment. The water temp comes from the water temp sensor for the DME (there are two in these cars). The temp sensors are not very accurate at the far ends of their measurement ranges, but not too off in the middle.
[quote] If you do plan on selling this, I strongly urge you to include a programmatic interface for collecting the data. <hr></blockquote>
Wrapping it up into a DLL usable by anyone is doable.
As far as O2 voltage goes, Motronic only looks at O2 sensor data as binary. Once in the DME, the voltage goes into an inverting trigger and you get a high for lean conditions and low for rich conditions.
Here at TT's advanced R&D lab, I am looking into using the wide band O2 setup from the DYI EFI site and getting it to work with the stock DME.
I'm currently exploring my options at this point. I have already laid out an interface board, id'd the components and am looking at packaging. The big item is the code mod for the chips. I could provide the chips modded for stock setups, but would have to individually provide mods for aftermarket chips. Some of the calculations shown are based upon the stock configuration VAF and injectors. Any change to those items would need to be addressed to adjust the values accordingly.
[quote] Also how much more information aside from injector timing can you get from the DME and where are you getting the water temp from??? <hr></blockquote>
The ones mentioned so far are the most useful items. Other items are the O2 based fuel adjustment, accel enrichment, accel/decel advance, cold start enrichment, and warm start enrichment. The water temp comes from the water temp sensor for the DME (there are two in these cars). The temp sensors are not very accurate at the far ends of their measurement ranges, but not too off in the middle.
[quote] If you do plan on selling this, I strongly urge you to include a programmatic interface for collecting the data. <hr></blockquote>
Wrapping it up into a DLL usable by anyone is doable.
As far as O2 voltage goes, Motronic only looks at O2 sensor data as binary. Once in the DME, the voltage goes into an inverting trigger and you get a high for lean conditions and low for rich conditions.
Here at TT's advanced R&D lab, I am looking into using the wide band O2 setup from the DYI EFI site and getting it to work with the stock DME.
#23
[quote] what about error codes from the DME? <hr></blockquote>
The 944/951 version of Motronic is extremely simple. It does not check for errors and none are output. On the 951, the KLR is responsible for the flashing code output.
The 944/951 version of Motronic is extremely simple. It does not check for errors and none are output. On the 951, the KLR is responsible for the flashing code output.
#25
TT,
Great piece of work!
Where did you get the info on how to program the DME? Trial and error?
Do you have a processor on the embedded system or is it not a DSP? Just wondering if you could plug the DME output straight into a serial port and do all the conversions in the software? Would any commersially available embedded systems (Amacron, Synergy, with serial ports on them) work?
Depending on the price, I would buy a kit as well.
Great piece of work!
Where did you get the info on how to program the DME? Trial and error?
Do you have a processor on the embedded system or is it not a DSP? Just wondering if you could plug the DME output straight into a serial port and do all the conversions in the software? Would any commersially available embedded systems (Amacron, Synergy, with serial ports on them) work?
Depending on the price, I would buy a kit as well.
#26
[quote]Originally posted by TT:
<strong>
The 944/951 version of Motronic is extremely simple. It does not check for errors and none are output. On the 951, the KLR is responsible for the flashing code output.</strong><hr></blockquote>
Skip at Paragon...says for 300 US he can get me a code reader from Porsche that will work on the the 89 year... The connector is just above the DME.. am I wrong that the error codes are coming from the DME?
<strong>
The 944/951 version of Motronic is extremely simple. It does not check for errors and none are output. On the 951, the KLR is responsible for the flashing code output.</strong><hr></blockquote>
Skip at Paragon...says for 300 US he can get me a code reader from Porsche that will work on the the 89 year... The connector is just above the DME.. am I wrong that the error codes are coming from the DME?
#28
Is the data logging internal or external? IOW are you developing something that will store data for later download or must it be downloaded realtime?
I think this would be useful for a racecar if the data is stored for later download.
I think this would be useful for a racecar if the data is stored for later download.
#29
[quote]Originally posted by Perry 951:
<strong>Why do all that when a $.10 LED from Radio Shack will give you a blink code from the connector in the engine bay?</strong><hr></blockquote>
The S2 has no connector in the bay...only the 951
<strong>Why do all that when a $.10 LED from Radio Shack will give you a blink code from the connector in the engine bay?</strong><hr></blockquote>
The S2 has no connector in the bay...only the 951