War, huh, what is it good for? Absolutely nothing, except as an excuse to build a Raspberry Pi powered sentry turret that will track and fire upon your enemies. That’s what [Matt Desmaris] decided to do, and he has released the full details of his build.
It lacks the polished elegance of most military hardware, but what do you expect of a quick and dirty hack? It’s not shiny or ominous, but it has that killer motion-tracking feature. [Matt] is using OpenCV to detect movement from a USB webcam, two servos to pan and tilt the camera and gun and a small relay to pull the trigger. Manual control over the Interwebs is also available.
We’ve seen lots of similar builds using weaponry such as rubber bands and Nerf guns, but this one is a great start if you are interested in seeing how you can tie together tools like OpenCV and servos to create a camera that actively tracks movement.
I’ve been thinking about doing something like this for a while, but shooting paintballs.
Saved me some work!
i think you need something more strong that this pan and tilt for a camera
It wont work with a paintball gun, you will need better servos.
don’t take to school!!! it looks like a deadly device!!!
derp derp school! derp derp clock! derp derp the poor children!
lol
kids enjoyed this at the local makerfaire. I put more effort into it than taking apart a radioshack clock and putting it in a case.
imgur.com/a/rkizY
No worries. You’ll be fine. It doesn’t look anything like a clock.
whew!!!
Oh my god that was hilarious.
lol
I actually brought it to a makerfaire that took place at a school, I brought no bbs with me. I had it hooked up to an xbox 360 controller so kids could play with it!
lol…brave sir…
Search for Deleted Sentry Guns scene in “Aliens”.
Very cool atmosphere on that scene.
Can’t wait ’till Mondays class. MIT, here I come!
Good luck, kid. You’re gonna need it.
Good stuff right here.
Hmm, this should keep pigeons out of the barn!
How do you go about firing the gun with the pi?