Sunroof switch conversion

Thread Starter

ivan531

Joined Feb 11, 2023
13
Hi all,
I hope that you can help with with integrating original switch to work with sunroof from another car…
So, I have an old Mercedes SLC from 1972 which had an hole on roof because of aftermarket sunroof. I removed that out, and put electric sunroof from VW Golf which has mounted motors and switch on it. I did that, as I wasn’t able to find original working sunroof for my old-timer.
No everything works, but I would like to put original Mercedes switch to work with this VW sunroof.
Here is original switch: https://classicmercedesparts.co.uk/products/6951-mercedes-benz-c107-350slc-sunroof-switch-03812530
It has 4 pins:
1 black/white -> goes to fuse 16 (+)
2 green -> to motor
3 brown -> ground
4 blue -> to motor
On other side, we have VW switch which is basically regulator, not a classic switch. Looks like this: https://www.aliexpress.com/item/400...027244003!sea!HR!0&curPageLogUid=bsP6MmZ1jzYq
Here is scheme for it (part E139)
: https://www.r32oc.com/threads/sunroof-wiring.42475/#lg=attachment_xfUid-5-1676146419&slide=0
So, I would like to use my original MB switch instead of this VW regulator to control VW sunroof.
Is there any simple way to that?

Thanks in advance!
 

MrSalts

Joined Apr 2, 2020
2,767
Hi all,
I hope that you can help with with integrating original switch to work with sunroof from another car…
So, I have an old Mercedes SLC from 1972 which had an hole on roof because of aftermarket sunroof. I removed that out, and put electric sunroof from VW Golf which has mounted motors and switch on it. I did that, as I wasn’t able to find original working sunroof for my old-timer.
No everything works, but I would like to put original Mercedes switch to work with this VW sunroof.
Here is original switch: https://classicmercedesparts.co.uk/products/6951-mercedes-benz-c107-350slc-sunroof-switch-03812530
It has 4 pins:
1 black/white -> goes to fuse 16 (+)
2 green -> to motor
3 brown -> ground
4 blue -> to motor
On other side, we have VW switch which is basically regulator, not a classic switch. Looks like this: https://www.aliexpress.com/item/400...027244003!sea!HR!0&curPageLogUid=bsP6MmZ1jzYq
Here is scheme for it (part E139)
: https://www.r32oc.com/threads/sunroof-wiring.42475/#lg=attachment_xfUid-5-1676146419&slide=0
So, I would like to use my original MB switch instead of this VW regulator to control VW sunroof.
Is there any simple way to that?

Thanks in advance!
You need to take some screen shots from r32oc.com because only registered users can see them.
 

MrSalts

Joined Apr 2, 2020
2,767
So, I would like to use my original MB switch instead of this VW regulator to control VW sunroof.
Is there any simple way to that?
Short answer is, yes. It should be pretty straightforward.
Qualification, you'll be limited to full open of full closed positions with the MB rocker switch.

There seems to be multiple circuit diagrams for the versions of the E139 module for the VW.
See page 53/10 on the following link of the service manual of a Golf...

https://s3cf792cad773e861.jimconten...5741430422/name/VW Golf-6 Wiring Diagrams.pdf
This is a bit different switching and PIN numbers on the switch.
Note there is no neutral position of the switch next to the potentiometer.

The key here is to diagnose the pin assignments on the Golf E139 of how the internal switch toggles as the knob is turned.

Do you have a multimeter?
 

Thread Starter

ivan531

Joined Feb 11, 2023
13
Short answer is, yes. It should be pretty straightforward.
Qualification, you'll be limited to full open of full closed positions with the MB rocker switch.

There seems to be multiple circuit diagrams for the versions of the E139 module for the VW.
See page 53/10 on the following link of the service manual of a Golf...

https://s3cf792cad773e861.jimcontent.com/download/version/1600544824/module/15741430422/name/VW Golf-6 Wiring Diagrams.pdf
This is a bit different switching and PIN numbers on the switch.
Note there is no neutral position of the switch next to the potentiometer.

The key here is to diagnose the pin assignments on the Golf E139 of how the internal switch toggles as the knob is turned.

Do you have a multimeter?
Yes, I have multimeter. Could you let me know what needs to be measured?
Also, you say that I would not be able to fully open / close with this MB switch. For opening is ok, but I would like to have possibility to fully close it.
 

wraujr

Joined Jun 28, 2022
259
Looks to me like your Merc switch is a simple DPDT with center-off. When in center no power to motor, when left press voltage applied to motor with one polarity (ie blk/wht->grn and brn->blu) to say open and motor will run while you have switch pressed. When you press in opposite direction you apply voltage to motor but with reversed polarity (i.e. blk/wht-> blu and brn->grn). Position is determined by when you let go of switch.

VW control different beast where "regulator" is variable resistor (pot) that tells motor controller where you want window and the switch enables operation. That regulator is essentially the control inputs to a micro controller to control motor.

If you want to use Merc switch you'll need to gain access to the motor leads and bypass the embedded control module. As long as motor is 12V you should be OK.
 

MrSalts

Joined Apr 2, 2020
2,767
Yes, I have multimeter. Could you let me know what needs to be measured?
Also, you say that I would not be able to fully open / close with this MB switch. For opening is ok, but I would like to have possibility to fully close it.
With your switch, it cannot be set to an intermediate position. It can only be full open, or full closed.
I'll connect with you tomorrow, kind of busy tonight.
 

Thread Starter

ivan531

Joined Feb 11, 2023
13
Looks to me like your Merc switch is a simple DPDT with center-off. When in center no power to motor, when left press voltage applied to motor with one polarity (ie blk/wht->grn and brn->blu) to say open and motor will run while you have switch pressed. When you press in opposite direction you apply voltage to motor but with reversed polarity (i.e. blk/wht-> blu and brn->grn). Position is determined by when you let go of switch.

VW control different beast where "regulator" is variable resistor (pot) that tells motor controller where you want window and the switch enables operation. That regulator is essentially the control inputs to a micro controller to control motor.

If you want to use Merc switch you'll need to gain access to the motor leads and bypass the embedded control module. As long as motor is 12V you should be OK.
Hi, so if i connect my blue and green wires from MB switch direct to motor (it is 12V) this will work?
What if I, for example close the roof and press switch too long, will in that case motor stops?
 

wraujr

Joined Jun 28, 2022
259
Well that is where things get complicated.
Sometimes there are limit switches to turn off power to motor when it reaches end of travel.
Other times the motor just stalls under the load or the motor control module detects a high load and disconnects power to motor.
Really can't help with these details.
Have you considered making a control box with switch and potentiometer to mimic the VW regulator function?
 

MisterBill2

Joined Jan 23, 2018
27,197
"On other side, we have VW switch which is basically regulator, not a classic switch. " is a statement that tells me nothing useful.
The question becomes one of how complicated do yo want to get? And what sort of control do you want??And does the VW sun roof include all if the controls, which would not be used if the MB control were used??
Just connecting the MB switch to a motor is rather simple , although that arrangement will demand that the user pay close attention to what they are doing so that no damage is done at the ends of travel.
 

MrSalts

Joined Apr 2, 2020
2,767
Instructions...

A) Unplug the VW "Sunroof Regulator" at the regulator. The pins on the regulators connector should have numbers 1-5 so,were molded into the regulator.

A1) connect from pin 4 and pin 5. Check all resistances at all dial positions - you should have no connections at any position if your switch is like the one in post #1.

B) put your meter in Ohms range, measure from pin 2 to pin 4 and report resistance on all the different settings of the dial switch.

C) put your meter in Ohms range, measure from pin 2 to pin 5 and report resistance on all the different settings of the dial switch.

D) measure Pin 1 to Pin 2 and report value at all switch positions

E) measure pin 2 to Pin 3 at all switch positions


F) measure Pin 1 to Pin 3 at all switch positions.
 

MisterBill2

Joined Jan 23, 2018
27,197
OK, and I am thinking that there is an error, and the TS meant to tell us that everything works, and that the VW control scheme portion is installed and working as intended.
THat the TS would like to have the original MB sunroof control switch operate the sun roof, IN ADDITION to the VW control scheme, which includes a lot more.
So the question then becomes a question of how to connect the MB sunroof control switch to the VW controller module..
That can be done, based on the information given so far
But first, I need the TS to verify that the VW position controller actually works as it is intended to work, and that it is physically complete.
 

Thread Starter

ivan531

Joined Feb 11, 2023
13
OK, and I am thinking that there is an error, and the TS meant to tell us that everything works, and that the VW control scheme portion is installed and working as intended.
THat the TS would like to have the original MB sunroof control switch operate the sun roof, IN ADDITION to the VW control scheme, which includes a lot more.
So the question then becomes a question of how to connect the MB sunroof control switch to the VW controller module..
That can be done, based on the information given so far
But first, I need the TS to verify that the VW position controller actually works as it is intended to work, and that it is physically complete.
Yes, VW regulator works at it is intended to work, I just want to replace it with classic MB switch. I don't need option to regulate how much sunroof is open, It is fine for me that it is fully open/full closed. It is also ok if I have to push the switch and hold it until the sunroof is not completely open/closed. But yes, I'm afraid that I don't break something if I connect MB switch direct on motor and try to full open or close sunroof.
 
Last edited:

Thread Starter

ivan531

Joined Feb 11, 2023
13
Instructions...

A) Unplug the VW "Sunroof Regulator" at the regulator. The pins on the regulators connector should have numbers 1-5 so,were molded into the regulator.

A1) connect from pin 4 and pin 5. Check all resistances at all dial positions - you should have no connections at any position if your switch is like the one in post #1.

B) put your meter in Ohms range, measure from pin 2 to pin 4 and report resistance on all the different settings of the dial switch.

C) put your meter in Ohms range, measure from pin 2 to pin 5 and report resistance on all the different settings of the dial switch.

D) measure Pin 1 to Pin 2 and report value at all switch positions

E) measure pin 2 to Pin 3 at all switch positions


F) measure Pin 1 to Pin 3 at all switch positions.
Thank you, I will measure this when I will have time, probably next week.
 

Thread Starter

ivan531

Joined Feb 11, 2023
13
Well that is where things get complicated.
Sometimes there are limit switches to turn off power to motor when it reaches end of travel.
Other times the motor just stalls under the load or the motor control module detects a high load and disconnects power to motor.
Really can't help with these details.
Have you considered making a control box with switch and potentiometer to mimic the VW regulator function?
I'm not sure how simple/complex is build that box.
 

MisterBill2

Joined Jan 23, 2018
27,197
The slightly more complex option will be to rewire the connections from the MB sunroof switch to parallel the present VW control switch that operates the VW controller. THAT arrangement will give you all of the protection that the VW controller offers. The challenging part may be in routing the wires from wherever the MB switch is located to where the VW controls or switch are located. I am not familiar with either and so I can't help with that part..Except to caution to avoid sharp edges.
 

Thread Starter

ivan531

Joined Feb 11, 2023
13
The slightly more complex option will be to rewire the connections from the MB sunroof switch to parallel the present VW control switch that operates the VW controller. THAT arrangement will give you all of the protection that the VW controller offers. The challenging part may be in routing the wires from wherever the MB switch is located to where the VW controls or switch are located. I am not familiar with either and so I can't help with that part..Except to caution to avoid sharp edges.
Don't worry about that, I already have all wires from MB switch to the VW controls.
 

MisterBill2

Joined Jan 23, 2018
27,197
GREAT PLANNING!!! The plan will be to tie one section of the MB switch in parallel with the VW open/close switch.

The part needing serious caution is to be sure that none of the M.B. switch wires are connected to anything else, such as +12 volts or the body ground. That check can be made with just a good multimeter. OR, if you did the wiring, then you should recall what you connected..
My plan is based on the circuit showing in post #3 being a correct representation of the actual VW hardware as it is presently connected. I am not sure about that because that shows a module under the dash someplace. So obviously a few things are very different. But somewhere there is a module that has connections from the VW control.
 
Top