We had a little snow this week so whilst I was experimenting with timelaspe I thought I would try capturing the snow in our garden melting.
I attached the Raspberry Pi and the camera module fixed into the supplied case to my bedroom widow facing the garden.
As you can see there was no space to attach a monitor , keyboard and mouse so i used the Wi-PI 802.11n wifi adapter to connect to the RPi using SSH and VNC.
For some reason the first run (when using Raspistill -tl x -t x) crashed and I only had a few pictures from the first evening. With a restart and a change to using a bash file with and a cron job set to take picture each minute I set the camera off again.
To do this I created a very simple bash file called `timelase.sh` with the following code:
raspistill -o /home/pi/camera/$DATE.jpg
Then I added a cron job using
sudo crontab -e
The last line of the comments show the format of the line you need to add. I wanted to run the file every minute so the line I added was:
* * * * *
If you wanted to change the interval of the pictures you could change the line with the time interval for example for the file to be run every 15 minutes the line would be:
*/15 * * * * /home/pi/timelapse.sh 2>&1
Once this is set up the pi will run the command every minute (or every 15 if you used the second command) and the files will be saved.
So now all that remains is to wait whilst the pictures are taken.
As the supplied card was only 8Gb and the pictures are around 2.4mb each the space on the card is only sufficient for a period of around 12 hours (when taking a picture every minute). To ensure the space was sufficient I logged in via VNC every now and again and transferred the filed onto a USB stick. This can be done automatically by setting up the location to save the files to the USB stick rather than the RPi SD card.
Once the photography was completed I used the files to test the video editing software I had available to see which would be best for the crystal experiment.
Before the photographs were compile i did a quick compile with Windows movie maker live
For some strange reason the files were not imported in the correct order so the footage is a little jerky and loops back again (shadows moving left to right then start at the left again).
This appears to be an issue with the file naming i have used and for some reason the option to sort files by date taken is hidden somewhere in the version of Window Movie maker that I currently have installed. I will have to look into this and find a better way to organise the files as the full version has 2900 pictures so i do not want to be arranging them individually. Once I have this problem rectified I will post the full version.
As the snow mainly melted overnight I didn't get theresults I planned but it is still quite nice with clouds moving, the lights coming on a night etc. Apparently it is going to snow again this week so I may try again.