For a long time I've wanted to make a long term time lapse video. Yesterday I saw a project on the Instructables site which inspired me to get started. That project was designed for a Raspberry Pi to control lighting and the camera. My version will use an Arduino Nano as I had one in the junk box and I find them easier for my remaining grey cell to cope with the programming.
The basic set up is simple.
The Arduino (on the right) doing the timing to control two relays (on the left):
One relay will switch some 12V LEDs on for each shot.
The other will fire the camera, in this case an old Canon 350D.
The sketch (instructions for the Arduino) is simple:
This has a fixed delay time of 15 minutes though any other could be used by changing the value for waitTime (in seconds).
Normally I wouldn't use 'delay()' for such long periods as the Arduino can do nothing else during this time but that is exactly what is needed in this case. I tested the timing with a stop watch and it was within a second over the 15 minute wait.
The camera and Arduino will have to be powered from the mains as they could well be running for many days, possibly weeks, depending on the subject I choose.
I am also toying with the idea of writing a sketch where the delay time can be set on starting the program and displaying it on a small display.
3 hours ago