Get Arduino to automatically trigger your SLR camera based on a web interface or a passive infrared sensor.


A friend of mine asked me if I could build something that would trigger his SLR camera automatically every time a bird was around the nest he set in his garden. He is interested in birds but this time the bird that got to nest in his garden was a very peculiar one.


To get Arduino to trigger the shutter of a SLR camera based on the signals received from a passive infrared sensor (PIR), aka motion sensor.


1) An Arduino Uno (tested on R3)
2) An Arduino Ethernet shield
3) A PIR (Passive InfraRed) sensor
4) A 433.92MHz receiver: MX-JS-05V
5) A 600Ohms resistor
6) An optocoupler 4N35
7) A 2.5mm phono socket


The most important parameter to hardcode (defined as a constant) is the maximum frames per second (FPS) supported by the camera. Please refer to the camera's manufacture manual for information on the maximum FPS of your camera.
One parameter that can lead to missing frames is the shutter pulse duration. This parameter is configurable on the constants declaration section.


For information on variable parameters, please refer to document parameter_doc.pdf.


  • This project asumes the SLR camera features remote cable shutter.
  • This project does not offer information on how to built the physical connector cable to the SLR. 
Login to post a comment...

Tamadite 3 years, 8 months ago

Hi, yes the 433MHz in the drawing is the receiver of the signals sent by the PIR (sender). The PIR I use is therefore it is not in the drawing. You can get one of those PIR like the one I use in eBay. My solution is intended to have the Arduino close to the camera and the PIR far from the camera without cables in between. You could replace the 433MHz receiver and connect a wired PIR directly to the board. There are PIRs already designed for Arduinos.

mickverm 3 years, 8 months ago

Hey, in your fritzing breadboard drawing I noticed you used the 433MHz receiver, but you didn't use a PIR. I'm guessing you either control the camera with a 433Mhz receiver + transmittor or with a PIR. Is this a correct assumption? Would this project work if I replaced the Receiver with a PIR instead?