A Microcontroller Contest Finalist and Runner Up Winner.
This instructable is out-of-date. For the most recent version of the tutorial, see the website . Cheers!
This sentry gun autonomously tracks, aims, and shoots at targets, using:
-An airsoft or paintball gun
-A webcam to find targets
-A computer to process the video feed and aim the gun
-Servo motors to physically aim the gun and squeeze the trigger
-A sturdy tripod base
-A microcontroller to interface between the computer and the servo motors
-Lots of camo paint
The end result is a paintball/airsoft spewing robot, that can turn the tides of any match.
Video if it in action here .
Want to build your own?
You're in luck! All the help and information you will need is here, and the software is free and open-source. Lots of people have already used this system in their own sentry guns, with successful results.
So go ahead, make your own, and soon your own backyard will be no-man's land, too!
P.S. take pictures during the project, and when you are finished, send me a picture, and a description of your project, and I will feature it on the Successful Projects page of my website. Thanks!
Remove these ads by
Signing UpStep 1: Parts List
$30 Webcam
$25 Arduino (or equivalent)
$27 3 Servo motors (pan, tilt, trigger) $9 ea.
$10 Assorted screws, nuts and bolts
$9 Wood/metal for construction
$5 USB A to B cable
$2 Some 22 gauge solid wire
$2 Servo battery box
$110 TOTAL
Also, you will need a laptop or computer to run the sentry gun program. $250 for a cheap netbook, if you don't have anything else...










































Visit Our Store »
Go Pro Today »




I am a beginner in these things, I want to know that how u have managed to pull the trigger of the gun as soon as it sense something ? is it something to change with the mechanical design or what, How have u taken that as input to the board? I will be obliged to you for the answer
Thanks
I am a beginner in making these things, one thing that i want to know is how u have manged to pull the trigger automatically as soon as the target is detected ? is there any mechanical alteration that is actually doing it or what ? i will obliged if you can answer to clear me
Thanks
"unsatisfiedlinkerror: C:\users\owener\documents\processing\libraries\jmyron\library\jmyron.dll: cant find dependent libraries "
why is this?
Is there anyway to reverse the direction of the of the servos through the code.
thanx
Cheers,
-Bob
Seriously, amazing.
link: http://www.youtube.com/sentrygun53
cheers
Seriously though i'm impressed :)
Thaks and sorry for the grammar
Yes, you can control the turret using a joystick (plugged into the computer). It will require a few small code changes, put it has been done before.
good luck,
-Bob
Cheers,
-Bob