Introduction: Toothpick Shooter

These are complete instructions for making a toothpick shooter. A DC motor and a wheel is used for the firing mechanism, the servo is used for automatic reloading and as the name suggests toothpicks are used as bullets

Supplies

For creating base-

Marker
Ruler
Set Square
Sun Board
Cutter
Superglue


Making firing mechanism and magazine -


DC motors
Battery Holder

18650 Rechargeable Battery

Double-Sided Tape

Wires
Soldering kit
Heat shrink
Switch
Sun Board
Glue gun
Wheel

Making reloading mechanism
3D printed parts
-Bracket
-Gear
-Pusher

-Magazine
Servo
Wires
ESP 32

Micro USB Cable ( Data Cable)
Toothpick
Superglue

Bullets-
Toothpick

Step 1: Make the Firing Mechanism and Base

-Take Sunboard and mark the dimensions as specified in the figure with the help of a marker, Ruler, and Set square (to make perpendicular lines)

-Use a Cutter to cut the pieces

-Take the base and mark an axis along the length ( for Reference )

-Insert the DC Motor in the hole and fix it using the hot glue gun.

-Attach the wheel
-Mount the board with the motor on the base using super glue such that the wheel is aligned with the reference axis

-Use small triangular pieces of sunboard to reinforce the vertical board

- Make the connections for the motor, battery, holder and switch

Step 2: Print 3 D Parts

Use the above files to print the parts

Step 3: Assemble Everything

-Take the 3D printed part and fix it to the base.

- Place the magazine just before the wheel using super glue such it is on the reference axis and the groove is facing the base

- Fix a toothpick at pusher such 3 cm of the toothpick is projecting outwards

- Mount the gear on the servo motor using super glue

- Insert the pusher in the bracket

- Attach servo on the bracket using screws or super glue

- Fix the brackets using super glue such that the toothpick is on the reference axis

Step 4: Code the ESP32 and Attach Servo to It

- Use Micro USB Cable to upload the following code -

#include <Servo.h>

Servo servo_2;

void setup()

{

servo_2.attach(4);

}

void loop() {

servo_2.write(180);

delay(2000);

servo_2.write(0);

delay(2000);

}

- Make the following connections

Servo's signal wire to Pin 4 of ESP32

Servo's live wire to 3V3 ESP 32

Servo's Ground wire to GND pin of Arduino

- Fix the Arduino on the base using double-sided tape

Step 5: Test the Gun

- Load the magazine with toothpicks

- Use A to B cable to power the Arduino

- Turn the switch ON