Hi I am a newbie and hopefully my question is simple to answer.
I have a single magnetic reed switch in a track of a model railway ahead of a point/turnout. The reed switch is connected with 16V AC and a diode. The model trains have a magnet that triggers the reed switch as it passes. The two inputs of the turnout motor connect to the reed switch and the transformer. That is fine for triggering a thrown switch to closed or visa versa by switching the polarity wiring of the diode. However, I want the turnout to alternate between "thrown" and "closed" so that each train that passes goes in alternate directions.
I know that this would be easy to achieve if I placed a reed switch on each track after the turnout (each with opposite polarities). But for various reasons (less wires) I need to use a single reed switch before the turnout.
I am assuming some form of flip flop relay (maybe an H bridge?) is what I need but I am getting confused about the best way to trigger or wire it (and how to avoid it bouncing back and forth).
Thanks
