I Just bought my first Arduino!! yay!!

It's a Arduino Duemilanove 2009 AVR ATmega328.

I Have 3 Pyroelectric Infrared PIR Motion Sensor Detector Modules what will be hooked a to the servo and the arduino. Everything will be fitted to a tripod and a digital camera fixed to the servo. I Already have the plans for that, but what i'm wanting to do is have the camera snap a picture when the servo stops.

This will be my motion detection trail cam. I Take photos of wildlife as a hobby, it doesn't matter if the animal tracks behind the camera because the camera will turn towards the animal and take a picture. But also will be used with paranormal team (yea, go ahead and laugh).

Welcome to the club.

As a semi-professional nature photographer myself your project sounds interesting.


Rob

If it's physically moving the camera, I'd be concerned about how noisy the servo is likely to be. The servos I've used have all been quite noisy, and if yours is similar I suspect all you'd see is the tail end of something disappearing from sight.

PeterH:
If it's physically moving the camera, I'd be concerned about how noisy the servo is likely to be. The servos I've used have all been quite noisy, and if yours is similar I suspect all you'd see is the tail end of something disappearing from sight.

agreed. A stepper motor would be more appropriate I think.

Just to confirm, there is a way to command the camera to take pictures?

You're leaving out a lot of details. You want to snap a picture when the servo stops. What starts the servo, the PIR? And what do you need to trip the camera, a contact closure?

Graynomad:
Welcome to the club.

As a semi-professional nature photographer myself your project sounds interesting.


Rob

I Have a regular trail cams, but the quality of the photos are very poor, There is a trail that has a very nice back setting where I've seen big bucks. But the area is so dense that i can not set up a blind unless i do some clearing and that would do more harm in this spot than good.

PeterH:
If it's physically moving the camera, I'd be concerned about how noisy the servo is likely to be. The servos I've used have all been quite noisy, and if yours is similar I suspect all you'd see is the tail end of something disappearing from sight.

well, it's not one of those type servos, more like a remote control car engine that is VERY quite and makes no noise.

Just to confirm, there is a way to command the camera to take pictures?

Since most of us are not psychic readers concerning whatever cam you have, perhaps you can try having a servo push the shutter button.

Rokkit:
You're leaving out a lot of details. You want to snap a picture when the servo stops. What starts the servo, the PIR? And what do you need to trip the camera, a contact closure?

Yes, the PIR will detect motion on one of the 3 PIR thats in a triangle with the motor in the center of the triangle.

First, i'm going to take apart an older digital camera (Kodak EasyShare CX6200 2MP Digital Camera) before i do this to one of my nikon's and solder to the button contacts (?) and hook the wires to the arduino.. This is that part i will need help on because i need to tell the arduino when one of the PIR's detects motion and the camera turns towards the motion and than stops, it should than takes a picture. After no motion it is detected, it will than reset the camera and wait for motion.

Is the Arduino controlling when the servo starts? If it is, a real simple solution is when the PIR triggers the Arduino start 2 outputs - one to start the servo, and the other to delay xx seconds then trigger a relay or transistor to snap the picture.

But also will be used with paranormal team (yea, go ahead and laugh).

Ha ha ha LOL XD. Actually everything was paranormal once so good luck in capturing and then explaining. I would be interested in the final result of this project particularly the electronic side, power the PIRs, triggering the camera and so on. So please post the final design and some photographs.

Have you seen this stuff it seems to set the bar for hidden cameras filming wildlife;
http://scienceray.com/biology/elephants-as-camera-crew/

Rokkit:
Is the Arduino controlling when the servo starts? If it is, a real simple solution is when the PIR triggers the Arduino start 2 outputs - one to start the servo, and the other to delay xx seconds then trigger a relay or transistor to snap the picture.

Yes, the PIR will be connected to the Arduino and so will the motor..

radman:

But also will be used with paranormal team (yea, go ahead and laugh).

Ha ha ha LOL XD. Actually everything was paranormal once so good luck in capturing and then explaining. I would be interested in the final result of this project particularly the electronic side, power the PIRs, triggering the camera and so on. So please post the final design and some photographs.

Have you seen this stuff it seems to set the bar for hidden cameras filming wildlife;
http://scienceray.com/biology/elephants-as-camera-crew/

LOL I Expected someone to laugh. My ghost hunting team wants 2 of them, so i guess i'm going to buy 2 more arduino and 2 more tripods if i get this to work how i want. They want 2 of these to attach a couple of handy cams to to record movement and since the cams will be recording at all times, no need for it to start recording on movement, just turn to the side where movement is detected.

Finally, my arduino arrived today from hong kong! waiting on my PIR and i can get this project started.

I was expecting images of ghost animals by now ]:slight_smile:

sorry, not yet :frowning: but soon i hope!! lol

Other parts came, so it's time to get started!!! :smiley:

I Hope this ningbo huana rs-365s RC Mini Motor will work, can anyone confirm this will work for this project? it came out of a cheap heat gun.

I'm pissed off!! 1 out of 3 PIRs worked!!!! Tested each PIR with the arduino and only one worked!!

/*
 * PIR sensor tester
 */
 
int ledPin = 13;                // choose the pin for the LED
int inputPin = 2;               // choose the input pin (for PIR sensor)
int pirState = LOW;             // we start, assuming no motion detected
int val = 0;                    // variable for reading the pin status
 
void setup() {
  pinMode(ledPin, OUTPUT);      // declare LED as output
  pinMode(inputPin, INPUT);     // declare sensor as input
 
  Serial.begin(9600);
}
 
void loop(){
  val = digitalRead(inputPin);  // read input value
  if (val == HIGH) {            // check if the input is HIGH
    digitalWrite(ledPin, HIGH);  // turn LED ON
    if (pirState == LOW) {
      // we have just turned on
      Serial.println("Motion detected!");
      // We only want to print on the output change, not state
      pirState = HIGH;
    }
  } else {
    digitalWrite(ledPin, LOW); // turn LED OFF
    if (pirState == HIGH){
      // we have just turned of
      Serial.println("Motion ended!");
      // We only want to print on the output change, not state
      pirState = LOW;
    }
  }
}

Hi, Take a look here:
http://arduino-info.wikispaces.com/Brick-Pushbuttons%26OtherSwitches#Motion

See the info about the adjustment pot. Make sure yours are all set the same...

More info here; http://arduino-direct.com/sunshop/index.php?l=product_detail&p=173

DISCLAIMER: Mentioned stuff from my own shop...