Since you're using an arduino already - would it work for you to have it trigger the lamp on/off per frame? If you do that, you should be able to use Motion Detect. The change in brightness will trigger it. I'm not sure if you can combine FRSP and Motion Detect, but it's worth a test, if so you'll avoid mirror and shutter usage.