Thanks everyone for the excellent suggestions. I like the laser - mirror - photocell idea. Sparkfun has some lasers like this one and I could reflect the beam into photocell attached to an Arduino.
That would be a fun project to put together and learn from. If I do it I'll let you know how it goes.