Full-Auto 3D-Printed Brushless Nerf Blaster Arduino Control

This project is an Arduino-controlled, 3D-printed functional Nerf replica of the Kang Tao Gun from the upcoming video game Cyberpunk 2077.

Oct 14, 2019

30406 views

35 respects

Components and supplies

2

Brushless DC Motor

1

Resistor 220 ohm

1

Arduino Nano Every

1

Lipo Battery 3S 11.1-12.6V 1300mAh 25C

2

1N4007 – High Voltage, High Current Rated Diode

1

Through Hole Resistor, 150 ohm

2

Microswitch, Miniature

1

Through Hole Resistor, 4.7 kohm

2

Brushless ESC

1

Capacitor 100 µF

1

Linear Solenoid, 12 VDC

1

Resistor 10k ohm

1

Capacitor 100 nF

1

Power MOSFET N-Channel

Tools and machines

1

3D Printer (generic)

Project description

Code

Nerf Blaster Brushless Motor & Solenoid Arduino Code - Clark3DPR

arduino

1. When Arduino is powered on via the safety switch, it runs the arming sequence for the brushless ESC's. My ESC's take 3.7secs (3700 in the code). You may have to increase this value up to 10000 (10secs) depending on your own ESC to get it to exit safe mode. 2. Hold secondary microswitch to rev flywheels, then press or hold primary microswitch to fire. 2. Change throttle.write(92) to increase/decrease motor idling speed or turn them off. By default motors will spin at low speed to decrease spin up time. (Value depends on your motor / ESC) Change throttle.write(97) to change motor top speed and dart velocity. (Value depends on your motor / ESC) Change delay(90) and delay(100) to increase/decrease fire rate of solenoid. 4. When Microswitch is released, ESC PWM signal for flywheels & signal to MOSET gate for solenoid stops spinning/activating. 5. When ESC's lose signal from Arduino (when safety switch is on and Arduino powered off), the ESC's revert to safe mode and turn off motors.

Downloadable files

System Schematic - Clark3DPR

This is how it is all wired up. Pay close attention to diode and capacitor polarities. Drawn with AutoCAD.

System Schematic - Clark3DPR

System Schematic - Clark3DPR

This is how it is all wired up. Pay close attention to diode and capacitor polarities. Drawn with AutoCAD.

System Schematic - Clark3DPR

Comments

Only logged in users can leave comments

Clark3DPR

0 Followers

0 Projects

Table of contents

Intro

35

0