Now is time to program the Arduino and test your setup.
Follows is my code:
/* Time-Lapse Camera Controller
- Hits a camera shutter at a set interval
- for time-lapse photography. The rate of the
- delay can be manipulated for unique effects.
int camPin = 7; // sets the camera shutter pin
int stupidvar = 30000; // sets the delay between pictures
pinMode(camPin, OUTPUT); // defines pin as an output
digitalWrite(camPin, HIGH); // presses the button
delay(5000); // waits
digitalWrite(camPin, LOW); // release the button
delay(stupidvar); // delay between pictures
// stupidvar = stupidvar + 1000 // increments delay by one second for unique effect.