Piotr Justyna
Published

ATtiny85-Powered Programmable Intervalometer for Canon DSLR

Some Canon DSLRs don't have a built-in intervalometer. Simple solution - make one yourself!

Full instructions provided3,736
ATtiny85-Powered Programmable Intervalometer for Canon DSLR

Things used in this project

Story

Read more

Code

file_5540.txt

C/C++
int operationalPin = 0; // microcontroller's pin to be used
int initialDelay = 10000; // defines when the first photo should be taken, expressed in milliseconds
int shutterCloseTime = 100; // defines for how long the shutter should be closed, expressed in milliseconds
int gapBetweenShots = 3000; // defines the gap between every photo, expressed in milliseconds

void setup()
{
pinMode(operationalPin, OUTPUT);
delay(initialDelay); // initial delay
}

void loop()
{
digitalWrite(operationalPin, HIGH); // shutter closes
delay(shutterCloseTime); // keeping the shutter closed
digitalWrite(operationalPin, LOW); // shutter opens
delay(gapBetweenShots); // keeping the sutter open
}

Credits

Piotr Justyna

Piotr Justyna

1 project • 3 followers
I'm just a regular guy who enjoys building useful(ish) things.

Comments