To put it plainly, we hate them. And I think we can all agree the best way to deal with something you hate is to shoot it with a bunch of nerf darts.
This project was loosely based on an existing nerf turret instructible made for the Vulcan chain-fed nerf gun, which was in turn based off another tutorial for a paintball gun turret. However, given that the Vulcan dropped out of circulation a while ago and now goes on Amazon for a whopping $400 (and also given that reviews of the gun were never very good anyway) we figured we'd go with a different model for our sentry.
Obviously electric was a must, and flywheels that we could power up, but we were also attracted to the idea of visual intimidation. So we went ahead with the off-brand AirZone Quickfire Gatling Blaster, which has a great big rotating gatling barrel. Not the best reviewed, mostly due to the darts holding poorly in the gun chain, but since we're planning to build a box for them anyway this wasn't a big issue.
prepped for dissection
We had 4 objectives for this gun:
- Get Arduino control over the internal motors for the flywheels, gatling barrel, and firing mechanism
- Up the voltage on them up so the gun is more powerful
- Set up a camera to do automatic facial tracking
- Set up the turret to let the gun aim both vertically and horizontally
This first post will focus on the gun internals, while upcoming ones will focus on the software, tracking, and turret mount.
Taking the gun apart ended up being more tricky than we anticipated. The gatling end has a ring that kind of holds stuff together, and even once we took it apart the entire front end of the gun was still adhering a bit. Rather than force it and risk the delicate clockwork around the flywheels being disturbed, we opted to simply dremel off the back of the gun to access the electronics - there was nothing we needed to get to in the front of the gun anyway, so why risk it?
Alex uses a dremel tool to cut the paneling off
Once we got the panel off, you can see all the internal circuitry of the gun, including another box which turned out to be a motor casing.
Once you take that out you can see the wire and switch assembly driven by the trigger that dictates which motors in the gun are on at which times.
We actually opened up this motor casing, but immediately regretted it - it's simply a bunch of lubricated gearing, which is awfully easy to break and awfully hard to put back together correctly. Luckily we got it to fit back together with some coaxing but after that we just left it aside.
The trigger assembly was an entertaining puzzle. It turns out there are several inputs to the gun. One is not trigger related, but is actually a switch in the loading mechanism (not shown) which detects whether ammunition has been added. The others are all here in the trigger. When the first switch is released, the barrel starts rotating, whereas when the others are pressed, they begin the flywheels and firing mechanism, respectively. It's a good way of making sure everything starts in the right order without needing any real electronics.
Of course, we don't really care about how it's done with the trigger, since we just need to access it with an Arduino. So we went ahead and disabled the trigger, porting all the wires out the bottom of the gun with some documentation as to what does what.
The power is pretty useless since we'll just be attaching it to the Arduino motor drivers we bought a while back, but at least we know it's 9V as a reference. We'll probably be upping it to 12 volts to give the gun a little extra kick and inspire greater terror amongst those pesky grads.
Next up is getting the whole thing running in software. See you then.