What is the best thing about making a computer program that targets and kills anything that enters its sight? Why giving it a weapon, of course! No, we are not talking for real, but the next best thing, an Autonomous Paintball Sentry Gun.
The autonomous part of the device comes from a pc on the sideline and is fed input though a standard webcam. The feed is ran though a processing script where, once accustomed to the background has the option to fire at anything it sees moving, or a nice point n click manual mode.
The Arduino part is in a the role of driving the servo motors for X/Y movement and a trigger and is powered by a fist full of D cell batteries to give plenty of time for fun. Also, be sure to check out our other sentry guns, one using Microchip PIC, and another sporting a super compact computer running Ubuntu
24 thoughts on “Autonomous Paintball Sentry Gun”
So if you want to live, find some portable trees.
(Gun shown is Airsoft. not available in all areas. please wait before swimming. may contain nuts.)
After reading the headline my first thought was, “sigh… another one?”
wow Barefoot, you have been here for a while!
Thank you for pointing that out because this article only links to those posts and you didnt comment on them..
I myself love when they show different ways of doing something
After reading the headline my first thought was, “Cool another one!”
I really wish someone sould make these with real servos instead of the toys from a hobby shop. you should be able to target and aim in less than 1/50th of a second.
Please someone that has access to real servos and a CNC shop make a nice real sentry… please!
Bonus points if you use an IR beacon to do IFF
Seems like a rechargeable motorcycle battery would be a better power source than a bunch of D-cells. Unless of course it’s meant to be a static system — I don’t see many people dragging their laptops out to the paintball field. In that case just use an AC adapter.
That one a while back that had the laptop, turret, and power supply all mounted in a briefcase that you could just drop, open and set up in seconds — that was way cooler IMO.
if it was a real gun i would be impressed. they could make arduino and ubuntu team up to kill anything that moves.
this was a triumph. i’m making a note here: huge success.
@snipplet: here are your links for past “sentry” projects on HaD. Perhaps I should have included them to back up my “sigh” comment. Maybe it would have been better received if I added something snarky about using an arduino?
@kdkk it looks like it could be converted to use a real gun in a few minutes — it’s just a servo pulling a trigger. Put a semiautomatic rifle in there instead and you’ve got an extremely dangerous, deadly and illegal device.
What image processing algorithm(s) did you use? How hard was it to learn? I’m a computer engineer myself so the hardware part of this is pretty neat but I’d like to get into image processing.
I’d like to see one of these made into an anti-vandalism/tagger gun. Add some sensors to activate the system when it smells aerosol paint, target the tagger and paint them.
@loulinkj7 If he wrote his own algorithms I’m completely amazed — I’ll bet it’s just an implementation of the well-established stuff in OpenCV. Look into that if you want to get started…there are versions of it for everything from C to ActionScript and it does most of the image processing automatically.
I’ve checked out all of the different sentry projects and found that http://www.thesentryproject.com/ is by far the best so far.
does it go for the headshot? it should go for the nut-shot so you don’t need eye protection.
Where’s the homemade sapper to go with it?
Are you still there?
@brad: My thoughts exactly.
I love these projects, it makes me want to setup a bunch of 22mm semi automatic rifles or the like. Thats some nice Anti-Zombie technology right there, add some solar panels for self recharging and Wifi with a Cantenna. Oh yeah I’m feeling safer just thinking about it.
Same post, different day, and that’s an AIRSOFT gun – Your standard idiot can look at the picture and tell you that.
I agree that the one on thesentryproject is good compared to all the others but.. The kit cost $550. The kit includes about $15 iron pipe and $20 in cheap servos and free open source software. In the 5 minute video there was only about 4 or 5 strikes on the target at a distance of more than 30 feet and those 4 or 5 strikes were after emptying a 100 round hopper about 5 times. Less than %1 accuracy. The white goomba face stayed white almost the whole video.
It would be nice to see somebody with CNC building experience do a project like this. If there’s one thing machinists know it’s rigidity. That mixed with a little Speed-Direction predicting algorithm would be king.
the one from RealSentryGun.com is by far the best out there IMHO.
I am trying to figure this all out and wanted to build the shield (older) version due to the fact thats what i have parts for and wouldnt have to figure out getting a custom PCB built and tested. Problem is the instructables for the version I want contains what appears to be links to actual scripts for the Arduino and the Processing script for the computer, they link to general pages at the respective sites but no code anywhere, ditto for the libraries listed to use with the processing IDE. can any one possibly provide me with the code needed to make this thing really work? I am not familiar enough with the software used to have any luck writingt my own. Any help much welcomed thanks.
Please be kind and respectful to help make the comments section excellent. (Comment Policy)