LEGO NXT 2.0 MOTION CAMERA

9,358

17

17

About: Greeting
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.

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
Computer.
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

Attach it to the NXT brick.

Step 4: Step 3

Build the camera button presser onto the motor. Then attach it to the sides of the NXT brick with 2 black connectors.

Step 5: Step 4

Attach the Ultrasonic sensor to the NXT brick.

Step 6: 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
Motor-A
Thats the building done! Now lets move on the the programming...

Step 7: Step 6

Programming-
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.

Step 8: Finished!

Now just put it somewhere under shelter and wait for animals to pass by. You can put it into a box and cut out camera and some holes for the sensor and the camera, if you want it camouflaged. You can also put it beside bird feeders or bird tables to capture birds.
Here are some photos shot from the camera during the test!
Thats it, thanks:)
And remember, you can always modify and add extra sensors to my design. If you modify the programming, you can also make it record videos! Have fun!

Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • PCB Contest

      PCB Contest
    • First Time Author

      First Time Author

    17 Discussions

    0
    None
    gogoguy

    2 years ago

    awesome!

    0
    None
    SpiffGuy

    6 years ago on Introduction

    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:
    http://www.flickr.com/photos/leonewman/2269716470/in/set-72157603780830668

    7 replies
    0
    None
    sunshiineNXTHacker

    Reply 6 years ago on Introduction

    I did a search and this is what I found: http://www.quora.com/LEGO/Are-there-any-open-LEGO-monthly-building-challenge-contests-for-kids.
    and here: http://www.learningfun101.com/.
    I wish you the best!
    Sunshiine

    0
    None
    sunshiineNXTHacker

    Reply 6 years ago on Introduction

    I don't know but here are some more links that show a contest:http://stores.lego.com/en-US/default.aspx

    http://www.lego.com/en-us/default.aspx

    0
    None
    SpiffGuyNXTHacker

    Reply 6 years ago on Introduction

    http://us.mindstorms.lego.com/en-us/Community/NXTLog/DisplayProject.aspx?id=56c68e64-659c-4cc6-a071-b96aa7391ef4

    It's in the NXT Community on LEGO's site.