But building them and experimenting with them gave me enough confidence to try more things, and so I dug up some basic ideas from websites and the kits I had been building, and tackled some problems I had been having:
- accessory decoders: some signals don't play well with decoders that give negative voltages, so either I needed to use different decoders for these signals, or I had to find a way to reverse the voltage; after some experimenting, I came up with this design:
- By using the same bistable relays, it was also possible to convert an accessory decoder to a switching decoder, to use with scenery lighting or other effects that need a toggle on/off circuit. I use this type of relay, with two coils:
The coils are not polarized, so by tying together one pole of each as common pole, and connecting the others to the decoder outputs, you have a switching decoder. They cost about € 10 (£ 9), so for converting some outputs of a normal turnout decoder it is quite economical.
- Lighting: for specific lighting situation (station platforms, working lights in sheds, etc.) I needed small light sources, so LEDs were quite convenient. Normally, I would connect these leds in series with a resistor, but this is not optimal: the resistors dissipate heat, and the value of the resistor depends on the supply voltage and the number of LEDs used. So I went looking for a neater solution: a constant current source circuit. I found two possibilities:
![]() | ![]() |
One neat use for this is in an optical gate I use for train detection: since it uses an infrared LED, it is not easy to detect whether the LED still works, so I used the first circuit and connected a second red LED in series; if that LED is on, current flows through it and therefore also through the infrared led.