Arduino controlled model trains and layout

Steve_Massikker:
You did not answer my question about how DCC stopping concrete train before red signal. DCC is one-way data send system. How does the DCC-decoder on a train determine that in front of it is the red signal?

The train does not know there is a red signal with DCC or (as far as I can see) with your system. It is the computer control system that knows when a train must stop and sends the appropriate instructions to the DCC decoder in the loco telling it to slow down and stop.

Maybe you are creating a dead section of track before the red signal so the loco comes to an abrupt stop when it runs out of power?

...R