We’ve seen diy shutter remotes before. Canon’s digital SLRs allow control of the camera over USB. Unfortunately they limited the exposure time to 30 seconds via USB control on some of them. To get around it, several (amateur) astronomers have built a serial interface to exploit the remote shutter control port normally used for accessories.