I recently obtained a Raspberry Pi, an Arduino, and a model train set. This should keep me busy and out of trouble for a while.
My plan is to use the Arduino to read sensors and control the turnout switches on the track, but I think it is easier to …