Huge fully automated Lego train layout

I've built a huge Lego train layout which is fully automated by a few Arduino's. The passenger trains ride around and after a while they stop at the station. The freight trains intersect with the track of a passenger train. A section of the track of the freight trains can be powered down: if the passenger train passes the intersection, the freight trains will stop. The trains use PWM signals to start and stop. For starting it is actually needed: otherwise the locomotive will disconnect from the wagons and drive away by itself. I've used four analog distance sensors to detect where the trains are. Since I had some Arduino's laying around, I was lazy and used three of them. That way I didn't really have to worry about race-conditions.

https://www.youtube.com/watch?v=uMceWk8m3vQ?hl=nl_NL

Gomez Addams would love it!

More if the trains crashed!

 

Good Job.

How about I post a video of

How about I post a video of all the crashes that have occurred before I had the whole thing up and running? :stuck_out_tongue:

I see a failure in theme

I see a failure in theme here… why aren’t the trains carrying beer kegs? :stuck_out_tongue:

YOU!!!

You my friend, have come up with an awesome idea… Love it. 

Thanks for all the comments!

Thanks for all the comments! I’m thinking about a version 2.0, with automated trackswitches and some extra trains. The problem is: I don’t have much extra space in my living room to build it! This already took me almost 2 days to set it up, make a video and put it all away again. Maybe I need to buy a bigger house with a bigger living room :wink:

can you show us a normal speed vid on how to make it?