Step #1: Drilling and filing holes for partsNext
- Download the camera trap templates in this guide.
Step #2: Next
- Center punch all the center marks on the drill holes.
- Arduino holes have different hole spacing depending on their version.
Step #3: Next
- Drill all the holes according to the template.
- Make sure to clamp down the box when drilling the 5/16" hole for the potentiometer.
Step #4: Next
- Use a pair of wire snips to cut the between all the holes for the PIR sensor to form the square hole.
Step #5: Next
- Push out the plastic and file the edges flat on the template.
- File the rectangular holes for the switches.
Step #6: Mount parts onto project boxNext
- Mount the switches onto the project box by sliding each screw through a washer, the box, and switch. Then tighten the screw with nuts.
- Mount the potentiometer onto the box with a washer (that came with it) on both side of the box. If the potentiometer doesn't fit, enlarge the hole for the flange of the pot by running a 7/64" or 1/8" drill through the hole. Screw on the nut to secure the pot in place.
- Place the LEDs onto their holes with the positive (longer) leads facing towards the wall of the box. Then hot glue them in place.
- Leave the PIR sensor alone for now.
Step #7: Cut out the headersNext
- Cut all the female headers out by using wire snips. Cut directly over a socket/pin. A socket will be sacrificed to cut out the header.
- Snap all the male headers to the sizes shown on the wiring diagram.
Step #8: Solder everything together according to the wiring diagram.Next
- Download the wiring diagram in this guide.
- Tin all the header pins and all the ends of the wire that need to be soldered to the pins to form good connections. Make sure to solder only onto the shorter pins of the male headers to allow the longer pins to go into the Arduino.
- Hot glue the solder joints to insulate them. You may also hot glue the resistors to reinforce the the solder joints on them.
Step #9: Finishing touchesNext
- Screw on the PIR sensor with the longer #1-64 screws.
Step #10: Next
- Insert the IR LED into its hole and hot glue it in place.
- Screw on the standoffs with the #4-40 screws and then place the Arduino on top of standoffs and screw it down too.
Step #11: Next
- Place the knob onto the potentiometer's shaft. Use the slotted screwdriver to tighten the Knob's setscrew onto the shaft.
- Plug in all the pins according to the wiring diagram. Make sure the power switch is to the left (off position) when looking at the front of the box.
- You're finished building. Plug in the USB cable and get ready to program your Arduino!
Step #12: Programing the ArduinoNext
- Download the Arduino IDE, available at http://www.arduino.cc/en/Main/Software
- Install the Arduino IDE. Visit http://arduino.cc/en/Guide/HomePage for instructions.
- Download the camera trap code and Nikon Remote library from http://makezine.com/22/cameratrap/
- The folder named is the library to blink the IR LED in the correct pattern to trigger the camera. Move the whole folder to the folder in your Arduino folder
- Plug in your Arduino to your computer.
- Run the Arduino IDE and open camera_trap_code.pde
- Under Tools, goto Board, then select your Arduino model.
Step #13: Next
- Under Tools again, go to Serial Port and select the port you plugged your Arduino into.
- Click the play button to verify that the program compiles with no errors.
- Click the upload button to upload the program onto your Arduino.
- Remove the USB cable to disconnect the Arduino from your computer.
Step #14: Using your Camera Trap
- Flip the power switch to the right to turn on the Arduino.
- Flip the intervalometer switch (below the potentiometer) to the right to turn on the intervalometer mode. This mode takes a picture every set interval determined by the position of the potentiometer. Turn the knob clockwise to speed it up.
- Flip the PIR sensor switch to the right to turn it on. In this sensor mode, the PIR sensor will trigger when it detects a change in IR level. After it triggers, there will be a delay for it to reset to be ready again.