Timelapse with picamera and pi camera module