Animal Friendiy Mousetrap

Animal Friendiy Mousetrap-Image This mousetrap is built around a PlC12F683 and uses an infrared transmissive optical sensor that is modulated at a frequency of 38 kHz, so that it isn't affected by the ambient light. The modulation is carried out by the PlC, which generates a 38 kHz signal at port GP2, which is connected to the lR LED. The lR receiver is a type that is usually found for use with remote controls. lt reacts only to 38 kHz signals. lt reports the presence of an lR signal to the PIC via port GP1.

When the lR lightbeam is broken the PIC turns of the relay via port GP4 and FET T1 , which: causes the door of the mousetrap to close. The transmissive optical sensor is housed inside a small wooden box. A small amount of food is placed inside this box.

Circuit diagram :

Animal Friendiy Mousetrap-Circuit diagram

Animal Friendiy Mousetrap Circuit Diagram

When a mouse walks through the light beam on its way to the food it causes the door to shut behind it and an LED starts flashing. The door is normally kept open by the coil of a relay that has been taken apart. When the coil is no longer powered the tin door is pushed shut by means of a spring. A piece of glass or transparent plastic should be put on top of the box, so that the mouse doesn't have to enter a dark space. When a mouse has been caught it can be let free again somewhere outside, some distance away from the house.

The reset button has to be pressed to ready the trap for its next victim. The author has managed to catch a few dozen mice with this device. The program is written in PICBASIC Pro and can be freely downloaded from the Elektor website, it is found in archive file #

Author : Kees Reedijk Copyright :Elektor

Post a Comment