Build an electronic rattrap
This is a how-to as to build an electronic rattrap yourself. With some spare electronical parts you can do this.
All of the parts and materials can be bought on the internet. The electronics from China are really cheap. The software for the PIC is simple.
The idea is to make a housing of which the bottom can be opened. This way the trap can be kept operational after a catch.
The wooden parts are made of MDF, treated with epoxy resin in order to make it weather resistant.
The programm does nothing more than checking the voltage on pin1, if this get higher than the refference, the servo1 is turned. Next a low frequency pulse is supplied to the darlington transistor which generates the high voltage in the transformer.
After a minute, the rat should be fried, than the bottom opens and the rat falls out, best in a container with 10cm of water from which no escape is possible in case the rat should still be alive.
Next, the bottom is closed and the door opened again.
What materials amongst others do you need:
- A pic12f675.
- 2 hobby servo's
- a small transformer from a wall plug DC power supply
- a darlington transitor.
- some resistors, a diode and capacities
- a 12V DC power supply
- a voltage regulator 5V
- an LED
- an infra red LED
- a phototransistor
- a potentiometer
update 03 nov. 2015. I programmed the PIC 12F675 and made a testinvironment with a breadboard. It works! see video
update 11 nov. 2015. I started to build the housing of the trap.
update 1 dec. 2015. The housing is ready and the trap works as expected.
To see some pictures click