Simple PIR DSLR Camera Trap

29,997

120

34

Intro: 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

Share

    Recommendations

    • Fix It! Contest

      Fix It! Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Audio Contest 2018

      Audio Contest 2018

    34 Discussions

    0
    None
    NeilB106

    2 months 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
    None
    Javi Roces

    9 months 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
    None
    ChrisJ12

    1 year 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
    None
    Muzammal Baig

    1 year ago

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

    3 replies
    0
    None
    Muzammal Baigstinkyabb

    Reply 1 year 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
    None
    CraigT60Muzammal Baig

    Reply 1 year 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
    None
    berlingozzo

    1 year ago

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

    Brilliant idea and stunning implementation!

    good luck with the contest!

    0
    None
    34hello234

    1 year ago

    great idea and brilliant photos i am going to try this

    you have my vote!

    0
    None
    handsome2

    1 year 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
    None
    stinkyabbhallcp

    Reply 1 year ago

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

    0
    None
    hallcpstinkyabb

    Reply 1 year ago

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

    0
    None
    djcarneshallcp

    Reply 1 year ago

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

    0
    None
    handsome2

    1 year 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.

    1 reply
    0
    None
    Ninzerbean

    1 year ago

    I love the shot of the raccoon - wonderful work, thank you for sharing.

    0
    None
    george.blacksad

    1 year ago

    Brilliant! Do you know if this could be done for a Nikon camera?