The Swiss light changeover with only white lights is easy and can be done with a small circuit with 4 diodes, and does not need any function except the f0 for the light changeover.
The red taillight on the other hand is a problem.
There are solutions from Märklin in different Swiss Locomotives that are different depending on the time and the Loco.
There are many solutions but the main difference is if you will use 1 or 2 functions to control the red taillight.
The solutions with one function are more complicated and in the limited space of this Loco you must use PCB with to many SMD components ( 5 transistors plus diodes, resistors....).
Märklin used a solution like this in 3956x Crocodiles with part no 606218. This part is no longer available and in newer Locos they use simpler solutions.
On the other hand the 2 functions solution is easier.
As far I had two AUX functions available I decide to follow the easier for me solution.
So the functions will be
f0 (f0-front: white, f0-rear: yellow): the light changeover with control of the white taillight
AUX 1 (green): Control of the red taillight in the rear part of the Loco
AUX 2 (violet): Control of the red taillight in the front part of the Loco
AUX 3 (violet/yellow): Front cabin light
AUX 4 (violet/white) : Rear cabin light
The circuit plan of the Loco is this one (NEM color code):

The parts used:

The white LEDs are actually Golden White. The resistor values can be different according to the LEDs that will be used.
I checked it on the breadboard with success:
Front direction white taillight

Front direction red taillight

Rear direction white taillight

Rear direction red taillight

So after the theory we have to do it.....
First I decide to use 1.8mm LEDs on the sockets of the original bulbs, with small modifications and use the light transferring lenses as they were.
So you can see the result:
Front of the panel with the three LEDS

Rear of the panel (I used the original plugs for the LEDs (4 of them) plus one small hole from where I pass the common (+) of the white and red LED)

The panel in place

Do it 2 times one for each side of the Loco.
Some remarks:
In the diagram you can notice that I put the drooping resistors on the (+) of the LED's (blue wire) and not on the (-) as I do normally. That has not any effect and in this case the PCB is simpler this way...
I have stop using protective diodes for a long time, and so far I never had a problem.
The use of diodes is may be useful with decoders without protection of the final stages.
Of course that make the whole circuit simpler....
I have leave now and I will be come back tomorrow with the PCB and the cabin lights
Costas
Edited by user 06 March 2017 23:45:53(UTC)
| Reason: Not specified