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

USB Configurable Arduino DDC Servo & Accessory Decoder – ArCoMoRa 3 – Configure Double Port Accessories

turnoutIn the previous video we configured an accessory that switches one port via a given DCC Address. But we can go further than that … the MARDEC software has the option to switch 2 ports via 1 DCC address.

This comes in very handy when for instance we have 2 inverse blinking lights, like with a railway crossing, we can configure a ‘double flash’.

Or … we can use a ‘double one shot’ to switch a solenoid turnout that has two coils. One coil gets a pulse when the DCC address switches to HIGH, the other coil gets the pulse when it switches to LOW. Beware never to connect solenoid coils directly to an Arduino or DCCnext or you’ll blow up the output pin. Use a FET module in between, as shown in the MARDEC user manual, to deliver the needed current.

The video shows both applications.

— 0 —

About RudyB

Hobbyist

Discussion

9 thoughts on “USB Configurable Arduino DDC Servo & Accessory Decoder – ArCoMoRa 3 – Configure Double Port Accessories

  1. Hi Rudy. I have a question about train controller I am having problems when a loco arrives in a station then a small loco pulls out the carriages after which the main loco reverses out the carriages are pushed back then after the loco is turned around it then connects to the head of the train again ready to leave the station. The problem is the loco when reversing to connect want to drive to it’s original stop position . I know the manual has instructions in how to achieve this but I cannot work them out. Can you help Regards stuart

    On Mon, 29 Jul. 2019, 8:32 pm rudysmodelrailway, wrote:

    > RudyB posted: “In the previous video we configured an accessory that > switches one port via a given DCC Address. But we can go further than that > … the MARDEC software has the option to switch 2 ports via 1 DCC address. > This comes in very handy when for instance we hav” >

    Like

    Posted by stuart marshall | August 4, 2019, 22:25
    • It’s the same loco, thus without any precautions it will use the same (now too far in) stop marker.

      We can change that by placing a condition in the stop marker. Create a signal or a switch (if you wish it can be hidden) that you turn on at the start if the final schedule that runs the turned around train back into the block.

      In that block you have 2 stop markers for this loco. One is for the first stop, which has as a condition that the signal or switch is turned OFF. The other one is for the turned around loc stop position, which has as a condition that the signal or switch is ON. Turn the signal or switch off again at the start of the ‘drive away’ schedule.

      Like

      Posted by RudyB | August 5, 2019, 11:54
  2. Please note:
    It is NOT possible to connect a coil of a turnout directly to a DCCNext port.
    That requires an additional MOSFET transistor as shown in the pictures on the MARDEC manual.

    Nico Teering

    Like

    Posted by Nico Teering | August 2, 2019, 20:52
  3. Hi Rudy,

    I have watched all your videos and find them very informative. However I don’t understand the electrical wiring aspects very well. So if I could make one suggestion that would help me it would be that you showed exactly how you connect all the various electrical wires between the Arduino and the LEDs.

    Thanks

    Like

    Posted by Warren | July 29, 2019, 12:32
  4. Hi Rudy I was working on my Layout and I was working on my well Cars To get them back up and running and I had a very bad fall And broke my Hip and the Drs. Can’t believe off the falling I have had They had to put a plate and pins in to try and save my life I am really sorry about Rudy I am really going to have to get real help with this And to get the full Layout up and running perfectly thanks again Rudy and I am really hoping you can help me with this problem Rudy it’s very difficult to explain right now

    Teady BNSF Intermodal stationmaster28@gmail.com

    On Mon, 29 Jul 2019, 11:31 am rudysmodelrailway, wrote:

    > RudyB posted: “In the previous video we configured an accessory that > switches one port via a given DCC Address. But we can go further than that > … the MARDEC software has the option to switch 2 ports via 1 DCC address. > This comes in very handy when for instance we hav” >

    Like

    Posted by BNSF Mephis Intermodal | July 29, 2019, 10:51

Trackbacks/Pingbacks

  1. Pingback: USB Configurable Arduino DDC Servo & Accessory Decoder: Configure and Tune Servos | rudysmodelrailway - August 5, 2019

Leave a comment

Archive of all posts