Timelapse photography with a Raspberry Pi