Motion Triggered Camera
Intro: Motion Triggered Camera
This is the second out of automatic camera trigger with arduino. In this instructable I'm going to show you how to make a motion triggered camera. This project detects motion in front of the camera and triggers the servo to click a pic in the camera.
Like the prevous version this is powered with a arduino.
Like the prevous version this is powered with a arduino.
STEP 1: PARTS
The parts are simple and easy to find
Arduino
Camera
Motion sensor module
Servo
STEP 2: Trigger
First lets start with placing the servo in a position to trigger the camera, my camera is fully analog with no electrical switch to trigger it so I used a servo to click the trigger . You may need wire connectors or you can go with hot glue to stick the servo on to the camera. By default I have set the servo to trigger the camera at 105*, but if your servo doesn't click the trigger the change this value in the arduino codes
servoMain.write(105);
Change the 105 to any higher value like 120.Connect the servo to the arduino. By default the servo is attached to digital pin 10. After you have done this its is time to connect the servo to arduino board. The servo has 3 wires the red goes to arduino 5v
, black to ground and orange or yellow is the signal pin and goes to digital pin 10.
servoMain.write(105);
Change the 105 to any higher value like 120.Connect the servo to the arduino. By default the servo is attached to digital pin 10. After you have done this its is time to connect the servo to arduino board. The servo has 3 wires the red goes to arduino 5v
, black to ground and orange or yellow is the signal pin and goes to digital pin 10.
STEP 3: Code
Time to upload your code make sure that the Bluetooth module isn't connect to the arduino board, or the code wont upload to the board. Download the code from the attachment and upload it to your board. Now when that's done its time to set up the Motion sensor.
STEP 4: Motion Sensor
Now time to add the motion sensor. I found this one on eBay, and this gives a high output every time there's motion in front of it. My motion sensor has a 270 angle and 5m range. So it works just perfect. The motion sensor goes to pin 11.
9 Comments
ahunkeri 9 years ago
servoMain not declared in scope ERROR help me.....
wala.bala.kumar 9 years ago
where i get the motion sensor...help me...
roger.roger.18488169 9 years ago
Here is a better one, sound, light, laser, motion trigger, controlled wirelessly using your phone or tablet
https://www.kickstarter.com/projects/969220052/cam...
QuinnKR 9 years ago
nice! this is a really cool project that I would do, but the problem I find is if you are trying to surprise them, or not let them know that your taking a picture, you have to leave the camera on, and it eventually runs out of battery : ( is there someway to plug it into the wall or something? if so, it would be awesome if you could make an instructable on it.
l1q1d 10 years ago
ThisIsSteve 10 years ago
Here check this out for Pir sensor
https://www.instructables.com/files/deriv/FE6/7L5W/GJQEHYRB/FE67L5WGJQEHYRB.LARGE.jpg
jplatin 10 years ago
So this is the fritzing for the Ardunio correct? And what is the LED on said fritz needed for? Thanks
Ryanj2000 10 years ago
longwinters 10 years ago
Looks like fun I never had an SLR with an auto winder so kudos to you