Things used in this project


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


Piotr Justyna

I'm just a regular guy who enjoys building useful(ish) things.



Did you replicate this project? Share it!

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

OLED on the Cheap!
  • 8,683
  • 37

Full instructions

128x64 OLED displays are available for under $5 USD and are easily interfaced to Arduino AVR and STM32 boards such as the Maple Mini clone.

AVR VideoBlaster
  • 6,589
  • 16

Full instructions

How about NTSC color video on a single chip with just 2 resistors?

Infrared Dedicated Decoder
  • 9,334
  • 10

Full instructions

Offload IR decode to a dedicated Attiny85 for efficiency, simplicity, and reduced resources on the main microcontroller.

  • 2,613
  • 16

Full instructions

FastLED is a fast, efficient, easy-to-use Arduino(ish) library for programming LED strips and pixels like WS2801, WS2811, LPD8806 and more!

DSP on 8-bit microcontroller
  • 5,205
  • 12

Full instructions

For 8-bit MCU, optimization of filtering requires tradeoffs between accuracy, ease of programming. and speed.

AVR Firmware Duplicator
  • 13,015
  • 13

Full instructions

Windows script to make an exact copy of AVR (Arduino) firmware including the bootloader, user program, fuses and EEPROM.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login