I built something similar using the same internals of a battery operated water gun. I 3d printed a 360 turret enclosure, stuck it on a stepper motor. However mine was manually controlled via my phone. I used it to break up cat fights in the middle of the night