nxtprograms.com

Fun Projects for your LEGO MINDSTORMS NXT!

Home     Projects     Help     Contacts

Mouse Trap
Building: Intermediate
Program: Easy

Building Instructions


1


2


3


4


5


6


7


8


9

Use the shortest wire to connect the touch sensor to port 1 on the NXT, and the medium length wire to connect the motor to port A on the NXT.


Mouse Trap Programming

Use the Mouse_Trap program for the Mouse Trap.  This is a simple program that just waits for the touch sensor to be pressed before closing the trap, then waits for the touch sensor to be released to open the trap (if the mouse was missed or gets away), then repeats with a loop.

 

Challenges
  • Design your own LEGO "mouse" to get caught in this trap.  Perhaps if the trap hits it just right, the mouse might even fall apart or something...

  • Add some teeth and you might have something like a nasty bear or wolf trap.  Yikes...

  • There is an old saying that goes "Build a better mouse trap and the world will beat a path to your door."  This mouse trap improves on the basic mechanical version by automatically resetting itself if it misses or the mouse escapes.  Can you improve it further?  Perhaps you could use the ultrasonic sensor to sense the mouse even if it doesn't step on the plate?  What other ideas do you have?

Get nxtprograms.com on CD!
Click here for info

Home     Projects     Help     Contacts

 

Copyright 2007-2011 by Dave Parker.  All rights reserved. 
All project designs, images, and programs are protected by copyright.  Please see the usage policy.