Time-Lapse Photography with your Inexpensive Canon Camera (CHDK p. 3)
Aerial Mapping With Your Canon Point-and-ShootParts one and two talked about some of the cool features you can enable on your camera by installing the Canon Hack Development Kit. But the most powerful CHDK feature is the scripting interface.
Scripting is how I first found out about CHDK -- at a workshop at WhereCamp. Jeffrey Warren of Grassroots Mapping demonstrated balloon aerial mapping using a cheap Canon camera and materials like a cut-up soda bottle, string, a garbage bag, tape, and open source photo stitching software.
Lots of fun, but how does this tie in to CHDK? When your camera is 500 feet up hanging from a balloon, how do you tell it when to shoot photos? You could build some kind of radio-control gizmo, but that's expensive and complicated. All you really need is a script to shoot at regular intervals -- say, every 10 seconds.
Here's the script they use, chdk-timer.txt (from the Balloon Aerial Photography page):
rem Author - Keoeeit rem USE WITH CAUTION rem do not run for many hours or days @title Interval Shooting Non-stop @param a Interval (Minutes) @default a 0 @param b Interval (Seconds) @default b 10 @param c Interval (10th Seconds) @default c 0 t=a*60000+b*1000+c*100 if t<100 then let t=5000 n=1 print "Interval shooting." print "Until you interrupt it." print "Use with caution." sleep 1000 :shot print "Shot number", n shoot n=n+1 sleep t goto "shot"
Installing and running a script
To install a script on your camera, mount the camera's SD card on your computer and copy the script to CHDK/SCRIPTS (or chdk/scripts, depending how your computer is set up).
Move the card back to your camera and power on. Press the CHDK Shortcut key to get into ALT mode (see the previous article) and enter the Scripting parameters menu. The first item is Load script from file... (Figure 1).
Once you've loaded your script, run it by pressing the shutter button while still in ALT mode. In the case of this chdk-timer script, it will shoot a picture every 10 seconds until you stop it by pressing the shutter button again.
Pretty neat! Even if you aren't set up to do aerial mapping,
you could strap your camera to the passenger seat of your car and
take a time-lapse video of your commute to work ... or create
time-lapse videos of clouds moving across the sky.
- Skip Ahead
- 1. Aerial Mapping With Your Canon Point-and-Shoot
- 2. Aerial Mapping With Your Canon Point-and-Shoot
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x
- 5Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10