Any auto electricians assist with this problem?

Soldato
Joined
28 Sep 2008
Posts
14,215
Location
Britain
I thought I would have a stab at retrofitting folding mirrors to my E60. I got some folding mirrors and asked around on various BMW forums to see what's what. I knew that I needed to rewire a tad and code the KGM (body control module).

My old mirrors were one plug with 4 wires. These were:

Drivers Side
Pin 1 = Green at the mirror, goes to Pin 5 at the door (White/Blue) and Pin 40 at the KGM (Horizontal Mirror Adjustment)
Pin 2 = Brown at the mirror, goes to Pin 6 at the door (Brown/Yellow) and Pin 21 at the KGM (Earth / Com)
Pin 3 = Red at the mirror, goes to Pin 7 at the door (Yellow/Green) and Pin 41 at the KGM (Vertical Mirror Adjustment)
Pin 4 = White at the mirror, goes to Pin 8 at the door (Blue/Yellow) and Pin 42 at the KGM (Mirror Heating)

Passenger side, much the same:
Pin 1 = Green at the mirror, goes to Pin 5 at the door (White/Blue) and Pin 46 at the KGM (Horizontal Mirror Adjustment)
Pin 2 = Brown at the mirror, goes to Pin 6 at the door (Brown/Yellow) and Pin 45 at the KGM (Earth / Com)
Pin 3 = Red at the mirror, goes to Pin 7 at the door (Yellow/Green) and Pin 47 at the KGM (Vertical Mirror Adjustment)
Pin 4 = White at the mirror, goes to Pin 8 at the door (Blue/Yellow) and Pin 25 at the KGM (Mirror Heating)

Now, the new mirrors only have 3 wires. Green, Red, Brown. I re-pinned them so that the colours I have match the old mirrors (bar the white, as that's not there).

On the passenger side, I took:
Pin 1 Green, I removed Pin 45 of the KGM and sent it to Pin 7 at the fuse block (as per the wiring diagram)
Pin 2 Brown, I removed Pin 45 of the KGM and sent to Pin 14 of the KGM (which is the LIN bus control)
Pin 3 Red, I removed Pin 47 and sent it to Pin 45 of the KGM

Drivers Side:
Pin 1 Green, I removed Pin 40 of the KGM and added this to Pin 7 at the fuse block (along with the other Pin 1 from the passenger side)
Pin 2 Brown, I removed Pin 21 of the KGM and tapped in to Pin 23 of the KGM (already a pin here for LIN bus)
Pin 3 Red, I removed Pin 41 and send it to Pin 21 of the KGM.

The PDF suggests Pinning the drivers side to the window switch module (which also houses the mirror switch). I do not have a mirror fold button on my window block (it's not required if you code the car to fold / unfold with the key fob.

Anyway, the mirrors are dead. DIS gives an error that there is no LIN bus communication.

If anyone is any good with this sort of stuff, I would be grateful to check my understanding of the pin outs is correct.

Old mirror diagram:
WQLWjhK.jpg


New mirror diagram:
KayOKSB.png


Thanks
 
I can't say that I know much about E60s, but it looks like you're trying to wire linbus controlled mirrors into a non linbus car? Or one that doesn't have linbus mirrors at least. The mirrors in the new diagram have transistors in them, the old ones on the other diagram don't.

That won't work by the way, unless you fit the required linbus control module for the mirrors and the relevant wiring to/from the switches and mirrors.
 
Last edited:
Might be missing something but you have connected the new mirrors to pins 45 and 21 of the KGM when the diagram of the new layout has the mirrors connected to pin 23 and 14, I assume your current KGM supports folding mirrors ?
 
Pin 3 (Brown) on both of you new mirrors is a ground and should both be run to a ground point on the cars body not the BCM(KGM).

Mirror Pin 2 on the drivers side should go to 23 on the BCM and Pin 2 on the passenger side should go to pin 14 on the BCM.

Mirror pin 1 on both should go to fuse position 7.
 
2007 All KGMs support folding mirrors (once coded from nicht aktiv to aktiv).

Pin 23 and 14 is the LIN bus, I used 45 and 21 for earth (as per the original method, ie, the new mirrors use the existing wires to earth at the KGM). I could earth them in the door I guess.
 
Pin 3 (Brown) on both of you new mirrors is a ground and should both be run to a ground point on the cars body not the BCM(KGM).

Mirror Pin 2 on the drivers side should go to 23 on the BCM and Pin 2 on the passenger side should go to pin 14 on the BCM.

Mirror pin 1 on both should go to fuse position 7.

Pin 2 - Done
Pin 1 - Done
Pin 3 - why can't this go to the old earth used by the old mirrors (as I have done?)
 
Not sure it it a normal earth through the BCM. I was just looking at Bloods install guide and that earths them on the door. Hes a top fella if you need help and can code the car as well if you need it and are near enough.
 
I've tried to contact him, but he rarely replies to threads or PMs these days :( I will earth them to the door tomorrow and see how we go. As I will have the door card off I might wire the drivers door to the switch too, but based on what I have done, I'm not sure I need to.
 
Last edited:
If you have run the browns back to the BCM just pull them out and earth them on the body, there's bound to be an earth around there somewhere. That is the first thing I would do anyway. Have you had the car coded already?
 
Yeah, I added $430 to the VO in the CAS and coded the KGM to aktiv for BEIKLAPPEN_B_KOMFORTSCHL

I know the coding has worked because DIS shows this:

8MxfNz6.png
 
It may not be a permanent earth (switched)

Ok, that kind of makes sense in that, a switched earth would not be present with the car off and therefore wouldn't allow the mirrors to move without ignition, but then surely they should fold / move when the ignition is on?

As I say, first port of call is to move the earths tomorrow and see how we go. :)
 
Also, just thought. One part of the addition to the DIY was to not make up new cables for the passenger side. The advice was to use the existing cables and re-pin the KGM (as I have done), so I have to assume that the earthing thing is not really an issue.
 
It's hard to say, I don't have the guide and the 'new' diagram doesn't show where the earths terminate (as far as I can see).

Where do joints (at least that's what they look like) X849 & X891 terminate/link to?
 
Ah, I take it you've wired the two earths to these points, or an equivalent place, rather than back at the KGM? (as it's "correct" so to speak)

So, any success yet?
 
Ok, spent some more time on this today. I earthed the passenger side down to the door earth module. Still nothing. I decided to check with a multimeter. Got 11v at the fuse pin 7 (which is where pin 1 from both mirrors goes to). At the mirror end, I got 8v at pin 1 and 5v at pin 2 which is the LIN bus.

Next up, sod it and wire the drivers side up to the window / door switch module (which, in my head I shouldn't need to do as I don't have the mirror switch for folding because I will just use the keyfob for fold out / in).
 
If you've got everything wired up as it should be i.e. as shown in the new diagram(s), then you either have a break in the wiring somewhere, the KGM module is broken or the mirrors are.

You can do continuity tests for the wiring, but to see if the module is working then you need a labscope or a multimeter with a graphing function to see if any data is being transmitted from it.

AFAIK it's not possible to check for lin or canbus signals with an ordinary multimeter.
 
Back
Top Bottom