I've been working on this Arduino project for a while. Mostly mechanical issues, but finally got a solid solution for my LEGO train track switch. I am also using IoT style messaging to emulate a distributed network of "things". It's a little overkill for a single track switch, but it helps to understand the bigger picture with these types of technologies. I plan on integrating this with a train schedule API so I can send the train down a path based on real-world data. I also have an OLED display in the mail, so will be cool to show train times as well.



Train Track Switch – Servos, LEDs, PubNub and Johnny-five.io | Internet of Lego

train track switch - thumbnail.jpg