element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Freedom development platform
  • Products
  • Dev Tools
  • Freedom development platform
  • More
  • Cancel
Freedom development platform
Blog [FRDM-K64F - mbed] Project: Nerf Hack
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freedom development platform to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: bheemarao
  • Date Created: 28 Jul 2014 5:03 AM Date Created
  • Views 695 views
  • Likes 0 likes
  • Comments 0 comments
  • freescale
  • kinetis
  • freedom
  • nerf
Related
Recommended

[FRDM-K64F - mbed] Project: Nerf Hack

bheemarao
bheemarao
28 Jul 2014

“ This tutorial was extracted from John McLellan blog https://community.freescale.com/people/johnmc/content with his agreement.”


I am still working on this document. I wanted to at least have SOMETHING posted for the Maker Faire Bay Area.  I will work the days following to make it more pretty and complete!

Your patience is appreciated.  Please feel free to add constructive comments of things to better explain/photo/diagram!


This was a super fun project to work on and is popular around the office and on the road.  Now I have two of these for a truely amazing barrage of Nerf darts!  It's also always a lot of fun to tear things down and the Nerf gun had some cool plastic work and the shooting mechanism is more simple than what I originally guess.  But I digress, this post is about how you can build one of these yourself.  Please leave any questions or comments in the section below and I will try to answer and make refinements to this guide as we go.


Say hello to my little friend.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image


The shopping list (aka Bill of Materials or BOM)


If you shop around you might be able to find better prices or substitute parts.

 

TypePartQtyPriceURL
UBECHKU51$             5.33http://www.hobbyking.com/hobbyking/store/__16663__HobbyKing_HKU5_5V_5A_UBEC.html
LiPoTURNIGY 2200mAh 3S 20C1$             7.89http://www.hobbyking.com/hobbyking/store/__8932__Turnigy_2200mAh_3S_20C_Lipo_Pack.html
ServoS5030DX1$           28.63http://www.hobbyking.com/hobbyking/store/__18862__Hobbyking_S5030DX_Digital_MG_Servo_X_Large_HV_164g_0_20s_30kg.html
ServoHK151381$             3.12http://www.hobbyking.com/hobbyking/store/__16269__HK15138_Standard_Analog_Servo_38g_4_3kg_0_17s.html
Relay PCBCOM-110411$             3.95https://www.sparkfun.com/products/11041
Relay ComponentsVarious1$             3.00https://www.sparkfun.com/wish_lists/36307
Nerf GunNerf Dart Tag Swarmfire Blaster1$           44.99http://www.toysrus.com/product/index.jsp?productId=11267568
ControllerFRDM-KL64F1$           12.95http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-K64F
Radio ModuleNRF24L012$             3.00http://www.dx.com/p/2-4ghz-nrf24l01-wireless-module-black-142224#.U8VIcpRdU1I
Servo ArmDouble Servo Arm X-Long1$             3.20http://www.hobbyking.com/hobbyking/store/__19468__CNC_Alloy_Double_Servo_Arm_X_Long_Futaba_.html
Servo ArmHeavy Duty Alloy Arm1$             5.63http://www.hobbyking.com/hobbyking/store/__18350__Heavy_Duty_Alloy_1in_Servo_Arm_Futaba_Red_.html
Servo LinkageAlloy Pushrod with Ball-Link 65mm1$             2.10http://www.hobbyking.com/hobbyking/store/__25834__Alloy_Pushrod_with_Ball_Link_65mm.html
Lazy SusanShepherd 6 in. Lazy-Susan Turntable1$             4.49http://www.homedepot.com/p/Shepherd-6-in-Lazy-Susan-Turntable-9548/100180572#.UYk5UqLql8E
Metal Rod3/8 in. x 36 in. Zinc Threaded Rod1$             2.87http://www.homedepot.com/p/3-8-in-x-36-in-Zinc-Threaded-Rod-17340/202183465#.UYk5pqLql8E
Frame1/2 MDF 2ftx4ft1$           10.45http://www.homedepot.com/p/1-2-in-x-2-ft-x-4-ft-Medium-Density-Fiberboard-Handy-Panel-1508108/202089097?N=btn1#.UYk6CqLql8E

 

The build

 

Two main pieces to construct in this phase.  The base turret and the actual hacking of the Nerf gun.

 

All your base..


The base of the turret is pretty rudimentary, lot's of room for improvement here.  I used 1/2 MDF and some carpentry skills.  Here is an instructable on how to build a MDF box.  Atop the box is a lazy susan (ball bearing ring) so that the top-plate can rotate smoothly.  We considered leaving this element out, but worried that it would put to much strain on the servo.

 

On the subject of servos, a few tidbits of wisdom for you as you build this thing.  First, the left/right servo needs to be dead center of the lazy susan, if your off too much things will start to bind which is not good for your servo.  Second, I used large higher torque servos which cost a bit more, they might be overkill, but it certainly performs well.

 

I did a quick dimensionally accurate rendering of the design in Sketchup. Files are here.

 

 

Hacking the Nerf

 

Now for the fun stuff.

 

There is no shortage of screws with this Nerf Gun.  So get out your Phillips screwdriver and go to town.

Disassembly.jpg


There are two electrical systems in the Nerf that we are going to tap into.  One is the power switch and the other is the electrical trigger.

This is the electrical trigger.  The trigger goes to our relay, which is either on or off.  We did try at first to use a 7.2V R/C car battery, but the Nerf draws too much power and didn't fire.  Going up to a 11.1V LiPo fixed that right up.


trigger_hack.jpg

This is the power switch.


power_switch_hack.jpg


In Nerfinator 1.0 everything was hardwired together, which prevented us from completely pulling the Nerf from the base and made repairs difficult to say the least.  Nerfinator 2.0 we put this handy connector which allowed us to completely and easily remove the Nerf from the base.  Shipping this thing around the country will take a toll on it!  On that subject, Nerf 1.0, stopped cycling to the next position for us at the Austin Mini Maker Faire.  After a through inspection of the operational mechanics inside the Nerf (really cool BTW) it was a little bitty spring that was causing the piston not to fully retract.  We replaced the spring with 1/2 a ballpoint pin spring and to our surprise it all worked again.


IMG_20140512_105908_384.jpg


Electrical Connection Diagram

 

<updating>

 


Code

 

Mbed was the programming tool of choice for this build.

 

Receive Side (RX) - The receiver is the base side.  This one takes input from the remote and controls the servo movement.

NerfGun_nRF24L01P_RX - a mercurial repository | mbed


Transmit Side (TX) - The transmitter is the remote side.  This one senses the users movement (accelerometer) and sends that data to the base station.


NerfGun_nRF24L01P_TX - a mercurial repository | mbed

 

Finishing Touches

 

In the first passes of this build we just used a bare development board as the remote control.  We found that when given the remote they would not orientate it properly,


so Freedom- 3D Printed Controller files on Thingiverse

 

Development Team


John Mclellan - Amplification/Motivation


Clark Jarvis - Software/Hardware


Iain Galloway and Angus Galloway - Design and print of controller

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube