Automated NERF turret

Automatic NERF EBF-25 Turret

So, exams are finally over and I’ve had time to get playing with something again. Some friends bought me a NERF Vulcan for my birthday (cheers!) and of course I had to mod it up. The gun itself is now running off a 3-cell lipo pack, which about doubles the rate of fire, and has three ammo belts chained together to give 74 rounds in one continuous burst of fire.

Automatic NERF EBF-25 Turret

I then hooked up an Arduino and servo motor to a series of cabletied pencils, which can pull the trigger on command. The Arduino and a USB webcam then connect to a laptop which is running motion and a small python script which interfaces to the Arduino and plays sound clips from Portal turrets when motion is detected/no longer detected.

Automatic NERF EBF-25 Turret

The whole thing works very nicely, shooting down anyone who walks into my room with a rapid burst of darts, and terrifying them with the portal turret sounds.

Check out http://www.flickr.com/photos/randomskk/sets/72157624178093055/ for more photos!

I modified Principia Lab’s servo code from here and motion and Portal turret sounds from Valve’s Portal and the code below for controlling motion and the arduino and playing the sound files:

Ferret: High Altitude Balloon Tracker

I’m part of CU Spaceflight, and since we have clearance to launch high altitude balloons from a few nearby locations we often do launches for other people. A lot of the time these launches have a radio transmitter on board, so that people around the country can pick up its GPS position and help keep [...]

NIXIE Clock Case!

Hurrah! The laser cut acrylic for my NIXIE tube clock case arrived this morning, and amazingly all the parts fit together nicely. The screw holes even matched up with the PCBs! I’m pretty happy with how this turned out, and I can finally say the nixie clock project is finished. I definitely learned a lot [...]

Starting Robot4 aka Quad1: Prototyping Sensors

As briefly mentioned in my last post, my next project is an autonomous quadcopter. That is, a four-rotored flying robot. After a couple of weeks of waiting around, I’ve got all the parts I’ve ordered so far: a basic aluminium chasis from MikroKopter, four 1040Kv/14A brushless motors, four propellers, some 3000mAh 3S lipo batteries, and [...]

Robot3

I found an old RC car – the kind of thing you get for £5 from Argos – lying in my cupboard, mostly untouched since I got it as a birthday present. Still, it has wheels and motors, what more could you ask for? I proceeded to rip out all its electronics and battery contacts [...]

STM32 Prototyping Boards

I used an STM32 for the first time in Robot2, and soon discovered how cool they were. Each one is packed full of neat peripherals, runs really really fast and can do all sorts of cool stuff that simpler µCs like an ATmega simply can’t pull off. With this in mind, I asked ST for [...]

Nixie Clock

While I don’t consider the clock entirely finished, I think it’s been around for long enough to write up. Everyone has to make a nixie clock at some time, and as I had 12 IN-14 type tubes lying around for quite a while after ordering them from Russia, I decided I should go ahead and [...]

Robot2 – an ARM based colour tracking robot

(YouTube video) I’ve finally got around to writing up this project! What you see above is a small robot with a gooey ARM Cortex-M3 STM32 core, a teensy embedded camera from SparkFun, an OLED and an LCD screen, three LiPo batteries, some modified servos and a one-piece (unibody!) aluminium case. The robot uses the camera [...]

NIXIEs and Accelerometers

It’s been a while since I’ve posted anything, so I’ll drop a quick update. Hopefully by the end of the coming week I’ll have finished on my current great big time-consuming project and will be able to write that up. I’ve been playing with a few things besides that project, though. The first is stress [...]

Macro Goodness

Macro lenses are great fun for electronics: I’ve also nearly finished the current big, time consuming project that’s been stopping me from working on anything else – so expect a big post on it some time soon!