Model Railroad Crossing Lights – Arduino By Angela Cotey | January 9, 2017 | Last updated on November 7, 2022 Watch this video posted by a fellow model railroader Email Newsletter Get the newest photos, videos, stories, and more from Trains.com brands. Sign-up for email today! Get Updates Using an Arduino IR LED and Phototransistor, we detect an approaching train and start the level crossing flashers. Gates and bells are coming soon!