An apparatus for a self-cleaning litter box having a control system for a
mechanical self-cleaning mechanism. The litter box has a turret carrying
a rake. Limit switches indicate the location of the rake and the turret.
The box includes an animal sensor that detects the presence of an animal
in the box. A specified time after the animal leaves the box, the turret
sweeps the rake through the litter, picks up the collected waste, and
carries it to a waste bin, where the waste is dumped. The litter box is
controlled by a processor executing a software program that monitors the
instruments and sensors and controls the turret and rake motors.