Automatic Rat Trapper

by theSTEMpedia in Circuits > Gadgets

1034 Views, 9 Favorites, 0 Comments

Automatic Rat Trapper

Project_thumbnail_layout_3.jpg

Rats! The single most annoying creatures in every household! They nibble away anything and everything that comes their way, destroying precious furniture, clothes, bags; you name it! Only if there was a way to take care of them once and for all! Well, guess what! Your prayers have been answered! With the help of evive, an IR sensor, a computer program, and little DIYing, you can now make a simple yet smart DIY rat trap of your own that no rat can escape! *evil laughter*Put on your sneaky scientist cap and get to work on your mission right away!

Things You'll Need:

P1044700.JPG

You can also buy the evive Starter Kit , as the above components and even more, are found in it. Also. there are lots of projects listed on Instructables which are made with the help of it.

Assembling the Box

P1044695.JPG
P1044693.JPG
P1044692.JPG
P1044688.JPG
  • Take the base plate, i.e piece A and attach the left wall i.e piece B to it using M3 bolts of 12mm length and M3 nuts.
  • For making Automatic Rat Trapper, you need to have the cutouts of the following dimensions from the cardboard.
    A = 13.5 cm x 9 cm
    B = 14.5 cm x 10 cm
    C = 9 cm x 9 cm
    D = 14.5 cm x 10 cm
    E = 9 cm x 10 cm
    F = 9 cm x 1.5 cm

    Make a slot of the size of the micro servo in piece B.
  • Also, make slots of 0.5 cm thickness leaving 0.5 cm.
  • Next, take the back wall which is piece C and attach it to the left wall and the base using M3 bolts and nuts.
  • Similarly, take the right wall and attach it to the base and back wall using bolts and nuts.

Attaching the IR Sensor

P1044686.JPG

Take the IR Sensor and with the help of double-sided tape, attach it to the left wall.

Attaching the Servo

P1044684.JPG
P1044683.JPG
  • Now, it’s time to bring the servo in the picture.
  • Take, the servo horn and fix it on top of the servo head using the self-threading screw given in the servo accessories.
    Make sure, that the servo horn is at 0(degree).
  • Now in the slot given on the left wall, attach the servo using M2 bolts of 12mm length and M2 nuts.

Completing the Trapper

P1044679.JPG
P1044675.JPG
P1044669.JPG
P1044661.JPG
  • Next, take the upper wall and fix it on the top using M3 bolts and nuts.
  • Now its time to close the trapper.
    For that, take the door and insert it into the gaps of the side walls.
  • Now, to fix this door, we have used a small strip i.e piece G which is glued to the walls.

You can even decorate the trapper if you want.

Logic

Here, the servo horn is at 0 degrees, thus holds the door above the ground level.

As soon as the rat gets in the trapper, the IR Sensor detects it's present, and thus the servo rotates at 180 degrees. As soon as it rotates, the support below the door moves and the door closes.

You can again open the door by resetting the servo angle and placing servo horn below the door.

Circuitry

Rat trap fritV2 (1).PNG

Two connections are to be made:

  • Servo Motor:
    It will give support at the base of the door, thus preventing it from closing.
    The motor wires to S1.
  • IR Sensor: Will detect the rat.

    VCC - 5V
    GND - GND
    OUT - Digital Pin 8

Arduino Code

To know more about Arduino visit here:
https://thestempedia.com/tutorials/arduino-ide/

Scratch Code

Rat Trap Scratch (1).png

The scratch code can also be used in place of the Arduino code.

To know more about Scratch visit here:
https://thestempedia.com/tutorials/arduino-ide/

Conclusion

With this, your rat trap is now ready! The happy days of the pesky little rat are now over.

To explore more projects,

visit: http://thestempedia.com/projects