This Lego train layout will blow your mind
Check out this incredibly cool end result of a Lego train layout project 'AlmightyArjen' has been working on with a friend. It consists of 3 stations, 5 or 5 trains, and a crossing with work signals! The trains stop and leave at random, at any station. Once a train stops at a station, it is forced to stay there for a while. Using intelligent train control, crashes were avoided. All switches were motorized. The entire system is controlled by an Arduino Mega, using almost all inputs and outputs.