Use a Raspberry Pi to drive a camera shuttter with a TriggerHappy cable.