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:

11 Responses to “Automated NERF turret”

  1. [...] exams behind him [Adam Greig] had time to make a Nerf sentry gun. It’s actually quite easy to pull everything together. He’s got a netbook running [...]

  2. That’s really cool. Now, go clean up your room!

  3. [...] exams behind him [Adam Greig] had time to make a Nerf sentry gun. It’s actually quite easy to pull everything together. He’s got a netbook running [...]

  4. [...] exams behind him [Adam Greig] had time to make a Nerf sentry gun. It’s actually quite easy to pull everything together. He’s got a netbook running [...]

  5. That’s an excellent job! I built a similar turret last year. http://jeremyblum.com/2009/05/15/nerf-sentry-gun_be-afraid/

  6. Nice! I really like your system. I’m planning on redoing the triggering to replace the servo with an electronic system, but this way was fun and quick and easy.

  7. [...] files from Portal turrets when motion is detected or stops being detected.” Das Blogposting: Automated NERF turret und hier gehts zum Flickr-Set (woher das Zitat [...]

  8. [...] Greig from Negative Acknowledge has developed a nice Nerf Sentry Gun, he used the NERF Vulcan which was the same gun I was thinking of using for my Nerf Gun project [...]

  9. [...] Greig from Negative Acknowledge has developed a nice Nerf Sentry Gun, he used the NERF Vulcan which was the same gun I was thinking of using for my Nerf Gun project [...]

  10. what OS were you running on the laptop? I’m trying to setup a similar project but i’m having problems

  11. The laptop was running Ubuntu linux.

Leave a Reply