3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Das Uber Airsoft Gun Turret

Das Uber Airsoft Gun Turret
This Instructable will show you how to Design, Build and Trouble Shoot an Airsoft Gun Turret with a USB interface. The turret can be toggled between Manual Mode, where a Human interfaces with it using an Xbox 360 Controller, or Automatic Detect and Fire Mode, where the turret springs to life and detects any human presence in its surroundings. Firing at Humans is not advised.

A Special Thanks to Colin. For helping me with the WebCam calibration concept way back when.

Visit my blog, for all other details not contained in this instructable.

Update: HACK-A-DAY Post checking out the turret. Very flattered from these guys words.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Get an "Electronic" Airsoft BB Gun. And Slice it open.


If you are in the U.S. Say just as the title says, go to any Department Store and buy one.

Look for guns that look easy to cut or to take apart.

After you've got your gun, open it up (follow this guide).

As you can see, it is very simple. If you power the motor, you fire the pistol. Before you hack it open you do this by closing the circuit by pushing a switch with your finger as you pull the trigger. But there are many, many ways to close an electric circuit, and you can get very creative. In this project we are going to use Relays to do that.

If you are not in the U.S, this may take some doing.

I am obviously not in the U.S. but I got Lucky. A friend of mine gave me his.

'(Gracias Pinche Bronzon!! Ahi esta el Robot que te dije que iba a hacer con tu Pistola.)'

If you are in Mexico: 'jalense a los bazares o a los mercados y busquen a la gente que vende cuchillos y pistolas tipo militar. las tiendas de chucherias afuera de los super mercados (Soriana y la Comer y demas) a veces las tienen. De ultimas, preguntenle a algun amigo que le gusten las gotchas si tiene una o sabe donde comprarla. En Mexico es comun que vendan gotchas y Airsoft Guns en las mismas tiendas.'
« Previous StepDownload PDFView All StepsNext Step »
94 comments
1-40 of 94next »
Jun 6, 2011. 5:22 PMGeckoLink says:
can it be controlled without needing a computer on-site?
Feb 19, 2011. 8:02 AMPyroBuilder15 says:
I will probably make this, for ultimate backyard supremacy, but with a stronger gun, prob a G&G ABS M4-A1. But really cool build anyway.
Nov 29, 2009. 7:56 PMbighead5454 says:
hey hook this up to a simple selfmade rc car being controlled by a friend and use the turret while it is gion through ur enemys house
Mar 20, 2010. 7:44 AMCadillachearseguy says:

resistance is futile....

Aug 4, 2010. 10:24 PMmking2012 says:
Nice!! Do you think it would be possible to make a version of this that looks, sounds and talks like the turrets from Portal?
Aug 4, 2010. 12:00 PMTheInventor1997 says:
can you do one on a mac?
Jul 16, 2010. 8:33 AMChowmix12 says:
Can i use micro servos for the X and Y axis? Im pretty sure i can because the bearings take off most of the weight.
May 17, 2010. 7:27 PMpyrocord says:
 I am building an exoskeleton to mount airsoft guns on as "armor". Could this be mounted on a shoulder of an armor suit made of sheet metal? If so, how much does it weigh?
Sep 3, 2009. 6:38 PMsillyplatapus says:
could you make a vid or something :))
Sep 3, 2009. 6:37 PMsillyplatapus says:
this confuses me ? :o
Aug 26, 2009. 5:06 AMdonalexander says:
Hey mate nice invention, I think you will be keen to see this paint ball one, let me know what you think and what software they are using?
Aug 8, 2009. 5:57 AMtkezic says:
hi mate, can i get the software in vb 6? and the one that has the auto fire? cheers
Aug 11, 2009. 2:45 AMtkezic says:
hi thanks for the quick reply. yes i am using phidgets, a polulu servo controller which i can program. would i be able to harrass you for a copy of the code anyway? cheers
Aug 12, 2009. 11:54 PMtkezic says:
cheers. I have looked and looked and all i could find was the c# and i get lost within minutes of trying to figure out how to use it. i am very good with vb6, and found motion detecting software, but it gives me lots of boxes, say pic height = 50 boxes which is good for sensitivity, but the servo tries to go back and forth to all the boxes, i cant seem to get an average or centre of the x and y value. here is my code. could you help with any suggestions? thankyou so much.

Sub GetMotion()

Static Counter As Single 'counter
BoxesX = 50 'from 1 to 50 50 default on x and y
BoxesY = 50 'from 1 to 50
AveragePixelLoop = 30 'from 1 to 250 30 default

For Px = 0 To (MotionPic.Width) Step Int(MotionPic.Width / BoxesX)
For Py = 0 To (MotionPic.Height) Step Int(MotionPic.Height / BoxesY)

pixx = Fix(Px / (MotionPic.Width / BoxesX))
pixy = Fix(Py / (MotionPic.Height / BoxesY))
For Repeat = 0 To 5 ' default is 5
ColorSumStr = Right$("000000" + Hex(GetPixel(MotionPic.hdc, Px + Repeat, Py + Repeat)), 6)
ColorRedStr = Mid$(ColorSumStr, 5, 2)
ColorGreenStr = Mid$(ColorSumStr, 3, 2)
ColorBlueStr = Mid$(ColorSumStr, 1, 2)
ColorRedDec = Val("&H" + ColorRedStr)
ColorGreenDec = Val("&H" + ColorGreenStr)
ColorBlueDec = Val("&H" + ColorBlueStr)
AveragePixel(Repeat) = ColorRedDec + ColorGreenDec + ColorBlueDec
Next

Counter = Counter + 1
If Counter = AveragePixelLoop Then Counter = 1

mdSample(pixx, pixy, 0) = 0
mdSample(pixx, pixy, Counter) = 0
For Repeat = 0 To 5
mdSample(pixx, pixy, 0) = mdSample(pixx, pixy, 0) + AveragePixel(Repeat)
mdSample(pixx, pixy, Counter) = mdSample(pixx, pixy, 0) + AveragePixel(Repeat)
Next

AverageSum = 0
For Repeat = 1 To AveragePixelLoop
AverageSum = AverageSum + mdSample(pixx, pixy, Repeat)
Next
AverageSum = AverageSum / AveragePixelLoop

'preveri pro~enje motion-a
If Abs(mdSample(pixx, pixy, 0) - AverageSum) > mdTriger Then
MotionPic.Line (Px - 4, Py - 4)-Step((MotionPic.Width / BoxesX) - 4, (MotionPic.Height / BoxesY) - 4), , B

If pixx = 0 Then Label2.Caption = 84 Else Label2.Caption = (pixx * 5)
If pixy = 0 Then Label3.Caption = 84 Else Label3.Caption = (pixy * 3) '(MotionPic.Height / 2)
Label9.Caption = MotionPic.Height

MSComm1.Output = Chr$(255)
MSComm1.Output = Chr$(8)
MSComm1.Output = Chr$(Label2.Caption)
MSComm1.Output = Chr$(85) 'Terminate and Update

MSComm1.Output = Chr$(255)
MSComm1.Output = Chr$(9)
MSComm1.Output = Chr$(Label3.Caption)
MSComm1.Output = Chr$(85) 'Terminate and Update

Aug 14, 2009. 1:31 AMtkezic says:
thankyou very much, i will try it out and let you know. your help is much appreciated. thankyou
Aug 12, 2009. 5:11 PMgeekazoid says:
lol i don't speak spanish or live in mexico, but i still firgured out wat it meant.. lol dictionary (i guess i go a bit overboard)
Jul 27, 2009. 8:12 AMqwertyman10 says:
2 things that would make this machine even more awesome: 1. support with bluetooth or peer to peer wifi so it could be used with smartphones or mini laptops in the heat of battle up to 100 feet away, and 2. a set of wheels and some motors to make it portable. Awesome invention!
Jul 27, 2009. 8:06 AMqwertyman10 says:
that looks like a multi-thousand dollar investment.. awesome! i could take down both my brothers and both their friends with that! that thing looks so cool.
May 18, 2009. 10:40 PMmarcos101 says:
lol I want to see some one do this with a paintball gun. _
May 7, 2009. 9:19 AMDdog196 says:
It would be bad if you can have like three of these and plant them somewhere around in the woods (if you're playing airsoft) and being able to control each one seperately and use them to take out random targets.
Apr 7, 2009. 6:12 PMcoin11291995 says:
how did you come up with this? that seems a little complicated for playing around with useless junk.
Feb 4, 2009. 9:36 AMkerneykid1 says:
thats cool. really.
Aug 26, 2008. 12:40 AMLylec says:
Miltron, I am sure I am missing it, but you mention an auto mode in the intro. but i cant find a description of the aiming process etc. Any stats on its accuracy? In my part of the world, just being able to paint a guy up with a Laser dot will get him running
1-40 of 94next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
10
Followers
3
Author:Miltron_B
I'm currently doing my studies in the institute of tecnology for superior education from monterrey (a.k.a ITESM), in M??xico. I just took a course in Automotive Electronics in Stutgartt, Germany.