Things used in this project

Hardware components:
Attiny85
Atmel ATTiny85
×1

Code

file_5540.txtC/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

1a2b7e7395682a2374f24bb0f8e6592c
Piotr Justyna

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

Replications

Did you replicate this project? Share it!

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

Give feedback

Comments

Similar projects you might like

OLED on the Cheap!
  • 8,425
  • 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,350
  • 15

Full instructions

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

Infrared Dedicated Decoder
  • 9,027
  • 9

Full instructions

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

FastLED
  • 2,518
  • 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,044
  • 12

Full instructions

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

AVR Firmware Duplicator
  • 11,908
  • 12

Full instructions

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

ProjectsCommunitiesContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Respect project
Feedback