Introduction: Arduino- Simple Wooden Crossbow

In the following pages I'll show you what you need to do in order to make a simple crossbow.

Step 1: STEP 01: Get Your Stuff Together!

For this project you'll need:

- 2 x 10K Resistor

- 2 x pushbuttons

- a servo motor

- arduino uno

- some cables

- wood

- some nails

- Large Cocktail sticks

- a few rubber bands

- a safe target

Step 2: Step 2: Start by Creating the Bow Itself.

On the image you'll see the building progress I did (got so excited for creating a crossbow that I forgot to take pictures, but you'll get the idea.)

1. Start by sawing a T Shape wood, you could add a fancy curve to it, as long as the horizontal part and vertical part are roughly the same size. Try and make it as symetrical as possible though, else your projectile will not fire that straight.

2. Saw some small pieces of wood, one of which will me about 4/5th of the lenght of the bow. two will need to be taller than the other piece is thick and the last one will be the one that you put your servo inbetween.

3. nail those pieces of wood together as shown above, make sure it's symetrical!! (!!!!!!)
I added 2 nails in the front of my crossbow to make sure my projectile flies more straight, I added another twoon the side of the gap where my servo will be, this so that the servo motor will stay on it's place.

4. (optional) I didn't take in acount that the wood I used was a lot thicker than the reach of my servo motor, I fixed this by adding a thin piece of wood in between the gap, to heighten my servo.

Step 3: STEP 3: Arduino

Connect your hardware as seen above!

add the script below and upload it to your arduino!

#include

const int buttonPin = 2;

const int buttonPin2 = 4;

int buttonState = 0;

int buttonState2 = 0;

Servo servoA;

int position = 0;

void setup() {

servoA.attach(9);

pinMode(buttonPin, INPUT);

pinMode(buttonPin2,INPUT);

}

void loop() {

buttonState = digitalRead(buttonPin);

buttonState2 = digitalRead(buttonPin2);

if(buttonState ==HIGH && position < 190){

servoA.write(position++);

delay(5);

}

if(buttonState2 == HIGH && position > 70){

servoA.write(position--);

delay(5);

}

}

Step 4: Step 4: Creating Your Projectiles!

Tape the pieces of wood together as seen above, notice how the tape makes two of the three sticks stick out abit more than the others, I did this because my crossbow became bigger that I anticipated at first.

you can experiment with the weight and shape of the projectiles by adding some more sticks to your bundle or increasing the gap them.

Step 5: Step 5: Slinging the Rubber!

tie two rubber bands together as shown above. Again, you can experiment with the design.

If you made a larger crossbow, you can tie 3 rubbers together.

Step 6: Step 6: Adding Everything Together

Tie your rubberband to your crossbow, place your servo safely between the gap (make sure it sits tight) and test it out!

Congratulations! You're now the owner of a crossbow! Have Fun!

Comments

author
DIY Hacks and How Tos made it! (author)2017-01-22

I have seen a lot of crossbows on the this site. But this has got to be the first one that is automatically controlled with an Arduino.

author
Nyarda made it! (author)Nyarda2017-01-23

It's my first project working with an Arduino, so I tried to make it something fun and simple! :D

About This Instructable

181views

1favorite

License:

More by Nyarda:Arduino- Simple Wooden Crossbow
Add instructable to: