running an LM on the bench for electronics projects
I've got a spare LM that I'd like to be able to power up on the bench to see if I'm smart enough to get it talking to an arduino. I figure I have to build a power supply to give it 12 volts on J11 and K14 and 8 volts on N6. What else do I have to feed it to convince it that the engine is running, or at the very least to get it to spit some data out down the serial lines to I can start fiddling? What does the LM expect the input on the Ignition Reference and Fuel Injector Sync lines to be? 0-5v squares?
I'd like to eventually build myself a datalogger that reads certain serial bytes and maybe even an external sensor and saves the strings to a microSD card for later review in a CSV format or something so it's easy to import in to MPTune.
Re: running an LM on the bench for electronics projects
Subscribed. I need to do this, too...
Re: running an LM on the bench for electronics projects
Quote:
Originally Posted by
iangoround
I've got a spare LM that I'd like to be able to power up on the bench to see if I'm smart enough to get it talking to an arduino. I figure I have to build a power supply to give it 12 volts on J11 and K14 and 8 volts on N6. What else do I have to feed it to convince it that the engine is running, or at the very least to get it to spit some data out down the serial lines to I can start fiddling? What does the LM expect the input on the Ignition Reference and Fuel Injector Sync lines to be? 0-5v squares?
I'd like to eventually build myself a datalogger that reads certain serial bytes and maybe even an external sensor and saves the strings to a microSD card for later review in a CSV format or something so it's easy to import in to MPTune.
I did exactly this with an SBEC. It should be the same with the LM I would think, although the baud rate and exact pin numbers will probably be different. The diagnostic serial stream goes active regardless of whether the ECU gets valid data from sensors. Otherwise it wouldn't be much of a diagnostic function.
http://www.turbo-mopar.com/forums/sh...=1#post1065726
Re: running an LM on the bench for electronics projects
Cool. I'll see if I can get one powered up tonight and then work on making it talk and building a stim board for it.
1 Attachment(s)
Re: running an LM on the bench for electronics projects
Re: running an LM on the bench for electronics projects
Yeah, I don't think I have any spare power modules hanging out though.
Re: running an LM on the bench for electronics projects
Quote:
Originally Posted by
iangoround
Yeah, I don't think I have any spare power modules hanging out though.
I've got like 5. Want one?
Re: running an LM on the bench for electronics projects
I'm going to check my garage for one, but if i dont have one then sure. It's good to have a spare around anyway.
Re: running an LM on the bench for electronics projects
I found a spare PM in my garage and got the LM powered up. The first thing I did was see if I could get it talking to MPScan because I had that working at one point in my car. MPScan seems to throw out the initial handshake but the LM doesn't respond. Not sure if it's because the LM is bad (possibly), I burned an old stock cal on the chip I put in it and it doesn't understand what's going on (maybe), or the FTDI board i'm using as a USB Serial port is no good.
Unfortunately I'll probably have to put this off for a few weeks because work is about to get insanely busy.
Re: running an LM on the bench for electronics projects
did you look at the mpscan logs? they "might" be able to tell you some additional info.
Re: running an LM on the bench for electronics projects
Subscribed for impressing chicks with mad h4xx0ring skills...
Plug for a local to me guy with arduino stuff and other bits and pieces... http://www.dipmicro.com/ he ships from US side a few times a week also.
Edit: Everyone knows you can use a PC ATX PSU by shorting power good to ground right? Green wire to black wire usually. Thought so, carry on.
Re: running an LM on the bench for electronics projects
Quote:
Originally Posted by
wowzer
did you look at the mpscan logs? they "might" be able to tell you some additional info.
Where are the log files hidden? I can only seem to find update logs but no error logs.
Re: running an LM on the bench for electronics projects
in vista and above the mpscan log files will be in the directory called "C:\Users\"username"\AppData\Roaming\MPScan and the filename is mpscanport.txt. on xp it is in the same directory where the actual mpscan.exe file was installed.
Re: running an LM on the bench for electronics projects
Ah. I didn't think to look there. I'll check when I get home tonight.
How hard would it be to add a "view log files" option to one of the menus in MPScan?
Re: running an LM on the bench for electronics projects
Re: running an LM on the bench for electronics projects
Here's what the log says
Quote:
mpscan ver - 2.0.2.5Microsoft Windows 7 Professional - Win32NT
trying to open port COM10 - ctlrecord_click
got a good port back - ctlrecord_click
try to open port COM10 -initport
COM10 is a legit port -initport
usb is available on COM10 -initport
usb ftdi serial number LCYKUH4F is available - initport
setting port baud rate to 976
ftdi open successful on COM10 -usbportinit
using protocol LM:0
attempt to change ecu baud rate to 7812
Sending byte 18
Received byte 98
Sending byte 18
Received byte 98
Changing mpscan baud rate to 7812
Sending byte 18
Received byte 0
Sending byte 18
Received byte 0
Sending byte 18
Received byte 0
Sending byte 18
Received byte 0
usbsethibaud failed - usbportinit
ftdi open unsuccessful - usbportinit
Sending byte 254
Received byte 0
Sending byte 254
Received byte 0
can't open ftdi port - usbportinit
Unable to open/setup port. - ctlrecord_click
Re: running an LM on the bench for electronics projects
So, I accidentally let all the magic smoke out of my spare LM. I shouldn't be allowed near a soldering iron after midnight.
http://i.imgur.com/HXxQVEs.jpg
Re: running an LM on the bench for electronics projects
Try again, that was only a 5 cent part :D
Re: running an LM on the bench for electronics projects
Haha. You're right. I don't have anything in my stock that value so I'll have to make a run to the electronics store. I have no idea what else it took out at the moment, but it certainly smells like roasted ICs in here.
Maybe this is when I take the whole board apart and diagram it. I won't have my car back from the paint shop until the snow is gone at the very least anyway.
Re: running an LM on the bench for electronics projects
If you figure out what it's for, let me know. I have 3 dead SMECs with the same part fried (not by me). I'd like to know what it is and if it can be repaired.