3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Time-Lapse Photography

Time-Lapse Photography
Hacking an old digital camera to take time-lapse picture sequences is fun and easy. All you need is some basic electronics skills and a little bit of patience.

I am using an Arduino (Atmel168 development board) as the time-lapse controller, but you can use any micro controller.

This was originally made for Day 5 of Thing A Day.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Go get stuff.

Go get stuff.
You will need:

1 - digital camera
1 - small 2-pin socket
1 - 5V relay
1 - Arduino (or other micro controller)
« Previous StepDownload PDFView All StepsNext Step »
87 comments
1-40 of 87next »
Mar 21, 2012. 8:06 PMTheBookworm says:
I'm sure someone else has said this, but I don't want to go through 86 comments:

Program your arduino to send out a signal to your camera every x minutes through its Ir remote

there is a tutorial on adafruit on how to find the signal

http://www.ladyada.net/learn/sensors/ir.html#intervalometer
May 24, 2009. 12:50 PMRadioactive_Legos says:
If you didn't want to modify your camera, couldn't you put a servo into +5V, Ground, and one of the PWM-supporting digital pins and then have the servo push the button? I am hoping to pick up an Arduino Duemilanove at the Maker Faire this upcoming weekend and want to try this without sacrificing an innocent camera :-)
Feb 5, 2012. 11:31 AMdiy_bloke says:
I know it has been almost 3 years, but I have indeed done that. No need to reverse the voltage on the servo, just send it back to its starting position with the right pulse.
I tested everything with a nano and then just put the program in an Attiny85 with a potentiometer to set the interval
May 25, 2009. 9:06 AMRadioactive_Legos says:
Thanks! Will do! One more question: is it critical to "press" the button for 5 seconds, like your program shows? Could it be for less time, say 500ms? Thanks again!
Dec 12, 2011. 1:51 PMRobot Lover says:
It would be much easier and cheaper to use a transistor. That way you can take more pictures faster and don't have to worry about a dangerous voltage transient.
Dec 13, 2011. 7:47 AMjimvandamme says:
He wanted to isolate the 'duino 5V from the camera 3V. A simple FET would do the job, or a optoisolator for isolation. Or just a diode across the relay coil.

Second thing I'd do is put in a focusing switch which clicked on the auto focus a couple seconds before clicking the shutter.

Third thing is use really fine wire going into the camera, like wire wrap wire.

Fourth thing is turn on the camera power with another timer. You can use a P channel FET for that, witching the camera 3V.
Dec 13, 2011. 8:47 AMRobot Lover says:
Using a NPN transistor would isolate it from the camera's 3 volt line. I just think that using a relay or optoisolator is a bit overkill.
Dec 6, 2011. 10:45 AMspystealth1 says:
Wouldn't the relay just spit dangerous voltage back into the arduino's pins when it releases the switch? I think you might want to put a diode between the relay's pin or just use a transistor with it.
Oct 13, 2010. 7:07 PMpurpulhaze says:
I followed your instructable but I don't think it's stable. For some reason when I set the picture delay more than 30000 it's acts sketchy. Even if it does work eventually will not stay sync. Can you tell me whats going on here?
Oct 14, 2010. 3:07 AMpurpulhaze says:
Maybe there's something wrong with my arduino. At first when I set to 75 seconds it worked for maybe 10 or more minutes then for some reason would end up eventually triggering every 10 seconds.
Nov 4, 2011. 5:48 PMdwosullivan says:
I'm new to arduino (3 days...), and i realise you posted a year ago, but i understand intergers (as in "int stupidvar") can only go up to 34000 ish. After that use the long command so "long stupider = 60000;" will delay 1 minute. long can go up to 2.5 million or billion or some other much larger number.
Apr 10, 2011. 9:48 PMshakespeare1212 says:
Nice ible but I would like to be able to leave a time lapse camera out in the open, maybe for 2 month or more, and only check on in on it like once every 3 days. Anybody know of plans that have an all-wether enclosure, and a power wake up feature? I have an arduino uno, and I'm comfortable with the programming, but why is the relay necessary? Can't the Arduino close the circuit on it's own? It's not like it's driving a motor. It's just sending a fairly long pulse, no?
Apr 10, 2011. 9:39 PMshakespeare1212 says:
I see breakage. :-)
Nov 26, 2010. 9:45 AMRyutso says:
So how's it work? Turn the Arduino on, Turn the camera on and it just starts snapping pictures like mad?
Jul 21, 2010. 3:51 AMtinstructable says:
instead of using an arduino, couldn't you use a 555 timer?
Jul 9, 2010. 3:40 PMChickenGrylls says:
I made this Instructable and it's totally awesome. I too (like someone else in the comments) used this for Kite Aerial Photography. I want to make the rig lighter though and get rid of the Arduino board and it's powerpack. Could I use a 555 timer chip and leach power off the camera? I know this is plausible. I just have no idea how to begin!
May 13, 2010. 7:06 AMRmal says:
source for the 5v relay?
Feb 10, 2010. 3:13 PMp13m4n says:
This is very wasteful for what it is - why not just use a 555 timer?
Dec 20, 2009. 10:06 PMsmb says:
Nice Thing A Day. I didn't see this tutorial and inadvertently rediscovered the technique when hacking around with $10 keychain cameras from drug stores.

So, if you don't mind me cross-posting: For folks who see this who are hesitant to break open their fancy cameras, you can do pretty much the same procedure with an off-the-shelf keychain camera by following along with my Instructable here: Hacking a keychain digital camera for arduino control

That said, I opted for transistors and not relays - in part because I was less worried about messing up the camera if I didn't get the levels right. ;)

 

Now that I've seen this, you've given me the courage to find a really nice camera cheaply and see if I can't crack it open to do the same thing with a relay. (I probably wouldn't have had the guts to try it if I hadn't seen you do it here. :P) Thanks! :)

Jul 8, 2009. 10:35 AMReCreate says:
Why Isn't this featured?
May 19, 2009. 8:42 AMDandeman321 says:
What is the relay for? Is it to create a large enough voltage for the camera's switch to be tripped to make the camera take a picture?
May 20, 2009. 8:30 AMDandeman321 says:
Ahh Ok Ok. Makes sense. Do you need the relay? could you do this without it?
Jun 24, 2009. 9:32 PMReCreate says:
Well, The relay is like the ardurino's "capture" button...So it is necessary...
May 20, 2009. 3:36 AMDandeman321 says:
Yeah I understand that, I was just wondering what the relay was needed for? Doesn't the microcontroller put out a 5 volt high? Isn't that enough for it to trigger the camera button?
Aug 15, 2009. 5:36 PMandrew101 says:
see that isnt really the issue. the camera button is pressed by closing the curcuitbetween those 2 points. the way it does so will vary from camera to camera. and you would risk damaging the camera to apply more voltage to it in some cases. if you really cant find a relay, it would be possible with an NPN transistor i added a picture
Aug 16, 2009. 8:01 AMDandeman321 says:
Thanks! I'll have to check it out. I may be getting a broken camera soon. May try this.
Aug 15, 2009. 5:38 PMandrew101 says:
you would need a multimeter to test wich way the voltage is trying to travel. and this would work similar to a relay. when a voltage is applied it allows current to go from the collecter to the emitter. note, you need to add a resistor between the base and the 1/0 pin, otherwise you risk burning out the pnp transistor.
Jun 24, 2009. 9:31 PMReCreate says:
Wow, this i great, I don't see Why it is not features, I understand everything, Even the Code, For once :P
May 25, 2009. 6:40 PMkholdsworth27 says:
did the camera have any problems auto focusing? good work on all fronts
1-40 of 87next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2364
Followers
200
Author:randofo(Randy Sarafan loves you!)
I am the Technology Editor here at Instructables. I am also the author of the books 'Simple Bots,' and '62 Projects to Make with a Dead Computer'. Subscribing to me = fun and excitement!