Now that you have your raspi up and running, it’s time for the first project: turning your raspi into a time lapse camera. (My first plan was to create a security camera, but time lapse is easier to implement and good “get to know your raspi”-project).
Pimylifeup has a nice easy time lapse project for beginners, but using crontab to schedule raspistill seemed unnecessary step to me, as raspistill itself has time lapse option build into it. So, I would suggest to check out the pimylife’s project and maybe implement it as a rehearsal to get to know your raspi, scripting and how the system works, if you are unfamiliar with those areas, but otherwise I found that method introduced here is a bit more elegant.
I created two small scripts to ease up starting and stopping the time lapse process, they can be found here. Modify the parameters to your needs before start using the scripts.
Once you have taken set of images, you probably want to make a video out of them. At the end of second tutorial there are instructions of how to build a video using memcoder, but I haven’t tested it yet. Instead I used Avidemux software and method described here, and it seemed pretty easy and straightforward.
Connection to shared folder via smb
I used winscp to copy the files from raspi to my Windows computer. To avoid copying, you might want to share a folder on you Windows computer, share it and mount it as part of you raspi’s filesystem. Instructions of how to do this can be found at least here.
Note: I ended up writing the images to raspi’s memory card, as at some point writing to shared drive failed. I still don’t know why, but I blame WiFi connection and cheap USB dongle. If you have better connection or using Ethernet, this shouldn’t be a problem.
Note: I don’t bother to add links to how to share directories between raspi and Linux machines, because if you are running Linux you probably already know how to do it or at least you should probably already know how to find information of how to do it 🙂
TIP: Read from here how to use streaming to help positioning your camera for time lapse.
As a bonus, here are two of my first raspi time lapse videos: