Over the past few months we've been tracking the progress of YouTube member almightarjen, as they've been documenting their progress of automating LEGO train sets with electronics and various Arduino-compatible circuits. From basic level crossing controls to automating crossovers to prevent an accident, the systems have become more complex.

And finally all of their hard work has come together, which has resulted in a fully-automated LEGO coal train and terminal system. Trains are controlled, loaded with coal, run around the rail system - and then the coal is dumped just as in real life. If you have a few moments sit back and enjoy the following video:

Arduino Workshop takes the reader from having zero knowledge about the Arduino platform, electronics and programming and leaves them with the know-how and instructions on everything from blinking an LED, to robotics, wireless data, cellular communications, motor control, sensors, Internet connected systems and more. For more information including a sample chapter and table of contents, visit the book page.