code:camera_shutter
This is an old revision of the document!
Camera Shutter Code
This is a simple Arduino script which would trigger a camera to take picture, if GPIO 12 and the power GND pin were wired to the two solder pads on a camera's circuit board.
This code seems to work with three resistors attached to the wire linked from the shutter pad to the GPIO. It has been designed for cameras with shutters that use 3.3 volts.
It is important to note that the delay(10000) command actually only delays for 5 seconds - 5000 milliseconds and half the interval entered.
This is experimental code and may not be reliable.
int camGPIO = 12; void setup() { pinMode(camGPIO, OUTPUT); } void loop() { digitalWrite(camGPIO, HIGH); delay(10000); digitalWrite(camGPIO, LOW); delay(100); }
code/camera_shutter.1201976689.txt.gz ยท Last modified: 2008/07/19 23:31 (external edit)