Setting up Turn out table

Farhan Dec 13, 2018

  1. Farhan

    Farhan New Member

    7
    1
    1
    hello,
    I am trying to setup a turnout table for DCC++ I have a DCC ++ running in mega and one Servo connected to Uno Digital Pin 3. I have successfully configured DCC monitor by creating a circuite on a Bread using Optocoupler and to ensure that DCC++ activity is reported on the Uno that running the DCC monitor from (Mynaby) code which means DCC signals are flowing through between the 2 boards.

    I installed the Accessery decoder code to Uno and connected the Serveo to Digital pin 3 and assigne address as 1 and with Pin as 3. Now I went to DCC ++ computer and on the serial monitor entered.
    <T 10 1 3> as a response I get <H10 0> means Turn out is accepted, now I applied <T 10 1> on the Serial monitor to move the servo but no activity.

    I have tested the servo using Arcomora Madrec software https://www.arcomora.com/ that allows you to test servos at the command prompt this software worked but when I try some thing run this on DCC ++ it is not showing any progress and no error reported

    Main Question
    According to the DCC++ command guide
    < T ID ADDRESS SUBADDRESS >:
    <T 10 1 3>
    In my Case
    10 is a number that ramdonly picked up
    1 is the Address I defined in the accessory decoder code which is uploaded to Uno
    3 is the Pin whrere I connect the Orange wire of SG90 servo

    Can you guide me what is it that I am doing wrong
    Thanks in advance
     
  2. Atani

    Atani TrainBoard Member

    1,475
    1,783
    37
    Last edited: Dec 13, 2018
  3. Farhan

    Farhan New Member

    7
    1
    1
    Thanks for the Quick reply, Your suggestion worked I also had my GroundWire connected incorrectly fixing wire and your advise worked
    Thanks
     
    Atani likes this.

Share This Page