Two-trains-interaction with photosensors

Now that we can control 1 train with arduino, it’s time to add a second one.
We made a track where the two trains share a part of the track, but also each have an individual part of the track. In this case we can let a train wait on his own track, while the other train uses the shared part of the track.

 

Bron : https://legopal.wordpress.com/2014/06/29/two-trains-interaction-with-photosensors/