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.
CreditsI Don’t Need It by Liam.M @liammmusic
Music provided by Free Music for Vlogs youtu.be/-2TVjuzOKfg
https://downloadthebear.com/2018/06/10/modify-and-control-a-mega-nerf-gun-with-arduino/
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.
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!
Comments