Leo
Thanks for doing this tutorial. The Arduino can provide an inexpensive implementation for many systems that enhance our layouts including signaling, building interior light control, animation, switch motor control, etc.
Geoff Bunza did an article in Railroad Model Hobbyist which included an introduction to the Arduino world as well as dozens of light, sound, and servo projects, all with downloadable code.
Bob