MouseTrap

by nackerman in Workshop > 3D Printing

92 Views, 0 Favorites, 0 Comments

MouseTrap

Screenshot 2024-04-17 at 3.33.24 PM.png
FSW34Z8LVQOQ42S.png

Old-fashioned mouse traps aren't working anymore and easily get jammed or aren't detecting the weight of the mouse. We must create a mouse trap that uses a motion sensor. The main goal is to design a mouse trap that catches rodents without harming them. By using motion sensors, the trap should be able to detect mice as soon as they appear and catch them safely. The result should be a mouse trap that's both kind and effective, useful for homes and businesses. 

Supplies

Screenshot 2024-05-03 at 11.02.18 AM.png
Screenshot 2024-05-03 at 11.04.55 AM.png
FSKK0VQLVAYVWHM.png
FEM10D8LVAYVWW7.png
FLPG1E2LVAYVWI1.png
  1. CPX
  2. computer
  3. USB C
  4. Wires
  5. mouse trap body
  6. mousetrap door

Wiring & Assembly

Screenshot 2024-04-22 at 4.44.28 PM.png
Screenshot 2024-04-22 at 4.44.51 PM.png

To wire our CPX and motor we connected the red wire to VOUT, the yellow wire to A1, and the black to GND. We attached the motor to our trap door which is what allows it to open and close. Using a code, the CPX is programmed to signal the motor to rotate 45 degrees when connected correctly. The arm is connected to the motor and is used to lift the mousetrap door to catch the mouse.

3D Printing Body

IMG_2513.jpeg

Once you have to STL files downloaded to your computer it’s time to print. Go to: Ahttps://cloudprint.makerbot.com/workspace/5cee2705-8865-47a3-bf28-f6dd6a4507af/printers

and click print in the top left corner

3D Printing Body

IMG_8767.jpeg

Make sure you’re in “Sketch” 

3D Printing Body

IMG_1509.jpeg

Click print preview to ensure there are no errors and then you are ready to print by uploading this to the flash drive compatible with you're computer and 3D printer

3D Printing Tubes

FERRLXYLVS464L2.jpg
F9UR476LVS464HE.jpg
FO5QSL0LVS464LX.jpg
F040GR9LVS464KA.jpg

Follow the same steps as for the mousetrap body

1. Once you have to STL files downloaded to your computer it’s time to print. Go to: Ahttps://cloudprint.makerbot.com/workspace/5cee2705-8865-47a3-bf28-f6dd6a4507af/printers

and click print in the top left corner

2.Make sure you’re in “Sketch” 

4.Click print preview to ensure there are no errors and then you are ready to print by uploading this to the flash drive compatible with you're computer and 3D printer

What You Will Print

IMG_7425.jpeg
IMG_1095.jpeg

We have provided files that have the box and the lid and the tubes for the wires.

New Look

Screenshot 2024-04-22 at 4.18.13 PM.png
IMG_7428.jpg

In order to advance our mousetrap from last time, we decided the wiring needed to be covered. Weave the wires through the tubes.

Python Code

Screenshot 2024-04-22 at 4.21.36 PM.png

This is different from the regular code because it is required to have lights, motion, and sound. Although we were unable to make them work together, but individually they work.