|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
funks
|
Post subject: Re: Innovate LM-2 support Posted: Thu Oct 15, 2009 5:57 pm |
|
 |
| Newbie |
Joined: Thu Oct 15, 2009 5:32 am Posts: 16
|
Fiend wrote: I believe the problem isn't parsing Innovate's protocol, it's the fact that the LM-2 does not show up as a COM port, so there is no way to open a connection to it. Nice code though. For what it is worth, I haven't had any issues with LogWorks 3.0 SDK on Vista 64. I'm now running Win7 64 RTM but haven't had a chance to try it out.
Yep, that's the annoying part about the LM2. Nevertheless, with the optional serial cable you should be able to retrieve the data via serial port. My assumption is that considering it's new, it should be using ISP2 (Innovate Serial Protocol 2). It might output something similar to the LC-1 (ISP#2), maybe the LM-1 (ISP#1) - not sure as some LM2's have dual sensors. Felipe of Innovate should be able to give us the info though. I personally like to avoid adding dependencies to third party commercial DLL's (especially old COM stuff that's not written as a .NET assembly). As for hooking up the iMTS -> PC, couple of simple possibilities LM-2 Serial Patch Cable - P/N: 3812 Coupled with one of the following should give you a Virtual Comm port with ISP#2 from the LM2 (FTDI has drivers for almost every OS). Acroname Serial PLL -> USB - around 28$. (per NSFW). 
Last edited by funks on Sat Oct 17, 2009 6:53 pm, edited 6 times in total.
|
|
| Top |
|
 |
|
Fiend
|
Post subject: Re: Innovate LM-2 support Posted: Thu Oct 15, 2009 6:57 pm |
|
 |
| RomRaider Donator |
Joined: Tue Apr 24, 2007 10:49 pm Posts: 243
|
Cool info! Thanks. I was actually considering going this route:   C#/Java programming interface and I could also add a K-type thermocouple for acquiring air temps at the throttle body, plus any other 0-5v sensors (e.g. EGT, oil pressure, etc.) This would allow me to simply read the voltage from the LM-2's analog output. Might be an option.
|
|
| Top |
|
 |
|
funks
|
Post subject: Re: Innovate LM-2 support Posted: Thu Oct 15, 2009 11:21 pm |
|
 |
| Newbie |
Joined: Thu Oct 15, 2009 5:32 am Posts: 16
|
Fiend wrote: That looks good, especially if you want to tie in analog outputs from several sensors. Might be useful for widebands that have no serial output - only analog, for example Dynojet Wideband 2, ProSport Wideband Gauge, NGK Powerdex AFX, AEM UEGO Analog. For devices with serial protocols already built like PLX and Innovate, it might be better just to go with the iMFD, or the iSP2 parsing though. How's the device driver support? Does it work with Vista 64 and Win7 64? USB powered? Kinda like the following (50$). The DataQ most likely has poor driver support though - it still uses ActiveX controls. 
Last edited by funks on Fri Oct 16, 2009 12:30 am, edited 1 time in total.
|
|
| Top |
|
 |
|
Fiend
|
Post subject: Re: Innovate LM-2 support Posted: Thu Oct 15, 2009 11:58 pm |
|
 |
| RomRaider Donator |
Joined: Tue Apr 24, 2007 10:49 pm Posts: 243
|
It looks like they support a number of 32/64-bit OSes: http://www.phidgets.com/drivers.phphttp://www.phidgets.comI don't know if their Windows libraries are COM based (and exposed via .NET runtime callable wrappers) or if they are 100% .NET (with some Win32 calls for native calls to access USB drivers). Their programming support seems pretty comprehensive too: http://www.phidgets.com/programming_resources.php...and yes the interface is USB powered though there is also an 12VDC powered version that also acts as a 6 port USB 1.0 hub (I assume for adding additional devices). My electronics knowledge is somewhat limited other than the basics, so Phidget's products seem kind of cool to me.  They are also Canadian so it saves on shipping costs etc. I must admit, the geek in me nearly had an orgasm when I found this site: http://www.robotshop.ca
|
|
| Top |
|
 |
|
Phoenix
|
Post subject: Re: Innovate LM-2 support Posted: Fri Oct 16, 2009 8:24 am |
|
 |
| Experienced |
Joined: Wed May 14, 2008 2:26 pm Posts: 195
|
Come on wizz boys...  ...sort this interfacing out...I really want to make my LM-2 worth while... 
|
|
| Top |
|
 |
|
Phoenix
|
Post subject: Re: Innovate LM-2 support Posted: Fri Oct 16, 2009 8:30 am |
|
 |
| Experienced |
Joined: Wed May 14, 2008 2:26 pm Posts: 195
|
|
Post 9, by kascade...
Would he original recommendation work...??? Has anyone tried it yet?
|
|
| Top |
|
 |
|
funks
|
Post subject: Re: Innovate LM-2 support Posted: Fri Oct 16, 2009 9:08 am |
|
 |
| Newbie |
Joined: Thu Oct 15, 2009 5:32 am Posts: 16
|
|
It should work as other people are using the serial out of the LM-2 in other software, eq. Palmer Performance Scan-XL..
If anybody has the combo in SoCal (the LM-2 w/ the serial cables and stuff) and have some free time to swing by, I'll gladly take a look at it and submit some patches if needed.
a) LM-2 b) 3812 LM2 Serial patch cable c) 3746 Serial Cable d) 2.5mm Coupler (female on both ends)
If somebody wants to try the 3812 -> FTDI USB, I believe the
Tip of the 2.5mm is TXD Ring of the 2.5mm is RXD The Sleeve is GROUND
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Innovate LM-2 support Posted: Sun Oct 18, 2009 9:57 pm |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 4:09 am Posts: 644 Location: Brisbane, Australia
|
|
I spent some time on the weekend integrating the LM-2 into the logger. I have created 2 plugins, one setup to use MTS (with help from code contributed by Fiend - thanks!) and one to use via a serial connection.
Unfortunately I don't have all the hardware required to test the serial connection (where can I find a 2.5mm female-female adapter??) but it was based off the LC-1 and LM-1 plugins so shouldn't be too far off.
I did have some success with the LM-2 MTS plugin but after a while something started to flake out on me and I was too tired to continue. The code is all checked in if anyone wants to have a look, otherwise I can create a test build if anyone is interested...
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
enthusiast
|
Post subject: Re: Innovate LM-2 support Posted: Sun Oct 18, 2009 10:19 pm |
|
 |
| RomRaider Donator |
 |
Joined: Sat Mar 03, 2007 9:58 pm Posts: 98
|
|
I will do a build later. I have all of the necessary parts to try the serial connection.
_________________ Current Mods and tune
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Innovate LM-2 support Posted: Sun Oct 18, 2009 11:09 pm |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 4:09 am Posts: 644 Location: Brisbane, Australia
|
enthusiast wrote: I will do a build later. I have all of the necessary parts to try the serial connection. Cool, let me know how you go. Btw, where did you find the 2.5mm adapter? I have looked everywhere but can't find one..
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
enthusiast
|
Post subject: Re: Innovate LM-2 support Posted: Sun Oct 18, 2009 11:14 pm |
|
 |
| RomRaider Donator |
 |
Joined: Sat Mar 03, 2007 9:58 pm Posts: 98
|
|
| Top |
|
 |
|
enthusiast
|
Post subject: Re: Innovate LM-2 support Posted: Mon Oct 19, 2009 12:57 am |
|
 |
| RomRaider Donator |
 |
Joined: Sat Mar 03, 2007 9:58 pm Posts: 98
|
Weird. I had to uninstall the version I compiled as the data was just flashing/changing and trying to log all at the same time. The values were very skewed and I could not get it to connect to the ECU. I reinstalled a release version from Dec 2008 and that started to work. I was able to log using the LC-1 connection successfully. Booyah! I will try deleting my source and recompiling then install again. The only thing that I changed from the source was .classpath com/romraider/logger/ecu/ui/tab/injector/InjectorControlPanel.java com/romraider/logger/ecu/ui/tab/maf/MafControlPanel.java Ideas?
_________________ Current Mods and tune
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Innovate LM-2 support Posted: Mon Oct 19, 2009 2:16 am |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 4:09 am Posts: 644 Location: Brisbane, Australia
|
oops, looks like i checked it in with the dummy test connection enabled (allows you to test the logger without being connected to a car). Have a look in com/romraider/io/serial/connection/SerialConnectionManager.java. Change: Code: // connection = new SerialConnectionImpl(portName, connectionProperties); connection = new TestSerialConnection(portName, connectionProperties);
to: Code: connection = new SerialConnectionImpl(portName, connectionProperties); // connection = new TestSerialConnection(portName, connectionProperties);
Sorry about that!
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
|
enthusiast
|
Post subject: Re: Innovate LM-2 support Posted: Mon Oct 19, 2009 4:27 am |
|
 |
| RomRaider Donator |
 |
Joined: Sat Mar 03, 2007 9:58 pm Posts: 98
|
|
No problem. Made the changes reinstalled new version.
Tests tried: 1. LM-2 serial: Fail 2. LM-1: Fail 3. LC-1: Pass
I am attaching a portion of the log I captured while tailing it during LM-2 serial connection.
You do not have the required permissions to view the files attached to this post.
_________________ Current Mods and tune
|
|
| Top |
|
 |
|
kascade
|
Post subject: Re: Innovate LM-2 support Posted: Mon Oct 19, 2009 4:40 am |
|
 |
| RomRaider Developer |
 |
Joined: Sun Jul 16, 2006 4:09 am Posts: 644 Location: Brisbane, Australia
|
enthusiast wrote: No problem. Made the changes reinstalled new version.
Tests tried: 1. LM-2 serial: Fail 2. LM-1: Fail 3. LC-1: Pass
I am attaching a portion of the log I captured while tailing it during LM-2 serial connection. Thanks for that! Could you please also post a log of the LM-1 not working?
_________________ Paul.
------------------------------------
MY04 Forester XT (Aus. spec)
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 19 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
|
|