This Instructable guides you on how to make this cool motion detecting camera. It is basically a NXT robot that presses the capture button on my canon camera every time it detects something. This is a totally unique robot and it could be very useful. Yo can use it to capture animals like birds or deer. Or you could use it to act like a CCTV camera!
Here is an video demostration, I used sphero as the object to take shots at.
Remove these adsRemove these ads by Signing Up

Step 1: You will need:

Lego Mindstorms Nxt 1.0/ 2.0. RXT and Technic not recommended!
A camera!
Hands, brain, and eyes!
Batteries for your camera and NXT
NXT programming software.
USB cable for your nxt to connect to your pc.

Step 2: Step 1

Build the base and the camera holder. Make sure fits your camera PERFECTLY and it will not wobble around. Also make sure it will support the weight of your camera.

Step 3: Step 2

Picture of Step 2
Attach it to the NXT brick.

Step 6: Step 5

Picture of Step 5
Attach a (13) Beam to the bottom side of the NXT, this should keep it stable.
Now attach the cables. 
Ultrasonic sensor-4
Thats the building done! Now lets move on the the programming...

Step 7: Step 6

Picture of Step 6
First put in a loop. then insert a wait-distance block, move block, wait-time block and another move block.
Adjust the wait-distance block to your needs, I had set it to <20cm, however you can set it to 2m if you want!
Make sure all the move blocks like to A, the first move block goes forward and the second goes backwards.
the move blocks should be set to degrees and can vary due to camera sizes, power should be set to around 50-70.
Use brake and NOT coast in the move blocks.
You can also change the waiting time to your needs.

techboy4111 year ago
i see with my litte eye a windows 8 desktop
NXTHacker (author)  techboy4111 year ago
u have a sharp eye!
SpiffGuy1 year ago
Very cool!

Lego had a monthly challenge (still might... just haven't checked) and one of them was related to cameras. I did something similar to what you did here but mine wandered around and took pictures when it got close to objects. Here's a link to some pics:
NXTHacker (author)  SpiffGuy1 year ago
wheres the monthly challenge?
I did a search and this is what I found:
and here:
I wish you the best!
NXTHacker (author)  sunshiine1 year ago
hi, cool links, thanks! where is the lego quest official website/ i cannot find it!
I don't know but here are some more links that show a contest:
NXTHacker (author)  SpiffGuy1 year ago
yours is awesome!

It's in the NXT Community on LEGO's site.
NXTHacker (author)  SpiffGuy1 year ago
ohh i don't like nxtlog uploading is far tooooo sloooowwwww!
Very cool! I'm going to keep this design in mind for other button pressing purposes.
NXTHacker (author)  sherrycayheyhey1 year ago
things like activating bombs?
NXTHacker (author)  scoochmaroo1 year ago
cool, have you captured any good animal photos yet?
NXTHacker (author)  amandaghassaei1 year ago
no, not yet, i just made it today:)

Get More Out of Instructables

Already have an Account?


PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!