Simple PIR DSLR Camera Trap

45,796

144

36

Introduction: Simple PIR DSLR Camera Trap

The biggest problem I have capturing images of wildlife is not getting close enough to the subject. I never have enough time to sit and wait for them to come to me or they are easily spooked, and fly away at the first sign of movement. Using an simple, widely-available PIR motion sensor, I can leave my DSLR in the yard to capture images while I run errands, cut the grass, or even leave it out overnight.

Step 1: What Is a Camera Trap?

The Simple PIR Sensor DSLR Camera Trap uses an industry standard PIR sensor to send a signal to a DSLR camera to fire the trigger when it detects motion. I have access to Canon cameras so this Instructable is specific to Canon DSLRs with an N3 connector or stereo connector, but this will work with all DSLR cameras that have a shutter input port. A PIR sensor is what is commonly used in home security motion detectors. Instead of tripping an alarm, we are going to use the PIR sensor to fire a camera.

This Eastern Bluebird was fairly predictable on where he would land, only if the yard was free of people. By placing the Simple PIR Sensor DSLR Camera Trap aimed at his perch, I could set up the sensor, set focus, exposure, shutter speed, and ISO on the camera, and walk away. This image was captured at distance of 10' allowing for greater detail and a pleasing background blur.

Step 2: Materials and Tools

To make this project, you will need the following items.

Tools

  • soldering iron
  • glue
  • multimeter
  • drill

Step 3: Canon N3 Shutter Cable

Canon uses a propitiatory cable to its high-end DSLRs for remote triggering. Ebay and Amazon are full of remote shutter release cables that you can modify for this project.

  1. Remove the screws on the shutter release cable plastic case
  2. Remove the screws holding the motherboard in the case
  3. Remove the motherboard form the case.
  4. Desolder, cut, or otherwise detach the cables from the motherboard
  5. On this cable, we are interested in the Red (Photo) and Yellow (Ground) cables, as shorting these cable, or touching them together, will trigger the camera. Other shutter release cables from different manufactures use different colors. Most boards are labeled.

The shutter release is basically a couple of contact switches. Connecting the focus pin to ground and the camera will focus, while connecting the shutter pin to ground and the camera takes a picture. For our camera trap. we will create a switch to connect the ground pin to the shutter pin to take a picture when motion is detected. We could do this directly to the camera, but if something goes wrong, you can damage your camera, so make sure we use an Optocoupler described in the next step.

Step 4: Getting to Know the Optocoupler 4N26

Pin Numbers

Locate the circular notch on the Optocoupler, this is is the Pin 1 indicator. Use the Optocoupler diagram to reference the pin numbers.

What does it do?

The PIR module OUT pin is connected through a resistor to an Optocoupler 4N26 that closes the circuit of the camera when motion is detected. An Optocoupler is a digital switch that uses LED emitters paired with a photo detector transistor. This means that you can use them to isolate the battery and PIR sensor from the camera connection without having any electrical contact between the two circuits.

Do not connect the PIR and battery directly to your camera.

Step 5: Building the Simple PIR Camera Trap

Assembly

Follow these steps to complete the Simple PIR DSLR Camera Trap. Use the fritzing diagram as a reference.

Note the the PIR sensor's specs require 3-5VDC power. Whichever battery pack you use, make sure the volts are between 3-5VDC.

  1. Connect the positive (+) pin on the PIR sensor to the power wire on the battery pack
  2. Connect the negative (-) pin on the PIR sensor to the ground wire on the battery pack and then to Pin 2 on of the Octocoupler.
  3. Connect the signal or OUT pin on the PIR sensor to a 220 resistor and then to Pin 1 of the Octocoupler
  4. Connect the ground wire of your shutter cable to Pin 4 of the Octocoupler
  5. Connect the postive (+) wire of your shutter cable to Pin 5 of the Octocoupler.

Step 6: Using the Simple PIR Camera Trap

Installation

Consider where you want to place your PIR camera Trap and determine the best settings for your location and lighting.

  1. Position the sensor where you want to capture an image.
  2. Use something that you can pre-focus the camera and then set lens to manual focus.
  3. Make ISO, TV, and AV adjustments
  4. Connect PIR camera trap to the camera
  5. Test that it is working BEFORE leaving.

Testing

Get down on the ground and stick your face where you think the animal will be and take a sample picture to test your camera trap. Then go check the camera and confirm that focus is sharp, camera settings are correct, and that everything works. So many things can go wrong with a camera trap: low batteries, loose connections, out of focus subjects, bad lighting, and the list goes on and on. I've lost more great images than I've captured. Also check the weather, if your camera trap is not weatherproof, make it weatherproof or bring it inside.

Step 7: Finishing Touches

You will want to enclose your electronics in a weather-proof enclosure if you are using it outside. I'm constantly modding my cases, but Radio Shack project cases and Harbor Freight ammo cases are great starting points. Pelican cases and even Tupperware cases are great for Simple PIR DSLR Camera Trap photography.

I usually place my sensor on paths, trails, or logs where I pre-focus the camera. I don't want movement from outside the path to trigger the sensor, so I added a tube to the end of the sensor so it picks up movement directly in front of the sensor. I started using toilet paper holders, then found some plastic tubing that is weatherproof and keeps the sensor out of the way.

Nighttime images require the use of off-camera flashes or strobes that are beyond the scope of this Instructable.

Step 8: Sample Images

The Simple PIR DSLR Camera Trap allows me to capture images that otherwise would be impossible for me to capture. These images are captured in the early morning hours where I'm sleeping and the critter is comfortable enough to cross through my sensor. If I was physically there waiting for these images to happen, I'd still be waiting.

Sensors Contest 2017

Second Prize in the
Sensors Contest 2017

Build a Tool Contest 2017

Participated in the
Build a Tool Contest 2017

Be the First to Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • For the Home Contest

      For the Home Contest
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge

    36 Comments

    0
    ernstsr
    ernstsr

    1 year ago

    Do you add a timer to the shot or have it trigger right away? I was wondering if it would be more advantageous to set a 2 sec timer so the animal would have more time to move into the field of view.

    0
    OaksBill
    OaksBill

    Question 2 years ago on Step 7

    Ive got to make one. I've just found that Ive got a Manderin duck nesting in an owl box and need a trigger of some sort to try and get a decent photo of ther chicks jumping out. Is this solution practicle. ie What is the response time of the pir and will it take multiple shots or is it going to miss them.

    0
    NeilB106
    NeilB106

    4 years ago

    Great tutorial but my PIR seems to fire the camera randomly a couple of times a minite, as well as when movement activates it? I have placed everything in a dark box so it is not recieving stray light or movement. Sensitivity setting also does not help. What could be the possible causes if I may ask please?

    0
    Javi Roces
    Javi Roces

    5 years ago

    Every time i try to make this with the opto, i cant get the signal from the output pins :( I tried with 4N26 and 4N25. I see this is very simple sketch, but i dont know why i cant get the outter circuit closed :(

    0
    ChrisJ12
    ChrisJ12

    5 years ago

    What is the battery life like with the 3 AAs? Is it possible to use a large battery holder to extend the lifetime?

    0
    Muzammal Baig
    Muzammal Baig

    6 years ago

    Beautiful. One point though, why would someone need an SLR (Single Lense Reflex) when there is no one to watch through the viewfinder?

    0
    stinkyabb
    stinkyabb

    Reply 6 years ago

    Better quality images.

    0
    Muzammal Baig
    Muzammal Baig

    Reply 6 years ago

    A camera being DSLR does not mean better quality it only means that the camera is digital plus it shows same image through viewfinder that it captures through lens.

    Better Quality is by the pixel and contrast rating of that camera.

    0
    CraigT60
    CraigT60

    Reply 5 years ago

    Better quality is mostly a function of the glass.

    You could do this with a point-and-shoot if it had a compatible shutter release interface. At ten feet you'd still need decent focal length and, for the blurred background, a large aperture.

    0
    berlingozzo
    berlingozzo

    6 years ago

    Or you could call it "automated National Geographic reporter" :D

    Brilliant idea and stunning implementation!

    good luck with the contest!

    0
    34hello234
    34hello234

    6 years ago

    great idea and brilliant photos i am going to try this

    you have my vote!

    0
    handsome2
    handsome2

    6 years ago

    I forgot to add my thanks for posting this tutorial. I only wish all of my old lenses for film would work on digital camera housings. I've just finished setting up a trail camera, so I can catch the antics of a pine squirrel, as it uses the feeder I made. I had to modify the feeder by adding swinging doors to block birds from eating all of the food.

    0
    hallcp
    hallcp

    6 years ago

    Where does one buy a "PIR Sensor"?

    0
    stinkyabb
    stinkyabb

    Reply 6 years ago

    https://www.adafruit.com/products/189

    0
    hallcp
    hallcp

    Reply 6 years ago

    Thanks! I've never heard of a PIR before. This is fascinating.

    0
    djcarnes
    djcarnes

    Reply 6 years ago

    https://www.amazon.com/pir-sensor/s?ie=UTF8&page=1&rh=i%3Aaps%2Ck%3Apir%20sensor

    0
    handsome2
    handsome2

    6 years ago

    Oops... Your material list shows a 3 AA battery pack, equaling 4.5 VDC, but the photo indicates the pack is 8 AA's, equaling 12 VDC.

    0
    stinkyabb
    stinkyabb

    Reply 6 years ago

    Fixed. Thanks for noticing.