A controller for a pest trap that includes a sensor, signaler, power source and activator in a housing to be attached to and detached from a pest trap. The sensor detects an animal in the trap and directs an activator to close a door of the trap. A signal is transmitted from the signaler of the housing to indicate that the trap has been activated and the door has been closed. The signal may be collected by a remote receiver. The housing may be detached from the trap and attached to a second trap, or reset on the same trap for reuse.