You're reading ...
Arduino, Hardware, Software

USB Configurable Arduino DDC Servo & Accessory Decoder: Add a Port to a Servo to Switch Electrofrog Polarity

When a port is configured as a servo, we have the option to also configure one or even two outputs to go along with it.

This can be used for many different purposes, but the main application of the extra outputs is to switch a relay to accommodate a so called ‘electrofrog’ turnout. These turnouts require the DCC signal on the frog and the frog point to change polarity with the state of the turnout: straight or bent.

electrofrog

When one extra output is configured, it switches halfway the rotation of the servo. This is OK for the turnout types where the frog point is isolated and can be switched any moment without creating an electrical short.

There are turnout types however (like Peco N scale) where a second relay is needed to switch the DCC off before the servo movement starts. The other relay then switches DCC polarity halfway, and when the movement has finished the second relay switches DCC back on .

The graphs shows the timing diagram for this setup.

electrofrog

The video shows how to setup a servo to use one or two additional switching ports.

— 0 —

About RudyB

Hobbyist

Discussion

One thought on “USB Configurable Arduino DDC Servo & Accessory Decoder: Add a Port to a Servo to Switch Electrofrog Polarity

  1. Hi Rudi, could you please point me to a diagram for using the MOS-FET module 140C07, when using it for switching turnouts in combination with the DCC Next module from Arcomora. Really lost on how to figure this out. And what would be better using the MOS-FET’s or just using the Relais Modules. I do want to use it with Traincontroller.

    Greetings Frank

    Like

    Posted by Frank Klein | March 9, 2020, 09:07

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Archive of all posts

Categories

%d bloggers like this: