Help with building your Speeduino, installing it, getting it to run etc.
By Roosafur
#45195
Howdy, I have a 87 BMW E30 that I have swapped a M54b30 a few years back. I have been running slightly modified stock ECU, but it has been plagued with weird intermittent "limp home" modes. I was daily driving with some light Auto cross and Rally cross duty. I love to tinker, and have really wanted more control over the maps, and am looking to simplify and add lightness.

I have ordered and assembled a 0.4 board. I am currently working on running a new harness from the sensors, injectors, and coils. I look forward to posting pictures and updates as I go along. It will be slow going, work, kids, ect. I look forward to trying to stay accountable, and keep up with this project.
Attachments
IMG_20200423_220201.jpg
IMG_20200423_220201.jpg (2.57 MiB) Viewed 5038 times
IMG_20190123_145113.jpg
IMG_20190123_145113.jpg (2.46 MiB) Viewed 5038 times
IMG_20190123_144750.jpg
IMG_20190123_144750.jpg (2.54 MiB) Viewed 5038 times
By Roosafur
#45220
The M54b30 is an inline 6,
coil on plug(dumb) with igniters/coil drivers on the stock ECU (14cl40's)
High-Z injectors
60-2 Crank Angle
Speedunio V0.4

I think I need to run paired injection and wasted spark, (1,5)(4,3)(2,6)(1,6)(2,5)(3,4)

I have run new wires back from the Crank Angle Sensor. I have also have fresh wires from the throttle position sensor, coolant temp sensor, intake air sensor, and all six injectors and COPs.

I'm sure this has been covered many time, and I will be reading over the forum and will report back here, but, the 0.4 board has two wires for each injectors.

There are two wires for each injector channel (pin1/40) for injector 1. It looks like this is a compensation for the small gauge of the IDC wires. So the channel on the board splits out to two IDC pins, flows through the two IDC wires, then can be joined up again with a thicker wire.

So for my paired injection needs, I should join the two IDC wires and connect the joined pair to both injectors.

Any way I'll eat this elephant one bite at a time.
Attachments
IMG_20200903_220222.jpg
IMG_20200903_220222.jpg (4.35 MiB) Viewed 4988 times
IMG_20200903_220650.jpg
IMG_20200903_220650.jpg (5.06 MiB) Viewed 4988 times
Last edited by Roosafur on Fri Sep 18, 2020 2:48 pm, edited 2 times in total.
By Roosafur
#45222
pazi88 wrote: Fri Sep 04, 2020 4:16 am Don't know if you already know this, but there is Plug and Play versionof the speeduino for m52tu/m54 that you can just plug in and start tuning: https://github.com/pazi88/Speeduino-M5x ... 0m54%20PnP

Also there is free tools to tune and diagnose everything in the stock ms43 -> https://www.ms4x.net/index.php?title=Main_Page
I originally used the ms4x wiki to delete the ews and ect, and kept having trouble with the e-throttle, and a weird limp home mode.

But wow, that PNP deal looks amazing, and wish I knew about it a few months ago! :shock:

I have already chopped up my old harness, but if I get really stuck with this setup, I may just pull a new harness from the junkyard and go with this!

Thank you so much for this information!
By Roosafur
#45283
Working on coil drivers.

I've chosen to retain the same three wire dumb coil on plug as stock. This means that the 14CL40 coil drivers(igniters) that are hard wired into the old Bosch MS43 ECU should be able to be reused.

I cut up a back up ECU that I had laying around to have a nice mount for the IGBTs. I then soldered new leads into the gate, drain, and source. I plan to use a non-conductive epoxy to assist with security. I need to come up with some sort of home for it.Image
Attachments
IMG_20200908_204201.jpg
IMG_20200908_204201.jpg (4.06 MiB) Viewed 4884 times
IMG_20200908_212514.jpg
IMG_20200908_212514.jpg (4.19 MiB) Viewed 4884 times
IMG_20200908_224030.jpg
IMG_20200908_224030.jpg (3.83 MiB) Viewed 4884 times
IMG_20200908_224236.jpg
IMG_20200908_224236.jpg (4.85 MiB) Viewed 4884 times
By Roosafur
#45351
I am not sure if I am doing this right, but I am sharing for better self accountability, perhaps a cautionary tale, and inviting advise.

Slow but steady progress. I have epoxyed with heat shrink the wires onto the 6 14cl40 coil drivers. .

As I understand, The IGBT has three connections, the gate, collector, and emitter. I measured with my Multi meter 15.2ohm resistance between the gate and emitter.

Because I need to run wasted spark, I connected the gate of (1,5)(3,4)(2,6) (1,6)(2,5)(3,4)together and crimped a 3 pin connector to connect to the ignition channels 1,2,3 from the Speedunio, respectfully. I then measured the resistance from the gate and emitter at 7.6ohm on each pair.

I have then crimped 2 pin connectors on the same pairs for the collector and emitter.

I have also crimped 2pin connectors on the (1,5)(3,4)(2,6) (1,6)(2,5)(3,4) onto the signal lead from the coils. On each pair I added an 18g wire jumper between the two pins to ensure equal signal from both IGBT to each coil.

I think I now connect the collector to the signal lead from my dumb coils, then send the emitter to ground.

I have access to the DSO138 oscilloscope, if anyone has any advise on testing the circuits.

Andrew
Attachments
IMG_20200912_192558.jpg
IMG_20200912_192558.jpg (4.75 MiB) Viewed 4820 times
IMG_20200912_192434.jpg
IMG_20200912_192434.jpg (4.24 MiB) Viewed 4820 times
Last edited by Roosafur on Fri Sep 18, 2020 2:46 pm, edited 1 time in total.
By Roosafur
#45409
Adventures in my ignorance,

I had previously wired my wasted spark, and paired injection, to (1,5)(2,6)(3,4). This is incorrect for the BMW M54B30. After talking with a friend who has another standalone system on their m5x family of motors, and confirmation with a bore scope, I need to run (1,6)(2,5)(3,4) A few hours of rewiring and now I am updated.

Next up, the relays. My current working theory is as such.

Main relay,
30-12v+ fused from the battery
85- to battery ground
86- Key on
87- to ECU

Coil relay (dumb coil is triggered by the igniters that receive signal from the ECU via IGN leads)
30- 12v+ fused from the battery
85- to battery ground
86- Key on
87- 12v+ out to the coil

Injector relay (Injectors receive signal from the ECU via INJ leads)
30- 12v+ fused from the battery
85- to battery ground
86- key on
87- 12v+ out to the injector rail

Fuel pump
30- 12v+ fused from the battery
85- to battery ground
86- from ECU IDC pin 16 (proto area 3)
87-12v+ to in tank fuel pump

ThermoFan
30-12v+ fussed from the battery
85- to battery ground
86- From ECU IDC pin 15 (proto area 2)
87- 12v+ to fan.

I am reading about what "proto are 3/2" means, but from speedyefi.com/ulns-and-pullups-and-launch-oh-my/ I understand that the uln2803 will give the extra power to trigger the relay. I will keep on testing, and reading; I will update when I know more.
By Roosafur
#45459
As I have been moving forward with making physical connections, I've become concerned about the integrity of my assembly job of the Speedunio. I bought a Uno, and uploaded Ardu-Stim, though I am unable to establish connection with the updated NPM software not with device druid and serial UI.

I am however able to read a change in voltage across pin 8/ground on my 'scope that I am able to change with software. I feel relatively confident that it is outputting my desired simulated crank signal(60-2 at various RPM). Albeit a cumbersome simulation.

When I power up the Speedunio (12v 2a wall wart to the screw connectors) and sim board via USB b, then connect the sim ground to a ground IDC pin and the sim crank to crank IDC pin, only one red LED (LED3) weakly lights up. If I change ground leads on the IDC I lose the LED3.

I plan on looking into making sure I have the jumper correct for a hall effect sensor, next time. I'm still not completely sure what to jump where. This calls for more research.
Attachments
PXL_20200921_020557542.jpg
PXL_20200921_020557542.jpg (3.29 MiB) Viewed 4648 times
PXL_20200920_185237717.jpg
PXL_20200920_185237717.jpg (3.53 MiB) Viewed 4648 times

I must have misunderstood what "after few[…]

I've been away from playing cars for a few weeks, […]

I uploaded logs and last tune and dyno plots look[…]

Hi, I am trying to assign Signed values to the x-a[…]

Still can't find what you're looking for?