Auto-Tracking Sentry Gun Gives Deer A Super Soaking

Things rarely go well when humans mix with wildlife. The problems are exacerbated in the suburbs, where bears dine on bird feeders and garbage cans, raccoons take up residence in attics, and coyotes make off with the family cat. And in the suburbs, nuisance wildlife can be an intractable problem because the options for dealing with it are so limited.

Not to be dissuaded in the battle to protect his roses, [dlf.myyta] built this motion-activated sentry gun to apply some watery aversion therapy to marauding deer. Shown in action below against a bipedal co-conspirator, the sentry gun has pretty much what you’d expect under the hood — Raspberry Pi, NoIR camera, a servo for aiming and a solenoid valve to control the water. OpenCV takes care of locating the intruders and swiveling the nozzle to center mass; since the deer are somewhat constrained by a fence, there’s no need to control the nozzle’s elevation. Everything is housed nicely in a plastic ammo can for portability and waterproofing. Any target that stands still for more than three seconds gets a hosing; we assume this is effective, but alas, no snuff films were provided.

We’re not sure if [dlf.myyta]’s code can discern friend from foe, and in this litigious world, hosing the neighbor’s kid could be a catastrophe. Perhaps version 2.0 can include image recognition for target verification.

Continue reading “Auto-Tracking Sentry Gun Gives Deer A Super Soaking”

Infrared Targeting On A Small Scale

Sometimes, a person has a reason to track a target. A popular way to do this these days is with a camera, a computer, and software to analyze the video. But, that lends itself more to automated systems, like sentries. What if you want to be able to target something by “painting” it with a laser?

That’s exactly what [Jeremy Leaf] wanted to do, and the results are pretty impressive. He was able to track a .06 milliwatt laser at 2 meters. His design does this using three photodiodes in order to determine the position of a laser spot using triangulation.

Once the location of the laser spot has been determined, it can either simply be reported or it can be tracked. Tracking is achieved with a gimbal setup which updates quickly and accurately. Of course, it can only track the laser if the laser has something to be projected upon. If you need to track something in open 3D space, there are alternatives that would be better suited to the task.

Continue reading “Infrared Targeting On A Small Scale”