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 isnt 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.
Animal Friendiy Mousetrap Circuit Diagram
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 # 100308-11.zip.
No comments:
Post a Comment