M20 wiring

Need technical Q/A then you're in the right place

Moderator: martauto

User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 01, 2011 10:40 pm

Hi i'm sorry to have to ask but i could really do with some help on wiring my 1.3 motronic - the car is an E28 but i don't think that really matters as to where i need some help.

I could really do with knowing where the throttle body connects, trigger sensor, etc as i've got a load of 3 pin connectors and you can't really tell what goes where - if anyone has a picture of a loom spread out with indicators as to what goes where that would be really useful.

Some areas i'm stuck on are pictured below, for instance i don't know what relays i need?
Image

This round connection comes from the oil level sender (well I think that’s what it is in the sump) but I don’t have this connection on the loom anywhere?
Image

I also have spade connector that is near (but I don’t think apart of) the starter motor wiring ”“ it comes out of the main thick part of the loom but doesn’t exit the loom in the same place as the thick red power and the black yellow solenoid wire. Any ideas what this could be for? Image

For some reason i have two spade connections from the injector loom, one is a white red wire and the other is yellow and brown i think - does anyone know what these are for?
Image

I’m really sorry for all the questions but I really hope you can help, i think I’ve figured out the wiring to the fuse box so I think it’s just these little bits and bobs left to finish before I can try and wire her up.

Regards
Andy.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
Ajsingh
E30 Zone Addict
E30 Zone Addict
Posts: 2378
Joined: Sun Mar 28, 2010 11:00 pm
Location: West Laaaandaan init! / Milton Keynes

Post Thu Sep 01, 2011 10:54 pm

Im not 100%, but the DME relay goes in the middle of those 3 relay sockets
E30 Crazy!
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Thu Sep 01, 2011 11:03 pm

What exactly do we have here? A post '87 M20 engine and the engine loom that's always been with it, or is this mix and match?
Relays: These are the DME (main engine) relay, the fuel pump relay, and a relay that switches the heaters of the lambda sensor in the exhaust (which you probably don't have.)
The DME relay is usually white, but IIRC, new replacements are light green. It is a double pole relay with five pins, and goes in the only socket that has a wire going to the middle pin.
Fuel pump relay is an ordinary single pole, four pin relay, identical to many in the fusebox, except for the little locating lugs on the side. It is usually orange in colour, but later ones may be blue.
If your car has no provision for an oil level sensor, then there's no point in connecting anything to its plug.
Spade connector isn't OE, but I suspect it's been stuck on the end of the 'unloader relays' control wire, which is also probably of no use in an E28. Examine the wire and see what colour it is under the outer black sheath. Unloader wire is black/green.
Injector loom wires: More crimped on non standard connectors. Brown/yellow is the injector pulse to cylinders 2,4 and 6, and the red/white is the 12 volt power feed to either injectors 2,4 and 6, or to 1,3 and 5.
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Thu Sep 01, 2011 11:05 pm

Ajsingh wrote:Im not 100%, but the DME relay goes in the middle of those 3 relay sockets
When it left the factory, maybe, but the holders unclip easily, and tend to get moved around.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 01, 2011 11:16 pm

Guys thank you so much!!

Brian, do you know why the injector loom would have home-brew spade connectors fitted? I'm a bit pissed off about it if i'm honest and i can't see where they should connect!?!

I got the engine from a chap on here and it was installed in a baur E30 - he had stripped it of parts because he'd hit a couple of dogs and the paint job he'd had done was a bodge job (unknown to him at the time) and was rotten from the inside out. This was around two years ago, i then removed the engine and only now have got around to installing it so i've forgotten most things! Doh

The engine (or at least the loom) must have come out of a different car as the fuel plug was a cut and shut to fit thats about to get cut and shut again to fit the E28! haha :mad:
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 01, 2011 11:32 pm

Sorry Brian I should have gone into a little more detail based on the information you’d given.

Replays ”“ true, I don’t have lamda sensors so I shall get two single pole relays and populate both connects and take them out in turn or maybe just keep them both fitted as it’ll look a little better.

I shall forget about the oil level sender”¦as the original engine never had this fitted I shall ignore it.

I under the blue spades are non-oe”¦really not sure why this would have been done though”¦surely these should connect to the through the loom to somewhere? Could it be that the injector part of the loom doesn’t match that of the main harness? Any ideas of where I should connect these would be a real help Brian.

I believe the wire near the starter motor is black green ”“ I shall ignore this on your advice. Would you mind explaining what this is for and where it would have connected originally? I’m just curious and like to understand better for future reference.

Would you think it would be worthwhile getting a loom that hasn't been messed around with do you think or is this one still good to use?

Thanks again.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Fri Sep 02, 2011 12:17 am

Missed a bit from my first post: Fuel pump relay base is the one that has a green/purple wire going to it. There should be a plastic cover that clips over the three relays, so the empty one shouldn't be seen.
Unloader relay wire would have gone to a fourth terminal on the starter solenoid, and should have a 5mm ring terminal on the end of it. The unloader relays in an E30 switch power to various things on the car that only work when the ignition is on, such as the heater fan and electric widows, and are arranged to cut the power completely to these things when the starter motor is engaged.
The injector loom plug and socket is a common trouble spot on E30s. If any water gets into the plug and socket it stays trapped under the rubber boot over the lower half and causes corrosion - the official BMW TIS for the problem instructs to cut a hole in the boot to let water out!
Where corrosion has set in badly, the usual cure is to cut off the plug and socket completely and splice the wires permanently together, although you may need to splice in extra wire, after the wires have been cut back far enough to find clean copper.
The wire colours are the same on both sides of the plug and socket (there are two red/whites, but it doesn't matter which way around they are connected), although there is usually an extra brown or brown/x wire on the injector side, which can be ignored. This wire is a 'left over' from very early E30s, which had two pin temperature sensors for the gauge, instead of single pin ones that earth to the cylinder head.
As I've said, any replacement loom may also have the injector loom plug and socket problem, so you may as well repair what you have.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Fri Sep 02, 2011 8:47 am

Thanks again Brain for your prompt and informative response it's helping clear things up massively. I still don't get why the wires have been cut and spliced at the injector loom side but not on the main wiring loom side. Surely it should have been done at both sides for it to work?

I may have the plastic cover for the fuses i'll have to have a dig around for it but if not i'll put a wanted advert up.

I do think i'm about sorted but i don't suppose you've any pictures on 1.3 engine looms laid out with markings do you? I know i've got quite a few female 3 pin connectors that must go to the TPS, crank sensor and to the pulse wire (if thats what you call it /what its for) that goes around one of the ignition leads (and maybe something else i'm forgetting) but it's not clear what goes where. I blame bosch for not making the plug style slightly different on all so simpletons like myself can't get it wrong. :P

I think the only major jobs now are extending the earth wires, possibly hard wire the injector loom, make the pass through holes bigger for the loom to pass into the passenger compartment and that really is about it. Ohh...i better fill with oil before i forget! :mad:
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Fri Sep 02, 2011 9:24 am

Follow the drop down boxes on here: http://www.autolib.diakom.ru/CAR/BMW/ tofind a wiring diagram, turn back the rubber boots on any plugs you're not sure of, and identify them by the colour of the wires.
There's one two pin plug on the branch to the air meter that won't be needed - it's for emissions equipment.
I've looked at a fair few wiring looms in my time, and have long since ceased to try to work out why what has been done to it has been done! The engine this loom was connected to would have been a three cylinder without those wires connected.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Fri Sep 02, 2011 11:55 pm

I don't have a two pin plug but i do have 6 three pin plugs and only 3 things to connect....this is the only area i'm not sre on now.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Sat Sep 03, 2011 12:19 am

Referencing the wire colours to the circuit diagram in the link should sort it out.
Your engine has an early type (single) oil level sensor. If your loom is the later type, the connector to it will be a three pin plug, to suit the later dual oil level sensor.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Sat Sep 03, 2011 4:25 pm

Sorry Brian i'm a liar! I do have a two pin plug but its never been used by the looks of it.

I had a look at the available plugs, i think i've figured it but stupidly i've left the notes at the unit so will pop back and report my findings and what i think is what. Two of the plugs have the same colour wires - one of them being clear in colour and thicker than the rest. I think these are fir both the crank sensor and the plug reference wire thing. Is this correct and does it matter what way around you plug them?

I'll report back a little later...
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Mon Sep 05, 2011 12:46 pm

These are the wiring colours from the 3 pin plugs...

Plug 1 - Believe this is TPS?
Brown/Blue
Brown/Orange
Brown/Black

Plug 2 - Believe this is idle control?
Yellow/White
Red/White
Green/White

Plug 4 - Unsure...
Blue
Brown/Orange
Green/Yellow

Plug 5 + 6 - Possible engine speed input but not sure if this is from the ignition leads or from trigger wheel or both? - Two plugs with the same wires...
Clear (thicker wire)
Yellow
Black

Does this sound about right Brian?

I went a played poker with friends on Saturday night....ending up drinking a rather large amount and got bugger all sleep so Sunday was spent doing sod all rather than trying to fire the car up so i will try and get that done tonight if i get back in time. Anyway, my point is that i came 2nd on the first game and won the 2nd game so i'm hoping luck is on my side with this.

I would love for it to kick life without any problems. :mad:
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Mon Sep 05, 2011 9:29 pm

And she's alive! Thanks for all your help Brian!
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Tue Sep 13, 2011 10:42 pm

Couple of issues i can't get my head around if anyone can help...

I can't figure out how to wire the RPM and MPG gauges, now on the E28s you have a 6 pin plug under the glovebox that feed out of the main car loom that runs from left to right of the dash. Now 3 of these wires are used, one for power (green) one for RPM (black) and one for MPG (white/black)

Now i've tested the black and white/black wires from the back of the instrument cluster to this connector and sure enough these do seem to be the ones i should connect to. Now on the motronic 1.3 loom i've used i do not have these three wires exiting the ECU loom end i only have one red wire that is used for the switch live for the ECU and thats all sorted but the other two i'm stumped a little...

Ok so i believe i use these two same coloured wires from the ECU loom and feed them into this connector but i've tried taking these from where the engine loom connects to the fuse box but this doesn't make them work. I'm not sure if mine is an E34 or E30 engine loom, i believe its an E34 due to the fact that the fuse box connector had been soldered on and wasn't factory (not sure if this makes any difference or not?)

So where am i going wrong on this? I'm not sure where the loom takes these two inputs from the engine if i'm honest, if i knew this it may help me figure it out a little better.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Tue Sep 13, 2011 11:06 pm

On facelift E30 looms the black engine speed wire and white/black fuel rate wire both go through the 20 pin C101 engine loom plug, and the body loom has the matching wires from the cluster to the C101 socket.
Later pre facelift looms (engine and body) have the three pin plug and socket you mention, coming almost directly from the cluster plug, and from the engine loom, near the ECU plug.
As long as they get connected together, it all should work.
Red wire from the engine loom is permanent live, not switched live, BTW.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Tue Sep 13, 2011 11:20 pm

Ohh you know what, i totally forgot about the other black plug that comes out of the engine loom at the ECU end...i tucked this out of the way and forgot all about it. I'm assuming this is where i need to take the feed from, rather than in the engine bay where the loom connects into the fusebox? I'm sorry i'm rubbish with the connect names...it's all a little confusing! haha

Thanks for the correction of the live Brian, i just assumed it was a switched live from rather than permanent...i'll double check to see if this is a permanent from the 6 pin plug under the glovebox as i'm assuming the ECU will have to keep relearning if this isn't the case.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Tue Sep 13, 2011 11:41 pm

Ok, i've just checked and this is the situation at hand...

The live i've used looks like its a switched live so the ECU will have to learn each time its turned on right? This i'll have to fix.

The other plug i was thinking of doesn't look right...its 6 pin but its two sat on top of 4, the colours are red/white, purple/white and black/white so i don't think this is right at all.

Brian, do you know where the RPM and MPG feeds come from? I'm wondering if i have not connected some of the connectors correctly...
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Tue Sep 13, 2011 11:57 pm

Ok i think i know what i need to do.

I need to check continuity from the two 3 pin plugs that have both black and yellow wires back to the ECU plug and ensure these are connected correctly, i think doing anything before this would be pointless. I think once i have done this then i can check continuity between the plug and the wiring as it exits the loom by the fusebox....
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Wed Sep 14, 2011 12:01 am

The red should come directly from the battery, with no other load connected to it. This is to give the ECU the cleanest and most stable supply possible. Even with a rear mounted battery, as on E30 325 saloons, the red engine loom wire has its own dedicated wire, straight from the battery.
On a 55 pin M20 ECU the engine speed signal comes from pin 6 and goes to pin 7 of the blue instrument cluster plug, and the fuel rate signal comes from pin 32 of the ECU and goes to pin 11 of the blue plug. Wire is white/black at the ECU, but yellow/white at the cluster.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Wed Sep 14, 2011 12:18 am

I'll wire a nice thick live wire to the ECU then to solve that one.

Now onto the MPG and RPM, i would rather than hack at the loom at the ECU plug to get the feed, do these also come out from the loom in the engine bay where it connects to the fusebox?

I'll be on this first thing tomorrow morning to get it resolved once and for all.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Wed Sep 14, 2011 12:26 am

The wires from either half of the loom either come out in a three pin plug or socket OR go to the C101. Neither part will have both, so the choices are to extend wire to the C101, or find the wires in the looms behind the instrument cluster area which are heading for the C101, tease them out, and cut them long enough to reach the three pin connector.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Wed Sep 14, 2011 12:43 am

Humm, you confuse me a little...wiring from the glovebox area with the 6 pin plug is connected to the blue plug at the cluster end as i've already checked this. What connector is the 101 is this where it would meet the fusebox and what 3 pin connector do you talk of?

Scrub that, i'm very confused!
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Wed Sep 14, 2011 8:57 am

The C101 is the 20 pin round plug on the end of the engine loom, that plugs into a matching socket right beside the fusebox. The loom from the socket goes straight into the fusebox, but, with the exception of the fuel pump feed, all wires just pass straight through, and emerge behind the glovebox, inside the cabin.
Note that every thing I've written applies to E30's. I've no knowledge of the differences between E28 and E30 wiring.
I haven't identified the six pin plug you refer to either. Is this part of a body loom (of what model?), or part of the engine loom?
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Wed Sep 14, 2011 10:34 pm

Hi Brian, thanks for the reply i missed your message by only a few minutes this morning”¦

The 6 pin i talk of comes out of the engine loom and exits next to the ECU...i've no idea what these are for but i don't think i need to worry about it.

Right i did some digging and checked the pin outs from the ECU plug, i've got continuity from pin 6 to the black wire coming out of the 101 plug area. I've also got continuity from pin 22 to the white/black wire at the 101 plug area, so i've connected these to the 6 pin clear plastic plug that is under the glovebox and i've checked and ensured i've got both the crank sensor and the HT lead sensor in the correct plugs by checking connectivity at the ECU end to the plug end and i've also checked that i've got permanent 12v live to pin 18 at the ECU and i have.

So....where the hell am i going wrong Brian?!?! I'm at a total loss; do you know how i can check that i'm getting a signal output from the ECU to both the black and white/black wires? Do you know what could cause me not to get a reading from these two outputs?

Regards
Andy.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 15, 2011 8:36 am

I think i may have figured it out, i'll have a try and report back... winkeye
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 15, 2011 6:34 pm

SORTED! :D

Not sure what the red wire that exits the engine loom at the ECU end is for, but when i cut the wire where i had wired it into the plug under the glovebox i got the rpm and mpg gauges working.

Brian, can you tell me what three wire colours to the 3 pin opaque plug is for that some/all E30s might use? It was in use in the E30 this engine was removed from but i forget what it could have been for. I think the three colours are Green, Black and blue/yellow (not 100% on that last one)

Brian, massive thanks or all the help with this, i've check through other tech threads and you play a pivotal role in fixing issues posted by fellow members and you are a credit to the forum and an inspiration to us all! :P
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Thu Sep 15, 2011 7:33 pm

? This sounds like the C104 we've been talking about - the one that carries the engine speed and fuel rate on early looms.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 15, 2011 9:07 pm

Not sure on plug names Brian but yes it exits next to the ECU plug but on the e30 I cut it out of it was three pin where as the E28 is a 6 pin plug, now the 3 pin plug was attached to the loom still with a red wire exiting the loom that had been soldered onto another colour wire (Can't remember the colour right now) that must have been used previously hence the question on the wires colours and what they were used for...I'd like to understand what this red wire would have been used for.
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)
User avatar
Brianmoooore
E30 Zone Team Member
E30 Zone Team Member
Posts: 49360
Joined: Mon Jan 10, 2005 11:00 pm

Post Thu Sep 15, 2011 10:33 pm

A plain red wire on a BMW is normally 12 volts unfused permanent live. If it has a coloured stripe as well, it's usually a fused permanent live.
User avatar
Jacko_
E30 Zone Newbie
E30 Zone Newbie
Posts: 133
Joined: Sat Sep 12, 2009 11:00 pm
Location: Rossendale

Post Thu Sep 15, 2011 10:35 pm

Car runs without this solid red wire plugged in!!
E21 323i with 2.8 M52 on TBs (fast road / track car)
E28 M535i (track car project)
E36 328i touring (drift wagon daily driver)