Camera shutter controlled by raspberry pi.
My old camera doesn't have any intervalometer function so i made this dogy script to controll the shutter with a raspberry pi's GPIO pins
replace [GPIO] with the number of your GPIO
echo "---------AUTO SHUTTER---------"
echo "PRESS: CTRL + C TO STOP"
raspi-gpio set [GPIO] dh
raspi-gpio set [GPIO] dl
- ssh into the raspberry pi
- create shutter.sh and paste the code into it
- allow execution of the scrip
chmod +x shutter.sh
- set your GPIO as output (this needs to be done after every restart)
raspi-gpio set [GPIO] op
- test
./shutter.sh
- run it on repeat (replace [DELAY]...)
watch -n [DELAY] script.sh
- press ctrl + c to stop it
The wiring is very simple:
- Just take the camera apart (don't get zaped by the flash capacitor like I did) and tap into shutter button pins. This will be differend on other cameras.
- Connect the the thing to raspberry pi. Pin 32 and pin 34 as the ground in my case. This can be chanaged [GPIO].