Overview: I wanted simple way to detect Lego trains passing over a section of track. I finally decided on using a reed switch instead of a light sensor, or a custom made light beam detector due to its small size, and still looks like Lego.
1 -