This project configures a Raspberry Pi with the camera module to run as a time lapse camera.
The following assumptions are made:
- You have a Raspberry Pi with camera module.
- You have Raspbian installed.
- The Pi can access the internet.
NOTE: Read through ./bin/setup
to understand what the installation script does. It will override your cron
configuration.
-
On your Raspberry Pi, clone this repository to a location of your choice. For example to the
~/Code
directory.mkdir ~/Code; # Create the "Code" directory git clone https://github.com/tmcinerney/timelapse.git; # Clone this repository
-
Navigate to the
timelapse
directory.cd timelapse
-
Run the
setup
command../bin/setup
-
Keep an eye on the output. If it succeeds you will be prompted to reboot for the camera module to work.
sudo reboot
-
Once your Raspberry Pi has rebooted, your device should be configured to:
- Capture a picture every 2 minutes.
- Stitch together captured pictures into a video daily at 8am.
- Both captured pictures and videos are located in
./output
.