Controlling LEGO Trains with Arduino
The LEGO Group has its own mechanical system, the Power Functions system. Motors and lights that are made by LEGO and power such projects as dinosaurs, bulldozers, and trucks are controlled by the Power Functions system. There is also a thriving train community that uses LEGO trains to create large, ornate multi-train layouts that run through LEGO cities and towns crowded with buildings and people as they go about their LEGO lives. Like the other Power Functions creations, the trains are controlled remotely to tell each train which direction and how fast to travel.