“If I could save time in a bottle…” it’s not just an old song, it’s a passion for many photography hackers. Time-lapse photography is a way to show the movement of time through still images. These images are animated into what essentially is a video recorded at a super low frame rate. We’re talking one frame per minute or slower in some cases! The camera doesn’t have to be still for all this, but any motion must be carefully controlled. This has led hackers, makers, and engineers to create a myriad of time-lapse rigs. This week’s Hacklet is all about some of the best time lapse projects on Hackaday.io!
We start with [Swisswilson] and the simply named Timelapse rig. To say this rig is beefy would be an understatement. All the aluminum parts, with the exception of the gears, were machined by [Swisswilson]. Two Nema-23 Nema-17 motors are controlled by Sparkfun Easy Stepper Drive boards, while an Arduino Micro serves as the controller. The electronics are all housed in a sturdy box which also serves as a remote control. A joystick allows pan and tilt to be manually controlled. The bombproof construction is definitely a help here, as [Swisswilson] is using this rig with DSLR cameras. Combined with a lens, these setups can reach a pound or two.
Next up is [minWi], who put their script-foo to work with raspilapse. Raspilapse automates the entire process of taking photos, assembling them into a movie, and uploading to YouTube. The hardware is a Raspberry Pi Model B, with a RasPi Camera. The Pi shoots images then uploads them to a Virtual Private Server (VPS). [minWi] used an external server to save wear and tear on the Pi’s SD storage card. At the end of the day, the VPS uses ffmpeg to assemble the images into a video, then uploads the whole thing to YouTube. We’re betting that with a few script mods, this entire process could be run on a Raspberry Pi 2. If you’re really worried about the SD card, a USB flash drive could be used.
[Andyhull] takes us down to one frame per day with Sunset and Sunrise camera controller. [Andy] wanted to get shots of the sunrise every day. Once converted to a video, these shots are great for documenting the passing of the seasons. He used a Canon point and shoot camera along with the Canon Hack Devleoper’s Kit (CHDK) for his camera. The camera has its own real-time clock, and with CHDK, it can be programmed to shoot images at sunrise. The problem is power. Leaving the camera on all the time would quickly drain the batteries. Arduino to the rescue! [Andy] programmed an Arduino Pro Mini to turn the camera on just before sunrise, then shut it back down. The standby power of a sleeping ATmega328 is much lower than the camera’s, leading to battery life measured in weeks.
Finally, we have [caramellcube] who added data to their time-lapse photos with Portable Observation Device (POD). POD was conceived as a device to aid paranormal investigators. The idea was to have a device that could take images and record data at a set interval from within a locked room. Sounds like a job for a Raspberry Pi! [caramellcube] started with Adafruit’s Raspberry Pi-based touchscreen camera kit. From there they added a second board controlled by an Arduino Nano. The Nano reads just about every sensor [caramellcube] could fit, including humidity, air pressure, magnetic field strength, acceleration, light (4 bands), sound, and static charge. The Nano allows [caramellcube] to connect all those sensors with a single USB port on the Pi. We’re not sure if [caramellcube] has found any ghosts, but we’re sure our readers can think of plenty of uses for a device like this!
If you want to see more time-lapse projects, check out our new time-lapse projects list! If I missed your project, don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!
Aren’t those Nema 17 motors, not Nema 23 motors in the first article?
You know – it might actually be one of each, those are definitely different motors. I’ve pinged [Swisswilson] about it on his project page.
Yep those are nema 17 for both of them, just different torque ratings. If the camera is balanced right on the rig then you can get away with even smaller steppers i think. didnt realize this was posted, thanks!
I’ve updated the post to show the correct motor type. You’re welcome for the feature – thank you for making a great project – it makes my job easier!
For the record, the Sunrise timer now runs on an ST32F103XXX board, see … https://hackaday.io/project/2126-sunset-and-sunrise-camera-controller/log/20139-updated-to-arm The eagle eyed hackers will have spotted that this is the version in the picture above, rather than the Arduino ProMini version. It still uses the Arduino IDE for coding, See http://stm32duino.com/viewtopic.php?f=19&t=380 for more details if you are interested.
“…used an external server to save wear and tear on the Pi’s SD storage card…
If you’re really worried about the SD card, a USB flash drive could be used.”
AFIK that is not right. Most of modern SD cards have inbuilt wear leveling while USB flash drives don’t. In other words USB flash drives will last less than SD cards.
If you are really worried use an external hard drive.
usb wear cant be that bad, running my home server for about 6years straight from the first usb stick. not even tried to move logging, etc to one of the hard drives…
It is not, they are usually rated to 10,000 to 100,000 writes. By the way, I have my home server running from USB stick as well :-)
But the article suggested that a USB stick will last longer than an SD card which I don’t think is correct.
i think it fully depents on what brand of stick/card u might use. i heard of wear level implementations on both.
It’s not so much the wear on the SD vs the USB, it’s the fact that a failed SD card will take down the Pi. I’d love to see some data on the wear leveling (or lack thereof) on the current crop of USB sticks. Of course, one could always use a microSD card in a USB stick adapter.