Modify and control a mega Nerf gun with Arduino

Intro

What’s going on and welcome! Michael T here. I have a quick tip bit for you on how to modify and control a mega Nerf gun.

Video

Credits

I Don’t Need It by Liam.M @liammmusic

Music provided by Free Music for Vlogs youtu.be/-2TVjuzOKfg

First we need to get a Mega Nerf gun.

I got this one from local Walmart for about 5 bucks Next, take out these 8 screws and note one of them is fake. Take out the ones on top and follow by the bottom ones. The shell of the gun should just separate easily. Like the final minute of a bad tinder date.

For the real meat, we have the real the gun. The outside is for looking cool and what important is the inside. Next you want to thread through the trigger of gun. Then we can pull on it from the end of the barrel. We need to snip off the shell to let the cable pass through. And leave of some space for the trigger. Now, close her backup and give it a tug at the end.

We can still preserve the benefit of using it as a regular Nerf gun. Next you want to 3D print this servo mount adaptor, it can also be mounted to the end of the Nerf gun. I will link the STL file down below.

Preview 1

STL file

Thread the servo horn through the cable and tide a knot at the end. Mount the servo to the adaptor and it should look something like this. Upload a simple firing program to the Arduino. Connect the servo to 3v and the signal wire to pin 3.

#include <Servo.h>

Servo servo;


void setup() {

  Serial.begin(115200);
  servo.attach(3);
}

void loop() {

  Serial.println(servol.read());
  servo.write(115);
  delay(5000);
  servo.write(60);
  while (true) {}
}

Power up everything!

Hopefully it will give you some inspirations on adding Nerf gun to your next project. As always, see you next week with Michael!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: