August 5, 2021, 8:52pm
Hi, gang. For the train guys out here, I'm working on juicing a frog on a DCC layout.
For those who saw that as greek, sorry. I need to reverse the polarity of a piece of track.
My first thought was a pair of non-latching relays that the Arduino would flip as needed. Then I wondered can a relay work backwards. eg, NO and NC are the input, and the COM is the output?
Again thanks. I'm way more of a programmer than I am an electronics guy.
Whilst I freely admit that I know practically nothing about DCC train control, why do you need to reverse the polarity of a section of track ?
I thought that one of the features of DCC was that the track voltage was constant and that the locos were controlled digitally
I would think a DPDT relay would easily do the job. You can do it with semiconductors (Google H motor driver) but would be much more work / complex.
August 5, 2021, 9:08pm
In a turn out where the tracks all cross there is a small piece called a frog. when a train is crossing the turn out normally, the right wheels contact frog. When it's following the divergent route, the left wheels contact the frog.
So depending on which direction the points are set, that frog has to have the polarity flipped.
August 5, 2021, 9:09pm
Thanks JohnRob. I would use a manual DPDT switch for this before, and didn't know a DPDT relay existed. I'll go look it up.
August 6, 2021, 3:24am
Yes, it is perfectly usual to use a relay common to select between two alternate supply lines.
Generally you will control the relay according to which way the points are switched.
But it may be more appropriate for you to describe the layout in general.
I didn't see this until I read
See this link showing a typical DPDT device wired for reversal.
How are you going to throw the turnout? if you are using a servo and arduino then you can connect a relay and when the turnout is thrown it will trigger the relay. which can then change the polarity on the frog.
March 9, 2022, 12:00am
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.